Name        : mldonkey                     Relocations: (not relocatable)
Version     : 2.6.7                             Vendor: Penguin Liberation Front
Release     : 1plf                          Build Date: Wed 02 Nov 2005 
03:27:40 PM CET
Install Date: (not installed)               Build Host: kone
Group       : System/Servers                Source RPM: (none)
Size        : 2785160      License: GPL
Signature   : (none)
Packager    : Anssi Hannula <[EMAIL PROTECTED]>
URL         : http://www.nongnu.org/mldonkey
Summary     : Door to the 'donkey' network
Description :
MLDonkey is a door to the 'donkey' network, a decentralized network used to
exchange big files on the Internet. It is written in a wonderful language,
called Objective-Caml, and present most features of the basic Windows donkey
client, plus some more:
  - It should work on most UNIX-compatible platforms.
  - You can remotely command your client, either by telnet, on a WEB browser,
    or with the GTK interface.
  - You can connect to several servers, and each search will query all the
     connected servers.
  - You can select mp3s by bitrates in queries (useful ?).
  - You can select the name of a downloaded file before moving it to your
    incoming directory.
  - You can have several queries in the graphical user interface at the same
     time.
  - You can remember your old queries results in the command-line interface.
  - You can search in the history of all files you have seen on the network.

It can also access other peer-to-peer networks:
- Direct Connect
- Open Napster
- Gnutella LimeWire
- Soulseek
- Audio Galaxy
- OpenFT
- Overnet
- Bittorent
- FileTP

This package is in PLF because it contains a P2P software.

