[svn] r6064 - in trunk/rpms: . atftp deluge freedup perl-BDB perl-Coro perl-Tk

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Fri Dec 28 16:19:17 CET 2007


Author: dag
Date: 2007-12-28 16:19:15 +0100 (Fri, 28 Dec 2007)
New Revision: 6064

Added:
   trunk/rpms/deluge/
   trunk/rpms/deluge/deluge-0.5.7.1-default-prefs-no-release-notifications.patch
   trunk/rpms/deluge/deluge.spec
   trunk/rpms/perl-BDB/
   trunk/rpms/perl-BDB/perl-BDB.spec
   trunk/rpms/perl-Coro/perl-Coro-4.31.spec
Modified:
   trunk/rpms/atftp/atftp.spec
   trunk/rpms/freedup/freedup.spec
   trunk/rpms/perl-Coro/perl-Coro.spec
   trunk/rpms/perl-Tk/perl-Tk.spec
Log:
Updates

Modified: trunk/rpms/atftp/atftp.spec
===================================================================
--- trunk/rpms/atftp/atftp.spec	2007-12-27 11:07:31 UTC (rev 6063)
+++ trunk/rpms/atftp/atftp.spec	2007-12-28 15:19:15 UTC (rev 6064)
@@ -5,13 +5,14 @@
 Summary: Advanced Trivial File Transfer Protocol (TFTP) client
 Name: atftp
 Version: 0.7
-Release: 5.2
+Release: 6
 License: GPL
 Group: Applications/Internet
 URL: ftp://ftp.mamalinux.com/pub/atftp/
 
-Source: ftp://ftp.mamalinux.com/pub/atftp/atftp-%{version}.tar.gz
-Patch: atftp-0.7-inlines.patch
+Source: http://downloads.openwrt.org/sources/atftp-%{version}.tar.gz
+Patch0: atftp-0.7-inlines.patch
+Patch1: atftp-0.7-CLK_TCK.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires: libtermcap-devel, pcre-devel, ncurses-devel, readline-devel
@@ -41,11 +42,12 @@
 
 %prep
 %setup
-%patch -p1
+%patch0 -p1
+%patch1
 
 ### FIXME: Change location of pcre.h to pcre/pcre.h (Please fix upstream)
 if [ -r %{_includedir}/pcre/pcre.h ]; then
-	%{__perl} -pi.orig -e 's|\bpcre.h\b|pcre/pcre.h|' configure tftpd_pcre.h
+    %{__perl} -pi.orig -e 's|\bpcre.h\b|pcre/pcre.h|' configure tftpd_pcre.h
 fi
 
 %{__cat} <<EOF >tftp.xinetd
@@ -53,26 +55,26 @@
 # description: The tftp server serves files using the trivial file transfer protocol. The tftp protocol is often used to boot diskless workstations, download configuration files to network-aware printers, and to start the installation process for some operating systems.
 service tftp
 {
-	disable	= yes
-	socket_type		= dgram
-	protocol		= udp
-	wait			= yes
-	user			= root
-	server			= %{_sbindir}/in.tftpd
-	server_args		= /tftpboot
-	per_source		= 11
-	cps			= 100 2
-	flags			= IPv4
+    disable         = yes
+    socket_type     = dgram
+    protocol        = udp
+    wait            = yes
+    user            = root
+    server          = %{_sbindir}/in.tftpd
+    server_args     = /tftpboot
+    per_source      = 11
+    cps             = 100 2
+    flags           = IPv4
 }
 EOF
 
 %build
 %configure \
-	--disable-dependency-tracking \
-	--enable-libreadline \
-	--enable-libwrap \
-	--enable-libpcre \
-	--enable-mtftp
+    --disable-dependency-tracking \
+    --enable-libpcre \
+    --enable-libreadline \
+    --enable-libwrap \
+    --enable-mtftp
 %{__make} %{?_smp_mflags}
 
 %install
@@ -102,6 +104,9 @@
 %{_sbindir}/in.tftpd
 
 %changelog
+* Thu Dec 27 2007 Jameson <imntreal at gmail.com> - 0.7.0-6
+- Patched CLK_TCK error
+
 * Mon Mar 13 2006 Dag Wieers <dag at wieers.com> - 0.7.0-5
 - Removed readline and readline-devel as a dependency.
 

