[svn] r6331 - in trunk/rpms: . chntpw clamtk dkms-r8180 dkms-r818x dkms-rtl818x flash-plugin httping libwiimote perl-Linux-Input-Wiimote pngcrush testdisk

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Tue May 27 02:00:26 CEST 2008


Author: dag
Date: 2008-05-27 01:00:25 +0100 (Tue, 27 May 2008)
New Revision: 6331

Added:
   trunk/rpms/dkms-r8180/
   trunk/rpms/dkms-r8180/dkms-r8180.spec
   trunk/rpms/dkms-r818x/
   trunk/rpms/dkms-r818x/dkms-r818x.spec
   trunk/rpms/dkms-rtl818x/
   trunk/rpms/dkms-rtl818x/dkms-rtl818x.spec
   trunk/rpms/dkms-rtl818x/rtl818x-cvs20080525-module_param.patch
   trunk/rpms/dkms-rtl818x/rtl818x-cvs20080525-modversions.patch
   trunk/rpms/libwiimote/
   trunk/rpms/libwiimote/libwiimote-0.4-dso-symlinks.patch
   trunk/rpms/libwiimote/libwiimote-0.4-fpic.patch
   trunk/rpms/libwiimote/libwiimote-0.4-includedir.patch
   trunk/rpms/libwiimote/libwiimote-0.4-soname.patch
   trunk/rpms/libwiimote/libwiimote.spec
   trunk/rpms/perl-Linux-Input-Wiimote/
   trunk/rpms/perl-Linux-Input-Wiimote/perl-Linux-Input-Wiimote.spec
Modified:
   trunk/rpms/chntpw/chntpw.spec
   trunk/rpms/clamtk/clamtk.spec
   trunk/rpms/flash-plugin/flash-plugin-beta.spec
   trunk/rpms/flash-plugin/flash-plugin.spec
   trunk/rpms/httping/httping.spec
   trunk/rpms/pngcrush/pngcrush.spec
   trunk/rpms/testdisk/testdisk-devel.spec
   trunk/rpms/testdisk/testdisk.spec
Log:
Updates

Modified: trunk/rpms/chntpw/chntpw.spec
===================================================================
--- trunk/rpms/chntpw/chntpw.spec	2008-05-26 23:47:03 UTC (rev 6330)
+++ trunk/rpms/chntpw/chntpw.spec	2008-05-27 00:00:25 UTC (rev 6331)
@@ -34,7 +34,7 @@
 %setup -n %{name}-%{real_version}
 
 %build
-%{__make} %{?_smp_mflags} OSSLLIB="%{_libdir}"
+%{__make} %{?_smp_mflags} CFLAGS="-DUSEOPENSSL -I. -I%{_includedir} %{optflags}" OSSLLIB="%{_libdir}"
 
 %install
 %{__rm} -rf %{buildroot}

Modified: trunk/rpms/clamtk/clamtk.spec
===================================================================
--- trunk/rpms/clamtk/clamtk.spec	2008-05-26 23:47:03 UTC (rev 6330)
+++ trunk/rpms/clamtk/clamtk.spec	2008-05-27 00:00:25 UTC (rev 6331)
@@ -13,7 +13,7 @@
 
 Summary: Easy to use front-end for ClamAV
 Name: clamtk
-Version: 3.08
+Version: 3.09
 Release: 1
 License: Perl
 Group: Applications/File
@@ -70,6 +70,9 @@
 %{_datadir}/pixmaps/clamtk.png
 
 %changelog
+* Tue May 27 2008 Dag Wieers <dag at wieers.com> - 3.09-1
+- Updated to release 3.09.
+
 * Thu Feb 07 2008 Dag Wieers <dag at wieers.com> - 3.08-1
 - Updated to release 3.08.
 