---------------
Anssi Hannula <[EMAIL PROTECTED]> 2.6.7-1plf
- upgrade to 2.6.7 (bug #33)
- patch3: disable build errors for unused variables
- fix %_libdir in scripts (bug #69)
- quiet %setup
- drop patch2, upstream
- BuildRequires libgtk+2-devel librsvg-devel ocaml-lablgtk2-devel libgd-devel
---------------

---------------
Index: mldonkey.spec
===================================================================
RCS file: /home/projects/plf/cvs/SPECS/free/mldonkey/mldonkey.spec,v
retrieving revision 1.35
diff -u -r1.35 mldonkey.spec
--- mldonkey.spec       12 Jan 2005 15:06:52 -0000      1.35
+++ mldonkey.spec       2 Nov 2005 14:33:38 -0000
@@ -1,8 +1,11 @@
 %define name   mldonkey
 %define Name   Mldonkey
 %define summary        Door to the 'donkey' network
-%define version        2.5.28
-%define release 5plf
+%define version        2.6.7
+%define rel    1
+
+%define release %mkrel %rel
+%define distsuffix plf
 
 Name:          %{name}
 Version:       %{version}
@@ -11,7 +14,7 @@
 License:       GPL
 Patch0:                %{name}_command.patch.bz2
 Patch1:                %{name}_submit.patch.bz2
-Patch2:                %{name}_spiralvoice_patchpack_28m.bz2
+Patch3:                mldonkey-2.5.30.17-no-unused-errors.patch.bz2
 Source0:       %{name}-%{version}.tar.bz2
 Source1:       %{name}-icon-16.png
 Source2:       %{name}-icon-32.png
@@ -28,10 +31,12 @@
 Group:         System/Servers
 BuildRoot:     %{_tmppath}/%{name}-buildroot
 BuildRequires:  ocaml >= 3.08
-BuildRequires: ocaml-lablgtk
 BuildRequires: camlp4
-BuildRequires: libgtk+-devel
 BuildRequires: libncurses-devel
+BuildRequires: libgd-devel
+BuildRequires: libgtk+2-devel
+BuildRequires: librsvg-devel
+BuildRequires: ocaml-lablgtk2-devel
 Epoch:         1
 Requires:      nc
 
@@ -126,14 +131,15 @@
 
 %prep
 rm -rf $RPM_BUILD_ROOT
-%setup 
+%setup -q
 %patch0
 %patch1
-%patch2
+%patch3 -p1
 
 %build
 ( cd config; autoconf )
-%configure --enable-pthread
+%configure2_5x --enable-gui
+
 %make
 %make use_tags
 
@@ -146,9 +152,6 @@
 install -d -m 755 %{buildroot}%{_bindir}
 install -d -m 755 %{buildroot}%{_libdir}/%{name}
 install -m 755 %{SOURCE7} %{buildroot}%{_bindir}/mlnet
-%ifarch amd64
-perl -i -pe 's|/lib/|/lib64/|g' %{buildroot}%{_bindir}/mlnet
-%endif
 install -m 755 mlnet %{buildroot}%{_libdir}/%{name}/mlnet
 install -m 755 use_tags %{buildroot}%{_libdir}/%{name}/use_tags
 install -m 755 distrib/mldonkey_command %{buildroot}%{_bindir}/mldonkey_command
@@ -163,10 +166,6 @@
 install -m 755 mlguistarter %{buildroot}%{_libdir}/%{name}/mlguistarter
 install -m 755 distrib/mldonkey_previewer 
%{buildroot}%{_bindir}/mldonkey_previewer
 install -m 755 %{SOURCE10} %{buildroot}%{_bindir}/mlgui
-%ifarch amd64
-perl -i -pe 's|/lib/|/lib64/|g' %{buildroot}%{_bindir}/mlgui
-%endif
-
 
 # chat
 install -m 755  mlchat %{buildroot}%{_bindir}/mlchat
@@ -197,6 +196,12 @@
 install -m 755 %{SOURCE9} %{buildroot}%{_libdir}/%{name}/mldonkey_df_monitor.sh
 install -m 644 %{SOURCE11} %{buildroot}%{_sysconfdir}/logrotate.d/mldonkey
 
+# macroize library dirs in scripts
+perl -i -pe 's|/usr/lib/%{name}|%{_libdir}/%{name}|g' \
+       %{buildroot}%{_bindir}/mlnet %{buildroot}%{_bindir}/mlgui \
+       %{buildroot}%{_initrddir}/mldonkey \
+       %{buildroot}%{_sysconfdir}/cron.d/mldonkey_df_monitor
+
 # ed2k_submit
 install -d -m 755 %{buildroot}%{_datadir}/services/
 install -m 755 distrib/ed2k_submit/mldonkey_submit 
%{buildroot}%{_bindir}/mldonkey_submit
@@ -256,7 +261,7 @@
 %files
 %defattr(-,root,root)
 %doc Copying.txt distrib/Authors.txt distrib/Bugs.txt distrib/ChangeLog 
distrib/FAQ.html
-%doc distrib/directconnect.ini distrib/ed2k_submit/README.MLdonkeySubmit 
distrib/Developers.txt
+%doc distrib/Todo.txt distrib/ed2k_submit/README.MLdonkeySubmit 
distrib/Developers.txt
 %doc docs
 %{_bindir}/mlnet
 %{_bindir}/mldonkey_command
@@ -273,7 +278,7 @@
 
 %files gui
 %defattr(-,root,root)
-%doc Copying.txt distrib/Authors.txt distrib/Bugs.txt distrib/ChangeLog 
distrib/FAQ.html distrib/Developers.txt
+%doc Copying.txt distrib/Authors.txt distrib/Bugs.txt distrib/ChangeLog 
distrib/FAQ.html distrib/Developers.txt distrib/Todo.txt
 %{_bindir}/mlgui*
 %{_bindir}/mldonkey_previewer
 %{_menudir}/%{name}-gui
@@ -287,7 +292,7 @@
 
 %files chat
 %defattr(-,root,root)
-%doc Copying.txt distrib/Authors.txt distrib/Bugs.txt distrib/ChangeLog 
distrib/FAQ.html distrib/Developers.txt
+%doc Copying.txt distrib/Authors.txt distrib/Bugs.txt distrib/ChangeLog 
distrib/FAQ.html distrib/Developers.txt distrib/Todo.txt
 %{_bindir}/mlchat
 %{_menudir}/%{name}-chat
 
@@ -315,6 +320,14 @@
 rm -rf $RPM_BUILD_ROOT
 
 %changelog
+* Sat Oct 29 2005 Anssi Hannula <[EMAIL PROTECTED]> 2.6.7-1plf
+- upgrade to 2.6.7 (bug #33)
+- patch3: disable build errors for unused variables
+- fix %%_libdir in scripts (bug #69)
+- quiet %%setup
+- drop patch2, upstream
+- BuildRequires libgtk+2-devel librsvg-devel ocaml-lablgtk2-devel libgd-devel
+
 * Wed Jan 12 2005 Laurent Culioli <[EMAIL PROTECTED]> 2.5.28-5plf
 - spiralvoice patchpack28m
 - use default_incoming and share strategy instead incoming_directory


_______________________________________________
PLF-announce mailing list
[email protected]
https://www.zarb.org/mailman/listinfo/plf-announce

Reply via email to