Added: trunk/rpms/deluge/deluge-0.5.7.1-default-prefs-no-release-notifications.patch
===================================================================
--- trunk/rpms/deluge/deluge-0.5.7.1-default-prefs-no-release-notifications.patch	                        (rev 0)
+++ trunk/rpms/deluge/deluge-0.5.7.1-default-prefs-no-release-notifications.patch	2007-12-28 15:19:15 UTC (rev 6064)
@@ -0,0 +1,11 @@
+--- src/pref.py.old	2007-09-21 12:18:00.000000000 -0700
++++ src/pref.py	2007-09-21 12:18:09.000000000 -0700
+@@ -118,7 +118,7 @@
+     "use_natpmp" : False,
+     "use_upnp" : False,
+     "use_utpex" : True,
+-    "new_releases" : True,
++    "new_releases" : False,
+     "window_height" : 480,
+     "window_maximized" : False,
+     "window_pane_position" : -1,

Added: trunk/rpms/deluge/deluge.spec
===================================================================
--- trunk/rpms/deluge/deluge.spec	                        (rev 0)
+++ trunk/rpms/deluge/deluge.spec	2007-12-28 15:19:15 UTC (rev 6064)
@@ -0,0 +1,85 @@
+# $Id$
+# Authority: dag
+
+%define python_sitearch %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(1)')
+
+%define desktop_vendor rpmforge
+%define real_name deluge-torrent
+
+Summary: Graphical BitTorrent client with support for DHT, UPnP, and PEX
+Name: deluge
+Version: 0.5.7.98
+Release: 1
+License: GPL
+Group: Applications/Internet
+URL: http://deluge-torrent.org/
+
+Source: http://download.deluge-torrent.org/tarball/%{version}/deluge-%{version}.tar.gz
+Patch1: deluge-0.5.7.1-default-prefs-no-release-notifications.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: boost-devel
+BuildRequires: desktop-file-utils
+BuildRequires: libtool
+BuildRequires: openssl-devel
+BuildRequires: python-devel
+Requires: dbus-python
+Requires: pygtk2-libglade
+Requires: pyOpenSSL
+Requires: python-xdg
+
+Obsoletes: python-libtorrent <= 0.5
+Provides: python-libtorrent = %{version}-%{release}
+
+%description
+Deluge is a new BitTorrent client, created using Python and GTK+. It is
+intended to bring a native, full-featured client to Linux GTK+ desktop
+environments such as GNOME and XFCE. It supports features such as DHT
+(Distributed Hash Tables), PEX (µTorrent-compatible Peer Exchange), and UPnP
+(Universal Plug-n-Play) that allow one to more easily share BitTorrent data
+even from behind a router with virtually zero configuration of port-forwarding.
+
+%prep
+%setup -n %{real_name}-%{version}
+%patch1 -b .default-prefs-no-release-notifications
+
+%build
+CFLAGS="%{optflags}" %{__python} setup.py build
+
+%install
+%{__rm} -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root="%{buildroot}"
+%find_lang %{name}
+
+desktop-file-install --delete-original         \
+    --vendor %{desktop_vendor}                 \
+    --add-mime-type=application/x-bittorrent   \
+    --dir %{buildroot}%{_datadir}/applications \
+    %{buildroot}%{_datadir}/applications/deluge.desktop
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post
+update-desktop-database %{_datadir}/applications &>/dev/null || :
+touch --no-create %{_datadir}/icons/hicolor
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
+
+%postun
+update-desktop-database %{_datadir}/applications &>/dev/null || :
+touch --no-create %{_datadir}/icons/hicolor
+%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
+
+%files -f %{name}.lang
+%defattr(-, root, root, 0755)
+%doc ChangeLog HACKING LICENSE README* TODO libtorrent/AUTHORS
+%{_bindir}/deluge
+%{_datadir}/applications/%{desktop_vendor}-deluge.desktop
+%{_datadir}/deluge/
+%{_datadir}/icons/hicolor/*/apps/deluge.png
+%{_datadir}/pixmaps/deluge.png
+%{python_sitearch}/deluge/
+
+%changelog
+* Thu Dec 27 2007 Dag Wieers <dag at wieers.com> - 0.5.7.98-1
+Initial package. (using DAR)


Property changes on: trunk/rpms/deluge/deluge.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Modified: trunk/rpms/freedup/freedup.spec
===================================================================
--- trunk/rpms/freedup/freedup.spec	2007-12-27 11:07:31 UTC (rev 6063)
+++ trunk/rpms/freedup/freedup.spec	2007-12-28 15:19:15 UTC (rev 6064)
@@ -3,8 +3,8 @@
 
 Summary: Reclaim space on your drive
 Name: freedup
-%define real_version 1.4-2
-Version: 1.4.2
+%define real_version 1.4-3
+Version: 1.4.3
 Release: 1
 License: GPL
 Group: Applications/File
@@ -44,6 +44,9 @@
 %{_bindir}/freedup
 
 %changelog
+* Fri Dec 28 2007 Dag Wieers <dag at wieers.com> - 1.4.3-1
+- Updated to release 1.4-3.
+
 * Thu Dec 27 2007 Dag Wieers <dag at wieers.com> - 1.4.2-1
 - Updated to release 1.4-2.
 

Added: trunk/rpms/perl-BDB/perl-BDB.spec
===================================================================
--- trunk/rpms/perl-BDB/perl-BDB.spec	                        (rev 0)
+++ trunk/rpms/perl-BDB/perl-BDB.spec	2007-12-28 15:19:15 UTC (rev 6064)
@@ -0,0 +1,56 @@
+# $Id$
+# Authority: dag
+# Upstream: Marc Lehmann <pcg$goof,com>
+
+%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
+%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
+
+%define real_name BDB
+
+Summary: Asynchronous Berkeley DB access
+Name: perl-BDB
+Version: 1.42
+Release: 1
+License: GPL
+Group: Applications/CPAN
+URL: http://search.cpan.org/dist/BDB/
+
+Source: http://www.cpan.org/authors/id/M/ML/MLEHMANN/BDB-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: db4 >= 4.4
+BuildRequires: perl
+
+%description
+Asynchronous Berkeley DB access.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
+%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} pure_install
+
+### Clean up buildroot
+find %{buildroot} -name .packlist -exec %{__rm} {} \;
+
+### Clean up docs
+find eg/ -type f -exec %{__chmod} a-x {} \;
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc COPYING Changes MANIFEST META.yml README eg/
+%doc %{_mandir}/man3/BDB.3pm*
+%{perl_vendorarch}/auto/BDB/
+%{perl_vendorarch}/BDB.pm
+
+%changelog
+* Thu Dec 27 2007 Dag Wieers <dag at wieers.com> - 1.42-1
+- Initial package. (using DAR)

Added: trunk/rpms/perl-Coro/perl-Coro-4.31.spec
===================================================================
--- trunk/rpms/perl-Coro/perl-Coro-4.31.spec	                        (rev 0)
+++ trunk/rpms/perl-Coro/perl-Coro-4.31.spec	2007-12-28 15:19:15 UTC (rev 6064)
@@ -0,0 +1,82 @@
+# $Id$
+# Authority: matthias
+# Upstream: Marc Lehmann <pcg$goof,com>
+
+%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
+%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
+
+%define real_name Coro
+
+Summary: Coroutine process abstraction
+Name: perl-Coro
+### FIXME: Newer versions require perl-BDB and db4 >= 4.4
+Version: 4.31
+Release: 1
+License: GPL
+Group: Applications/CPAN
+URL: http://search.cpan.org/dist/Coro/
+
+Source: http://www.cpan.org/modules/by-module/Coro/Coro-%{version}.tar.gz
+Patch0: Coro-3.63-noprompt.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: perl
+BuildRequires: perl(Event) >= 0.86
+BuildRequires: perl(IO::AIO) >= 1.6
+# This would introduce a circular dependency since AnyEvent requires Coro...
+#BuildRequires: perl(AnyEvent)
+# Provided by either perl or perl-devel
+BuildRequires: perl(ExtUtils::MakeMaker)
+
+%description
+This module collection manages coroutines.
+Coroutines are similar to threads but don't run in parallel.
+
+
+%prep
+%setup -n %{real_name}-%{version}
+%patch0 -p1 -b .noprompt
+
+%build
+CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
+%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} pure_install
+
+### Clean up buildroot
+find %{buildroot} -name .packlist -exec %{__rm} {} \;
+
+### Clean up docs
+find doc/ eg/ -type f -exec %{__chmod} a-x {} \;
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc COPYING Changes INSTALL MANIFEST META.yml README README.linux-glibc doc/ eg/
+%doc %{_mandir}/man3/Coro.3pm*
+%doc %{_mandir}/man3/Coro::*.3pm*
+%{perl_vendorarch}/auto/Coro/
+%{perl_vendorarch}/Coro/
+%{perl_vendorarch}/Coro.pm
+
+%changelog
+* Sat Dec 08 2007 Dag Wieers <dag at wieers.com> - 4.31-1
+- Updated to release 4.31.
+
+* Tue Dec 04 2007 Dag Wieers <dag at wieers.com> - 4.22-1
+- Updated to release 4.22.
+
+* Thu Nov 08 2007 Dag Wieers <dag at wieers.com> - 4.13-1
+- Updated to release 4.13.
+
+* Thu May 31 2007 Matthias Saou <http://freshrpms.net/> 3.63-1
+- Update to 3.63.
+- Build require perl(ExtUtils::MakeMaker) for F7.
+
+* Wed Apr 19 2006 Matthias Saou <http://freshrpms.net/> 1.9-1
+- Initial RPM release, patch to use the ucontext method since the Linux
+  specific one doesn't compile on FC5.


Property changes on: trunk/rpms/perl-Coro/perl-Coro-4.31.spec
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + native

Modified: trunk/rpms/perl-Coro/perl-Coro.spec
===================================================================
--- trunk/rpms/perl-Coro/perl-Coro.spec	2007-12-27 11:07:31 UTC (rev 6063)
+++ trunk/rpms/perl-Coro/perl-Coro.spec	2007-12-28 15:19:15 UTC (rev 6064)
@@ -9,6 +9,7 @@
 
 Summary: Coroutine process abstraction
 Name: perl-Coro
+### FIXME: Versions >= 4.31 require perl-BDB and db4 >= 4.4
 Version: 4.34
 Release: 1
 License: GPL
@@ -20,6 +21,7 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires: perl
+BuildRequires: perl(BDB)
 BuildRequires: perl(Event) >= 0.86
 BuildRequires: perl(IO::AIO) >= 1.6
 # This would introduce a circular dependency since AnyEvent requires Coro...
@@ -63,7 +65,7 @@
 %{perl_vendorarch}/Coro.pm
 
 %changelog
-* Thu Dec 27 2007 Dag Wieers <dag at wieers.com> - 4.34-1
+* Fri Dec 28 2007 Dag Wieers <dag at wieers.com> - 4.34-1
 - Updated to release 4.34.
 
 * Sat Dec 08 2007 Dag Wieers <dag at wieers.com> - 4.31-1

Modified: trunk/rpms/perl-Tk/perl-Tk.spec
===================================================================
--- trunk/rpms/perl-Tk/perl-Tk.spec	2007-12-27 11:07:31 UTC (rev 6063)
+++ trunk/rpms/perl-Tk/perl-Tk.spec	2007-12-28 15:19:15 UTC (rev 6064)
@@ -24,7 +24,7 @@
 Summary: Object Oriented Tk extension for Perl
 Name: perl-Tk
 Version: 804.028
-Release: 1
+Release: 2
 License: Artistic
 Group: Applications/CPAN
 URL: http://search.cpan.org/dist/Tk/
@@ -73,7 +73,7 @@
 
 %files
 %defattr(-, root, root, 0755)
-%doc COPYING Changes INSTALL MANIFEST MANIFEST.SKIP MANIFEST.SKIP.PL README* ToDo VERSIONS
+%doc COPYING Changes INSTALL MANIFEST README* ToDo VERSIONS
 %doc %{_mandir}/man1/ptked.1*
 %doc %{_mandir}/man1/ptksh.1*
 %doc %{_mandir}/man1/tkjpeg.1*
@@ -94,6 +94,9 @@
 %{perl_vendorarch}/fix_4_os2.pl
 
 %changelog
+* Thu Dec 27 2007 Dag Wieers <dag at wieers.com> - 804.028-2
+- Got rid of wrong /usr/local/bin/nperl dependency.
+
 * Thu Dec 27 2007 Dag Wieers <dag at wieers.com> - 804.028-1
 - Updated to release 804.028.
 



More information about the svn-commits mailing list