Added: trunk/rpms/dkms-r8180/dkms-r8180.spec
===================================================================
--- trunk/rpms/dkms-r8180/dkms-r8180.spec	                        (rev 0)
+++ trunk/rpms/dkms-r8180/dkms-r8180.spec	2008-05-27 00:00:25 UTC (rev 6331)
@@ -0,0 +1,77 @@
+# $Id$
+# Authority: dag
+
+# Dist: nodist
+
+%define real_name rtl8180
+
+Summary: Driver for RTL8180 and SA2400 Wireless cards
+Name: dkms-r8180
+Version: 0.21
+Release: 1
+License: GPL
+Group: System Environment/Kernel
+URL: http://www.realtek.com.tw/
+
+Source: http://dl.sf.net/rtl8180-sa2400/rtl8180-%{version}.tar.gz
+Patch0: rtl8180-0.21-modversions.patch
+Patch1: rtl8180-0.21-module_param.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+Requires: gcc, make
+Requires(post): dkms
+Requires(preun): dkms
+
+%description
+Driver for RTL8180 and SA2400 Wireless cards.
+
+%prep
+%setup -n %{real_name}-%{version}
+%patch0 -p0
+%patch1 -p0
+
+%build
+
+%install
+%{__rm} -rf %{buildroot}
+
+%define dkms_name r8180
+%define dkms_vers %{version}-%{release}
+%define quiet -q
+
+# Kernel module sources install for dkms
+%{__mkdir_p} %{buildroot}%{_usrsrc}/%{dkms_name}-%{dkms_vers}/
+%{__cp} -a * %{buildroot}%{_usrsrc}/%{dkms_name}-%{dkms_vers}/
+
+# Configuration for dkms
+%{__cat} <<'EOF' >%{buildroot}%{_usrsrc}/%{dkms_name}-%{dkms_vers}/dkms.conf
+BUILT_MODULE_NAME=%{dkms_name}
+DEST_MODULE_LOCATION=/kernel/drivers/net/wireless
+PACKAGE_NAME=%{dkms_name}
+PACKAGE_VERSION=%{dkms_vers}
+AUTOINSTALL="YES"
+EOF
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post
+### Add to DKMS registry
+dkms add -m %{dkms_name} -v %{dkms_vers} %{?quiet} || :
+### Rebuild and make available for the currenty running kernel
+dkms build -m %{dkms_name} -v %{dkms_vers} %{?quiet} || :
+dkms install -m %{dkms_name} -v %{dkms_vers} %{?quiet} --force || :
+
+%preun
+### Remove all versions from DKMS registry
+dkms remove -m %{dkms_name} -v %{dkms_vers} %{?quiet} --all || :
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS CHANGES COPYING INSTALL LICENSE README*
+%{_usrsrc}/%{dkms_name}-%{dkms_vers}/
+
+%changelog
+* Sun May 25 2008 Dag Wieers <dag at wieers.com> - 0.21-1
+- Updated package. (using DAR)


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

Added: trunk/rpms/dkms-r818x/dkms-r818x.spec
===================================================================
--- trunk/rpms/dkms-r818x/dkms-r818x.spec	                        (rev 0)
+++ trunk/rpms/dkms-r818x/dkms-r818x.spec	2008-05-27 00:00:25 UTC (rev 6331)
@@ -0,0 +1,79 @@
+# $Id$
+# Authority: dag
+
+# Dist: nodist
+
+%define real_name rtl818x
+%define real_version 1.0.1-b
+
+Summary: Driver for RTL8180, SA2400/GRF5101/MAX2820, RTL8185/RTL8187 and RTL8225 Wireless cards
+Name: dkms-r818x
+Version: 1.0.1b
+Release: 0.cvs20080525
+License: GPL
+Group: System Environment/Kernel
+URL: http://www.realtek.com.tw/
+
+Source: http://dl.sf.net/rtl818x/rtl818x-%{real_version}.tar.gz
+Patch0: rtl818x-cvs20080525-modversions.patch
+Patch1: rtl818x-cvs20080525-module_param.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+Requires: gcc, make
+Requires(post): dkms
+Requires(preun): dkms
+
+%description
+Driver for RTL8180, SA2400/GRF5101/MAX2820, RTL8185/RTL8187 and RTL8225
+Wireless cards.
+
+%prep
+%setup -n %{real_name}-%{real_version}
+#patch0 -p0
+#patch1 -p0
+
+%build
+
+%install
+%{__rm} -rf %{buildroot}
+
+%define dkms_name r818x
+%define dkms_vers %{version}-%{release}
+%define quiet -q
+
+# Kernel module sources install for dkms
+%{__mkdir_p} %{buildroot}%{_usrsrc}/%{dkms_name}-%{dkms_vers}/
+%{__cp} -a * %{buildroot}%{_usrsrc}/%{dkms_name}-%{dkms_vers}/
+
+# Configuration for dkms
+%{__cat} <<'EOF' >%{buildroot}%{_usrsrc}/%{dkms_name}-%{dkms_vers}/dkms.conf
+BUILT_MODULE_NAME=%{dkms_name}
+DEST_MODULE_LOCATION=/kernel/drivers/net/wireless
+PACKAGE_NAME=%{dkms_name}
+PACKAGE_VERSION=%{dkms_vers}
+AUTOINSTALL="YES"
+EOF
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post
+### Add to DKMS registry
+dkms add -m %{dkms_name} -v %{dkms_vers} %{?quiet} || :
+### Rebuild and make available for the currenty running kernel
+dkms build -m %{dkms_name} -v %{dkms_vers} %{?quiet} || :
+dkms install -m %{dkms_name} -v %{dkms_vers} %{?quiet} --force || :
+
+%preun
+### Remove all versions from DKMS registry
+dkms remove -m %{dkms_name} -v %{dkms_vers} %{?quiet} --all || :
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog COPYRIGHT DOWNLOAD INSTALL LICENSE README*
+%{_usrsrc}/%{dkms_name}-%{dkms_vers}/
+
+%changelog
+* Sun May 25 2008 Dag Wieers <dag at wieers.com> - 0.22-0.cvs20080525
+- Updated package. (using DAR)


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

