Author: qboosh                       Date: Sat Jan 12 14:11:17 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fixed copy-pastos, including deps and License
- added pmake,nodebug patches (the latter one contains /tmp security fix)
- .pc left packaged altough it has very little sense when using binary packages

---- Files affected:
SPECS:
   podsleuth.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/podsleuth.spec
diff -u SPECS/podsleuth.spec:1.2 SPECS/podsleuth.spec:1.3
--- SPECS/podsleuth.spec:1.2    Sat Jan 12 14:37:58 2008
+++ SPECS/podsleuth.spec        Sat Jan 12 15:11:12 2008
@@ -5,21 +5,27 @@
 Name:          podsleuth
 Version:       0.6.1
 Release:       1
-# no real license information, just included COPYING
-License:       LGPL v2
+License:       MIT
 Group:         Libraries
 Source0:       
http://banshee-project.org/files/podsleuth/%{name}-%{version}.tar.bz2
 # Source0-md5: 201f779f2a8d8cf71d1cf4e7d1b798c7
+Patch0:                %{name}-pmake.patch
+Patch1:                %{name}-nodebug.patch
 URL:           http://banshee-project.org/PodSleuth
 BuildRequires: autoconf >= 2.50
-BuildRequires: automake
+BuildRequires: automake >= 1:1.9
 BuildRequires: hal-devel >= 0.5.6
-BuildRequires: libtool
 BuildRequires: mono-csharp >= 1.1.16.1
-BuildRequires: pkgconfig
 BuildRequires: rpmbuild(monoautodeps)
-BuildRequires: sg3_utils-devel
-Obsoletes:     libipoddevice
+Requires:      hal >= 0.5.6
+# DllImport, not detected by monoautodeps
+%ifarch %{x8664} ia64 ppc64 s390x sparc64
+Requires:      libsgutils.so.1()(64bit)
+%else
+Requires:      libsgutils.so.1
+%endif
+# doesn't conflict with libipoddevice - either obsolete all libipoddevice* 
packages, or nothing
+#Obsoletes:    libipoddevice
 ExcludeArch:   i386
 # can't be noarch because of pkgconfigdir (use /usr/share/pkgconfig?)
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,6 +47,8 @@
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
 
 %build
 %{__aclocal} -I m4
@@ -54,17 +62,22 @@
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       DESTDIR=$RPM_BUILD_ROOT
+       DESTDIR=$RPM_BUILD_ROOT \
+       sleuthdir=%{_libdir}/podsleuth
+# argh: {hal-,}podsleuth scripts use @expanded_libdir@/podsleuth, which is
+# %{_libdir}-based while Makefile.am uses $(prefix)/lib/podsleuth to install
+# => sleuthdir override needed
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
+%doc AUTHORS COPYING ChangeLog NEWS README
 %attr(755,root,root) %{_bindir}/podsleuth
 %attr(755,root,root) %{_libdir}/hal/hal-podsleuth
 %{_datadir}/hal/fdi/policy/20thirdparty/20-podsleuth.fdi
+# TODO: *.mdb to -debug or /dev/null?
 %{_libdir}/podsleuth
 %{_pkgconfigdir}/podsleuth.pc
 
@@ -74,6 +87,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008-01-12 14:11:12  qboosh
+- fixed copy-pastos, including deps and License
+- added pmake,nodebug patches (the latter one contains /tmp security fix)
+- .pc left packaged altough it has very little sense when using binary packages
+
 Revision 1.2  2008-01-12 13:37:58  qboosh
 - pl
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/podsleuth.spec?r1=1.2&r2=1.3&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to