Name        : mldonkey                     Relocations: (not relocatable)
Version     : 2.7.4                             Vendor: Penguin Liberation Front
Release     : 1plf                          Build Date: Sat 04 Mar 2006 
09:50:10 AM CET
Install Date: (not installed)               Build Host: taz.eijk.nu
Group       : System/Servers                Source RPM: (none)
Size        : 2838108      License: GPL
Signature   : (none)
Packager    : Stefan van der Eijk <[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.

---------------
Stefan van der Eijk <[EMAIL PROTECTED]> 1:2.7.4-1plf
- 2.7.4
---------------

---------------
Index: downloads.ini
===================================================================
RCS file: /home/projects/plf/cvs/SPECS/free/mldonkey/downloads.ini,v
retrieving revision 1.7
diff -u -r1.7 downloads.ini
--- downloads.ini       12 Jan 2005 15:06:52 -0000      1.7
+++ downloads.ini       4 Mar 2006 08:51:11 -0000
@@ -1,12 +1,12 @@
 (* The directory where temporary files should be put *)
  temp_directory = "/var/cache/mldonkey"
 (* Name of GUI to start *)
- mldonkey_gui = "/usr/bin/mldonkey/mlgui"
+ mldonkey_gui = "/usr/bin/mlgui"
 (* Directory where mldonkey binaries are installed *)
  mldonkey_bin = "/usr/lib/mldonkey"
 (* Directories where files will be shared *)
  shared_directories = [
-  {     dirname = "/space/mldonkey/incoming"
+  {     dirname = "/var/lib/mldonkey/incoming"
      networks = []
      strategy = all_files
      priority = 0
Index: mldonkey.init
===================================================================
RCS file: /home/projects/plf/cvs/SPECS/free/mldonkey/mldonkey.init,v
retrieving revision 1.13
diff -u -r1.13 mldonkey.init
--- mldonkey.init       22 Oct 2004 00:09:11 -0000      1.13
+++ mldonkey.init       4 Mar 2006 08:51:11 -0000
@@ -4,6 +4,8 @@
 #
 # Laurent Culioli <[EMAIL PROTECTED]>
 #
+# Currently maintained by Anssi Hannula <[EMAIL PROTECTED]>
+#
 # chkconfig: 345 90 15
 # description: Mldonkey is client to access multiple peer-to-peer network
 # processname: mlnet
@@ -55,13 +57,29 @@
 
 start() {
         gprintf "Starting Mldonkey: "
-        params="-daemon -run_as_user mldonkey"
+        params="-run_as_user mldonkey"
+       numstarted=0
         if [ log_ok ] ; then
                 params="$params -log_file $LOGFILE"
+                numstarted=$(grep -c "Core started$" $LOGFILE)
         fi
         cd $mlhome
-        daemon --check mlnet $NICE $mldonkey $params
-        touch /var/lock/subsys/mlnet
+       # This is a hack. If someone knows a cleaner solution, mail me at 
<[EMAIL PROTECTED]>
+        daemon --check mlnet $NICE $mldonkey $params </dev/null >/dev/null 
2>&1 &
+        timeout=0
+        while true; do
+                timeout=$(($timeout + 1))
+                sleep 1
+                if ! pidof $mldonkey >/dev/null; then
+                        echo_failure
+                        break
+                fi
+                if [ $(grep -c "Core started$" $LOGFILE 2>/dev/null | sed 
's/^0$/1/') -gt $numstarted ] || [ $timeout -gt 10 ]; then
+                        echo_success
+                        touch /var/lock/subsys/mlnet
+                        break
+                fi
+        done
         echo
 }
 
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       4 Mar 2006 08:51:11 -0000
@@ -1,18 +1,17 @@
 %define name   mldonkey
-%define Name   Mldonkey
 %define summary        Door to the 'donkey' network
-%define version        2.5.28
-%define release 5plf
+%define version        2.7.4
+%define rel    1
+
+%define release %mkrel %rel
+%define distsuffix plf
 
 Name:          %{name}
 Version:       %{version}
 Release:       %{release}
 Summary:       %{summary}
 License:       GPL
-Patch0:                %{name}_command.patch.bz2
-Patch1:                %{name}_submit.patch.bz2
-Patch2:                %{name}_spiralvoice_patchpack_28m.bz2
-Source0:       %{name}-%{version}.tar.bz2
+Source0:       
http://savannah.nongnu.org/download/mldonkey/%{name}-%{version}.tar.bz2
 Source1:       %{name}-icon-16.png
 Source2:       %{name}-icon-32.png
 Source3:       %{name}-icon-48.png
@@ -27,11 +26,12 @@
 URL:           http://www.nongnu.org/mldonkey
 Group:         System/Servers
 BuildRoot:     %{_tmppath}/%{name}-buildroot
-BuildRequires:  ocaml >= 3.08
-BuildRequires: ocaml-lablgtk
 BuildRequires: camlp4
-BuildRequires: libgtk+-devel
+BuildRequires: libgd-devel
 BuildRequires: libncurses-devel
+BuildRequires: librsvg-devel
+BuildRequires:  ocaml >= 3.08
+BuildRequires: ocaml-lablgtk2-devel
 Epoch:         1
 Requires:      nc
 
@@ -96,7 +96,7 @@
 A simple chat frontend for mldonkey based on GTK
 
 %package init
-prereq:                rpm-helper
+Requires(pre): rpm-helper
 Summary:       Init to launch mldonkey
 Group:         System/Servers
 Requires:      %{name} = %{epoch}:%{version}-%{release}
@@ -126,14 +126,12 @@
 
 %prep
 rm -rf $RPM_BUILD_ROOT
-%setup 
-%patch0
-%patch1
-%patch2
+%setup -q
 
 %build
-( cd config; autoconf )
-%configure --enable-pthread
+
+%configure2_5x --enable-gui
+
 %make
 %make use_tags
 
@@ -146,15 +144,12 @@
 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
 install -m 755 distrib/kill_mldonkey %{buildroot}%{_bindir}/kill_mldonkey
 
-for link in mlbt mldc mldonkey mlgnut mlnap mlslsk ; do
+for link in mlbt mldonkey mlgnut; do
                ln -s mlnet %{buildroot}%{_libdir}/%{name}/$link ;
 done
 
@@ -163,10 +158,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 +188,14 @@
 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 \
+       %{buildroot}%{_localstatedir}/%{name}/downloads.ini \
+       %{buildroot}%{_libdir}/%{name}/mldonkey_df_monitor.sh
+
 # ed2k_submit
 install -d -m 755 %{buildroot}%{_datadir}/services/
 install -m 755 distrib/ed2k_submit/mldonkey_submit 
%{buildroot}%{_bindir}/mldonkey_submit
@@ -256,24 +255,21 @@
 %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
 %{_bindir}/kill_mldonkey
 %dir %{_libdir}/%{name}
 %{_libdir}/%{name}/mlbt
-%{_libdir}/%{name}/mldc
 %{_libdir}/%{name}/mldonkey
 %{_libdir}/%{name}/mlgnut
-%{_libdir}/%{name}/mlnap
 %{_libdir}/%{name}/mlnet
-%{_libdir}/%{name}/mlslsk
 %{_libdir}/%{name}/use_tags
 
 %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 +283,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 +311,47 @@
 rm -rf $RPM_BUILD_ROOT
 
 %changelog
+* Sat Mar 04 2006 Stefan van der Eijk <[EMAIL PROTECTED]> 1:2.7.4-1plf
+- 2.7.4
+
+* Thu Jan 19 2006 trem <[EMAIL PROTECTED]> 1:2.7.3-1plf
+- 2.7.3
+
+* Thu Jan  5 2006 Anssi Hannula <[EMAIL PROTECTED]> 1:2.7.2-1plf
+- 2.7.2
+- now builds with ocaml 3.09
+- drop some wrong symlinks
+- drop patch1, patch2, applied upstream
+- drop patch3, unneeded
+
+* Mon Jan  2 2006 trem <[EMAIL PROTECTED]> 1:2.7.1-1plf
+- 2.7.1
+
+* Tue Nov 29 2005 Anssi Hannula <[EMAIL PROTECTED]> 2.7.0-3plf
+- BuildConflicts camlp4 on cooker
+- fix init script
+
+* Thu Nov 26 2005 Anssi Hannula <[EMAIL PROTECTED]> 2.7.0-2plf
+- fix init script
+
+* Thu Nov 24 2005 Anssi Hannula <[EMAIL PROTECTED]> 2.7.0-1plf
+- 2.7.0
+- fix init script
+- fix double buildrequires ncurses-devel
+
+* Mon Nov  7 2005 Anssi Hannula <[EMAIL PROTECTED]> 2.6.7-2plf
+- mldonkey needs specifically ocaml 3.08, so build that locally on cooker
+- fix init script (bug #83)
+- fix incoming dir (bug #84)
+
+* 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