Added: trunk/rpms/dkms-rtl818x/dkms-rtl818x.spec
===================================================================
--- trunk/rpms/dkms-rtl818x/dkms-rtl818x.spec	                        (rev 0)
+++ trunk/rpms/dkms-rtl818x/dkms-rtl818x.spec	2008-05-27 00:00:25 UTC (rev 6331)
@@ -0,0 +1,103 @@
+# $Id$
+# Authority: dag
+
+# Dist: nodist
+
+%define real_name rtl818x
+%define real_version 1.0.1-b
+
+Summary: Driver for RTL8180, SA2400/GRF5101/MAX2820, RTL8185/RTL8187 and RTL8225 Wireless cards
+Name: dkms-rtl818x
+Version: 1.0.1b
+Release: 1
+License: GPL
+Group: System Environment/Kernel
+URL: http://www.realtek.com.tw/
+
+Source: http://dl.sf.net/rtl818x/rtl818x-%{real_version}.tar.gz
+Patch0: rtl818x-cvs20080525-modversions.patch
+Patch1: rtl818x-cvs20080525-module_param.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildArch: noarch
+Requires: gcc, make
+Requires(post): dkms
+Requires(preun): dkms
+
+%description
+Driver for RTL8180, SA2400/GRF5101/MAX2820, RTL8185/RTL8187 and RTL8225
+Wireless cards.
+
+%prep
+%setup -n %{real_name}-%{real_version}
+#patch0 -p0
+#patch1 -p0
+
+%build
+
+%install
+%{__rm} -rf %{buildroot}
+
+%define dkms_name rtl818x
+%define dkms_vers %{version}-%{release}
+%define quiet -q
+
+# Kernel module sources install for dkms
+%{__mkdir_p} %{buildroot}%{_usrsrc}/%{dkms_name}-%{dkms_vers}/
+%{__cp} -a * %{buildroot}%{_usrsrc}/%{dkms_name}-%{dkms_vers}/
+
+# Configuration for dkms
+%{__cat} <<'EOF' >%{buildroot}%{_usrsrc}/%{dkms_name}-%{dkms_vers}/dkms.conf
+PACKAGE_NAME=%{dkms_name}
+PACKAGE_VERSION=%{dkms_vers}
+CLEAN="make clean"
+MAKE="make modules"
+AUTOINSTALL="YES"
+
+BUILT_MODULE_NAME[0]="rtl818x"
+BUILT_MODULE_LOCATION[0]="drivers/net/wireless/rtl818x/"
+DEST_MODULE_LOCATION[0]="/kernel/drivers/net/wireless/"
+
+BUILT_MODULE_NAME[1]="ieee80211-rtl"
+BUILT_MODULE_LOCATION[1]="net/ieee80211/"
+DEST_MODULE_LOCATION[1]="/kernel/net/ieee80211/"
+
+BUILT_MODULE_NAME[2]="ieee80211_crypt-rtl"
+BUILT_MODULE_LOCATION[2]="net/ieee80211/"
+DEST_MODULE_LOCATION[2]="/kernel/net/ieee80211/"
+
+BUILT_MODULE_NAME[3]="ieee80211_crypt_ccmp-rtl"
+BUILT_MODULE_LOCATION[3]="net/ieee80211/"
+DEST_MODULE_LOCATION[3]="/kernel/net/ieee80211/"
+
+BUILT_MODULE_NAME[4]="ieee80211_crypt_tkip-rtl"
+BUILT_MODULE_LOCATION[4]="net/ieee80211/"
+DEST_MODULE_LOCATION[4]="/kernel/net/ieee80211/"
+
+BUILT_MODULE_NAME[5]="ieee80211_crypt_wep-rtl"
+BUILT_MODULE_LOCATION[5]="net/ieee80211/"
+DEST_MODULE_LOCATION[5]="/kernel/net/ieee80211/"
+EOF
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post
+### Add to DKMS registry
+dkms add -m %{dkms_name} -v %{dkms_vers} %{?quiet} || :
+### Rebuild and make available for the currenty running kernel
+dkms build -m %{dkms_name} -v %{dkms_vers} %{?quiet} || :
+dkms install -m %{dkms_name} -v %{dkms_vers} %{?quiet} --force || :
+
+%preun
+### Remove all versions from DKMS registry
+dkms remove -m %{dkms_name} -v %{dkms_vers} %{?quiet} --all || :
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS ChangeLog COPYRIGHT DOWNLOAD INSTALL LICENSE README*
+%{_usrsrc}/%{dkms_name}-%{dkms_vers}/
+
+%changelog
+* Sun May 25 2008 Dag Wieers <dag at wieers.com> - 1.0.1b-1
+- Updated package. (using DAR)


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

Added: trunk/rpms/dkms-rtl818x/rtl818x-cvs20080525-module_param.patch
===================================================================
--- trunk/rpms/dkms-rtl818x/rtl818x-cvs20080525-module_param.patch	                        (rev 0)
+++ trunk/rpms/dkms-rtl818x/rtl818x-cvs20080525-module_param.patch	2008-05-27 00:00:25 UTC (rev 6331)
@@ -0,0 +1,27 @@
+--- r8180_core.c.orig	2008-05-25 03:13:27.000000000 +0200
++++ r8180_core.c	2008-05-25 03:15:38.000000000 +0200
+@@ -135,16 +135,20 @@
+ MODULE_AUTHOR("Andrea Merello <andreamrl at tiscali.it>");
+ MODULE_DESCRIPTION("Linux driver for Realtek RTL8180 / RTL8185 WiFi cards");
+ 
+-MODULE_PARM(ifname,"s");
++/*MODULE_PARM(ifname,"s");*/
++module_param(ifname, charp, 0400);
+ MODULE_PARM_DESC(devname," Net interface name, wlan%d=default");
+ 
+-MODULE_PARM(hwseqnum,"i");
++/*MODULE_PARM(hwseqnum,"i");*/
++module_param(hwseqnum, int, 0400);
+ MODULE_PARM_DESC(hwseqnum," Try to use hardware 802.11 header sequence numbers. Zero=default");
+ 
+-MODULE_PARM(hwwep,"i");
++/*MODULE_PARM(hwwep,"i");*/
++module_param(hwwep, int, 0400);
+ MODULE_PARM_DESC(hwwep," Try to use hardware WEP support. Still broken and not available on all cards");
+ 
+-MODULE_PARM(channels,"i");
++/*MODULE_PARM(channels,"i");*/
++module_param(channels, int, 0400);
+ MODULE_PARM_DESC(channels," Channel bitmask for specific locales. NYI");
+ 
+ 

Added: trunk/rpms/dkms-rtl818x/rtl818x-cvs20080525-modversions.patch
===================================================================
--- trunk/rpms/dkms-rtl818x/rtl818x-cvs20080525-modversions.patch	                        (rev 0)
+++ trunk/rpms/dkms-rtl818x/rtl818x-cvs20080525-modversions.patch	2008-05-27 00:00:25 UTC (rev 6331)
@@ -0,0 +1,11 @@
+--- Makefile.orig	2008-05-25 02:49:57.000000000 +0200
++++ Makefile	2008-05-25 03:12:19.000000000 +0200
+@@ -33,7 +33,7 @@
+ 	rm -rf $(PWD)/tmp
+ 
+ modules:
+-	$(MAKE) -C $(KSRC) SUBDIRS=$(PWD) MODVERDIR=$(PWD) modules
++	$(MAKE) -C $(KSRC) SUBDIRS=$(PWD) modules
+ 
+ MODDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless
+ #MOD_ALGDESTDIR := /lib/modules/$(KVER)/kernel/drivers/net/wireless/alg

Modified: trunk/rpms/flash-plugin/flash-plugin-beta.spec
===================================================================
--- trunk/rpms/flash-plugin/flash-plugin-beta.spec	2008-05-26 23:47:03 UTC (rev 6330)
+++ trunk/rpms/flash-plugin/flash-plugin-beta.spec	2008-05-27 00:00:25 UTC (rev 6331)
@@ -9,20 +9,17 @@
 %define __spec_install_post /usr/lib/rpm/brp-compress
 
 %define real_name flash-player-plugin
-%define real_version 082207
+%define real_version 051508
 
 Summary: Macromedia Flash Player
 Name: flash-plugin
-Version: 9.0.48.070822
+Version: 10.0.1.218
 Release: 1
 License: Commercial
 Group: Applications/Internet
 URL: http://www.macromedia.com/downloads/
 
-Source: http://download.macromedia.com/pub/labs/flashplayer9_update/flashplayer9_install_linux_%{real_version}.tar.gz
-#Source: http://macromedia.rediris.es/rpmsource/flash-player-plugin-%{version}.tar.bz2
-#Source: http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player_9_linux.tar.gz
-#Source: http://fpdownload.macromedia.com/get/shockwave/flash/english/linux/7.0r25/install_flash_player_7_linux.tar.gz
+Source0: http://download.macromedia.com/pub/labs/flashplayer10/flashplayer10_install_linux_%{real_version}.tar.gz
 Source1: http://macromedia.rediris.es/rpmsource/LICENSE
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
@@ -39,7 +36,7 @@
 
 
 %prep
-%setup -n install_flash_player_9_linux/
+%setup -n install_flash_player_10_linux/
 %{__install} -Dp -m0644 %{SOURCE1} LICENSE
 
 %build
@@ -54,10 +51,19 @@
 
 %files
 %defattr(-, root, root, 0755)
-#doc Readme.*
+%doc LICENSE
 %{_libdir}/mozilla/plugins/
 
 %changelog
+* Sat May 17 2008 Dag Wieers <dag at wieers.com> - 10.0.1.218-1
+- Updated to release beta 051508.
+
+* Wed Apr 23 2008 Dag Wieers <dag at wieers.com> - 9.0.124.0-1
+- Updated to release 9.0.124.0.
+
+* Wed Dec 05 2007 Dag Wieers <dag at wieers.com> - 9.0.115.0-1
+- Updated to release 9.0.115.0.
+
 * Tue Aug 28 2007 Dag Wieers <dag at wieers.com> - 9.0.48.082207-1
 - Updated to release beta 082207.
 

Modified: trunk/rpms/flash-plugin/flash-plugin.spec
===================================================================
--- trunk/rpms/flash-plugin/flash-plugin.spec	2008-05-26 23:47:03 UTC (rev 6330)
+++ trunk/rpms/flash-plugin/flash-plugin.spec	2008-05-27 00:00:25 UTC (rev 6331)
@@ -50,7 +50,7 @@
 
 %files
 %defattr(-, root, root, 0755)
-#doc Readme.*
+%doc LICENSE
 %{_libdir}/mozilla/plugins/
 
 %changelog

Modified: trunk/rpms/httping/httping.spec
===================================================================
--- trunk/rpms/httping/httping.spec	2008-05-26 23:47:03 UTC (rev 6330)
+++ trunk/rpms/httping/httping.spec	2008-05-27 00:00:25 UTC (rev 6331)
@@ -4,7 +4,7 @@
 
 Summary: Ping alike tool for http requests
 Name: httping
-Version: 1.2.4
+Version: 1.2.6
 Release: 1
 License: GPL
 Group: Applications/Internet
@@ -26,8 +26,8 @@
 
 %build
 %{__make} %{?_smp_mflags} \
-	CFLAGS="%{optflags} -DVERSION=\\\"%{version}\\\" -I/usr/kerberos/include" \
-	DEBUG=""
+    CFLAGS="%{optflags} -DVERSION=\\\"%{version}\\\" -I/usr/kerberos/include" \
+    DEBUG=""
 
 %install
 %{__rm} -rf %{buildroot}
@@ -45,6 +45,9 @@
 %{_bindir}/httping
 
 %changelog
+* Tue May 27 2008 Dag Wieers <dag at wieers.com> - 1.2.6-1 
+- Updated to release 1.2.6.
+
 * Wed Jul 11 2007 Dag Wieers <dag at wieers.com> - 1.2.4-1
 - Updated to release 1.2.4.
 

Added: trunk/rpms/libwiimote/libwiimote-0.4-dso-symlinks.patch
===================================================================
--- trunk/rpms/libwiimote/libwiimote-0.4-dso-symlinks.patch	                        (rev 0)
+++ trunk/rpms/libwiimote/libwiimote-0.4-dso-symlinks.patch	2008-05-27 00:00:25 UTC (rev 6331)
@@ -0,0 +1,13 @@
+diff -up libwiimote-0.4/Makefile.in.jx libwiimote-0.4/Makefile.in
+--- libwiimote-0.4/Makefile.in.jx	2007-12-18 10:46:33.000000000 -0500
++++ libwiimote-0.4/Makefile.in	2007-12-18 10:47:39.000000000 -0500
+@@ -25,6 +25,9 @@ subdirs:
+ install:
+ 	mkdir -p $(DESTDIR)$(libdir) $(DESTDIR)$(libwiimote_includedir)
+ 	$(INSTALL) -m 755 $(LIBDIR)/libcwiimote.so $(DESTDIR)$(libdir)/libcwiimote.so.$(PACKAGE_VERSION)
++	cd $(DESTDIR)$(libdir) && ln -s libcwiimote.so.$(PACKAGE_VERSION) libcwiimote.so.0
++	cd $(DESTDIR)$(libdir) && ln -s libcwiimote.so.0 libcwiimote.so
++
+ 	$(INSTALL) -m 755 $(LIBDIR)/libcwiimote.a $(DESTDIR)$(libdir)/libcwiimote.a
+ 	for i in $(SRCDIR)/*.h; do \
+ 		$(INSTALL) -m 644 $$i $(DESTDIR)$(libwiimote_includedir); \

Added: trunk/rpms/libwiimote/libwiimote-0.4-fpic.patch
===================================================================
--- trunk/rpms/libwiimote/libwiimote-0.4-fpic.patch	                        (rev 0)
+++ trunk/rpms/libwiimote/libwiimote-0.4-fpic.patch	2008-05-27 00:00:25 UTC (rev 6331)
@@ -0,0 +1,33 @@
+diff -up libwiimote-0.4/configure.in.BAD libwiimote-0.4/configure.in
+--- libwiimote-0.4/configure.in.BAD	2007-12-18 10:19:06.000000000 -0500
++++ libwiimote-0.4/configure.in	2007-12-18 10:29:08.000000000 -0500
+@@ -9,6 +9,29 @@ AC_CONFIG_SRCDIR([src])
+ AC_PROG_CC
+ AC_PROG_INSTALL
+ 
++if test "$GCC" = "yes"; then
++  case "${host_cpu}" in
++## Sparc has only an 8k global object table, 1024 entries on 64-bit.
++## PowerPC has 32k, not enough on ppc64 though.
++## The only other platform where this is said to matter is m68k, which
++## has 32k and so can use -fpic.
++## However, although the gcc docs do not mention it, it seems s390/s390x
++## also supports and needs -fPIC
++    sparc*|ppc64|powerpc64|s390*)
++      cpicflags="-fPIC"
++      ;;
++    *)
++      cpicflags="-fpic"
++      ;;
++  esac
++fi
++
++: ${CPICFLAGS="${cpicflags}"}
++
++AC_SUBST(CPICFLAGS)
++
++CFLAGS="${CFLAGS} ${CPICFLAGS}"
++
+ # Checks for BlueZ.
+ AC_CHECK_LIB([bluetooth], [hci_remote_name],
+ 	     [], [AC_MSG_ERROR([We require BlueZ])])

Added: trunk/rpms/libwiimote/libwiimote-0.4-includedir.patch
===================================================================
--- trunk/rpms/libwiimote/libwiimote-0.4-includedir.patch	                        (rev 0)
+++ trunk/rpms/libwiimote/libwiimote-0.4-includedir.patch	2008-05-27 00:00:25 UTC (rev 6331)
@@ -0,0 +1,12 @@
+diff -up libwiimote-0.4/Makefile.in.jx libwiimote-0.4/Makefile.in
+--- libwiimote-0.4/Makefile.in.jx	2007-02-22 09:54:54.000000000 -0500
++++ libwiimote-0.4/Makefile.in	2007-12-18 10:45:00.000000000 -0500
+@@ -6,7 +6,7 @@ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ libdir = @libdir@
+ includedir = @includedir@
+-libwiimote_includedir = $(includedir)/libcwiimote-$(PACKAGE_VERSION)/libcwiimote
++libwiimote_includedir = $(includedir)/libcwiimote
+ 
+ INSTALL = @INSTALL@
+ 

Added: trunk/rpms/libwiimote/libwiimote-0.4-soname.patch
===================================================================
--- trunk/rpms/libwiimote/libwiimote-0.4-soname.patch	                        (rev 0)
+++ trunk/rpms/libwiimote/libwiimote-0.4-soname.patch	2008-05-27 00:00:25 UTC (rev 6331)
@@ -0,0 +1,12 @@
+diff -up libwiimote-0.4/src/Makefile.in.jx libwiimote-0.4/src/Makefile.in
+--- libwiimote-0.4/src/Makefile.in.jx	2007-03-10 09:46:36.000000000 -0500
++++ libwiimote-0.4/src/Makefile.in	2008-01-07 18:27:23.000000000 -0500
+@@ -33,7 +33,7 @@ SOURCES = wiimote_link.c \
+ all: libcwiimote.a libcwiimote.so
+ 
+ libcwiimote.so: $(SOURCES) $(HEADERS)
+-	$(CC) $(CFLAGS) $(INCLUDES) $(SOURCES) -shared -o $@  $(LIBS)
++	$(CC) $(CFLAGS) $(INCLUDES) $(SOURCES) -shared -o $@  $(LIBS) -Wl,-soname,libcwiimote.so.0
+ 	@cp $@ $(LIBDIR)
+ 
+ libcwiimote.a: $(SOURCES) $(HEADERS)

Added: trunk/rpms/libwiimote/libwiimote.spec
===================================================================
--- trunk/rpms/libwiimote/libwiimote.spec	                        (rev 0)
+++ trunk/rpms/libwiimote/libwiimote.spec	2008-05-27 00:00:25 UTC (rev 6331)
@@ -0,0 +1,73 @@
+# $Id$
+# Authority: dag
+
+Summary: Simple Wiimote Library for Linux
+Name: libwiimote
+Version: 0.4
+Release: 1
+License: GPL
+Group: System Environment/Libraries
+URL: http://libwiimote.sourceforge.net/
+
+Source: http://dl.sf.net/libwiimote/libwiimote-%{version}.tgz
+Patch0: libwiimote-0.4-fpic.patch
+Patch1: libwiimote-0.4-includedir.patch
+Patch2: libwiimote-0.4-dso-symlinks.patch
+Patch3: libwiimote-0.4-soname.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: autoconf
+BuildRequires: bluez-libs-devel
+
+%description
+Libwiimote is a C-library that provides a simple API for communicating with
+the Nintendo Wii Remote (aka. wiimote) on a Linux system. The goal of this
+library is to be a complete and easy to use framework for interfacing
+applications with the wiimote.
+
+%package devel
+Summary: Header files, libraries and development documentation for %{name}.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package contains the header files, static libraries and development
+documentation for %{name}. If you like to develop programs using %{name},
+you will need to install %{name}-devel.
+
+%prep
+%setup
+%patch0 -p1 -b .fpic
+%patch1 -p1 -b .includedir
+%patch2 -p1 -b .dso-symlinks
+%patch3 -p1 -b .soname
+
+%build
+autoconf
+%configure --disable-static
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(-, root, root, 0755)
+%doc AUTHORS COPYING NEWS README TODO
+%{_libdir}/libcwiimote.so.*
+
+%files devel
+%defattr(-, root, root, 0755)
+%{_includedir}/libcwiimote/
+%{_libdir}/libcwiimote.so
+%exclude %{_libdir}/libcwiimote.a
+
+%changelog
+* Sat May 24 2008 Dag Wieers <dag at wieers.com> - 0.4-1
+- Initial package. (using DAR)


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

Added: trunk/rpms/perl-Linux-Input-Wiimote/perl-Linux-Input-Wiimote.spec
===================================================================
--- trunk/rpms/perl-Linux-Input-Wiimote/perl-Linux-Input-Wiimote.spec	                        (rev 0)
+++ trunk/rpms/perl-Linux-Input-Wiimote/perl-Linux-Input-Wiimote.spec	2008-05-27 00:00:25 UTC (rev 6331)
@@ -0,0 +1,63 @@
+# $Id$
+# Authority: dag
+# Upstream: Chad Phillips <chad$chadphillips,org>
+
+%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
+%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)
+
+%define real_name Linux-Input-Wiimote
+
+Summary: Perl interface to the libcwiimote library
+Name: perl-Linux-Input-Wiimote
+Version: 0.04002
+Release: 1
+License: Artistic/GPL
+Group: Applications/CPAN
+URL: http://search.cpan.org/dist/Linux-Input-Wiimote/
+
+Source: http://www.cpan.org/modules/by-module/Linux/Linux-Input-Wiimote-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+
+BuildRequires: libwiimote-devel
+BuildRequires: perl
+BuildRequires: perl(Test::More)
+
+%description
+Perl interface to the libcwiimote library.
+
+%prep
+%setup -n %{real_name}-%{version}
+
+%build
+#CFLAGS="%{optflags}" %{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}" INC="%{_includedir}/libcwiimote/" libpth="%{_libdir}"
+#%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"
+perl Makefile.PL
+make
+
+%install
+%{__rm} -rf %{buildroot}
+%{__make} pure_install
+
+### Clean up buildroot
+find %{buildroot} -name .packlist -exec %{__rm} {} \;
+
+### Clean up docs
+find examples/ -type f -exec %{__chmod} a-x {} \;
+
+%clean
+%{__rm} -rf %{buildroot}
+
+%files
+%defattr(-, root, root, 0755)
+%doc Changes MANIFEST META.yml README examples/
+%doc %{_mandir}/man3/Linux::Input::Wiimote.3pm*
+%dir %{perl_vendorarch}/auto/Linux/
+%dir %{perl_vendorarch}/auto/Linux/Input/
+%{perl_vendorarch}/auto/Linux/Input/Wiimote/
+%dir %{perl_vendorarch}/Linux/
+%dir %{perl_vendorarch}/Linux/Input/
+%{perl_vendorarch}/Linux/Input/Wiimote.pm
+
+%changelog
+* Sat May 24 2008 Dag Wieers <dag at wieers.com> - 0.04002-1
+- Initial package. (using DAR)


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

Modified: trunk/rpms/pngcrush/pngcrush.spec
===================================================================
--- trunk/rpms/pngcrush/pngcrush.spec	2008-05-26 23:47:03 UTC (rev 6330)
+++ trunk/rpms/pngcrush/pngcrush.spec	2008-05-27 00:00:25 UTC (rev 6331)
@@ -4,7 +4,7 @@
 
 Summary: Optimizer for PNG (Portable Network Graphics) files
 Name: pngcrush
-Version: 1.6.5
+Version: 1.6.6
 Release: 1
 License: GPL
 Group: Applications/File
@@ -44,6 +44,9 @@
 %{_bindir}/pngcrush
 
 %changelog
+* Thu May 22 2008 Dag Wieers <dag at wieers.com> - 1.6.6-1
+- Updated to release 1.6.6.
+
 * Wed May 14 2008 Dag Wieers <dag at wieers.com> - 1.6.5-1
 - Updated to release 1.6.5.
 

Modified: trunk/rpms/testdisk/testdisk-devel.spec
===================================================================
--- trunk/rpms/testdisk/testdisk-devel.spec	2008-05-26 23:47:03 UTC (rev 6330)
+++ trunk/rpms/testdisk/testdisk-devel.spec	2008-05-27 00:00:25 UTC (rev 6331)
@@ -21,7 +21,6 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires: e2fsprogs-devel
-BuildRequires: libewf-devel
 BuildRequires: libjpeg-devel
 BuildRequires: ncurses-devel >= 5.2
 %{!?_without_ewf:BuildRequires: libewf-devel}
@@ -42,6 +41,7 @@
 %build
 %configure \
     --program-prefix="%{?_program_prefix}" \
+%{?_without_ewf:--without-ewf} \
 %{?_without_ntfs:--without-ntfs}
 %{__make} %{?_smp_mflags}
 

Modified: trunk/rpms/testdisk/testdisk.spec
===================================================================
--- trunk/rpms/testdisk/testdisk.spec	2008-05-26 23:47:03 UTC (rev 6330)
+++ trunk/rpms/testdisk/testdisk.spec	2008-05-27 00:00:25 UTC (rev 6331)
@@ -41,6 +41,7 @@
 %build
 %configure \
     --program-prefix="%{?_program_prefix}" \
+%{?_without_ewf:--without-ewf} \
 %{?_without_ntfs:--without-ntfs}
 %{__make} %{?_smp_mflags}
 




More information about the commits mailing list