rpms/id3lib/devel id3lib.spec,1.10,1.11

Ville Skytta (scop) fedora-extras-commits at redhat.com
Sat Feb 18 13:02:57 UTC 2006


Author: scop

Update of /cvs/extras/rpms/id3lib/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28157

Modified Files:
	id3lib.spec 
Log Message:
* Sat Feb 18 2006 Ville Skyttä <ville.skytta at iki.fi> - 3.8.3-13
- Don't ship static libs.
- Build with dependency tracking disabled.
- Don't use %exclude.
- Drop unneeded cruft from docs, move API docs to -devel.
- Clean up some cosmetic rpmlint warnings.



Index: id3lib.spec
===================================================================
RCS file: /cvs/extras/rpms/id3lib/devel/id3lib.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- id3lib.spec	16 Jul 2005 11:08:23 -0000	1.10
+++ id3lib.spec	18 Feb 2006 13:02:49 -0000	1.11
@@ -1,7 +1,7 @@
 Summary:	Library for manipulating ID3v1 and ID3v2 tags
 Name:		id3lib
 Version:	3.8.3
-Release:	12%{?dist}
+Release:	13%{?dist}
 License:	LGPL
 Group:		System Environment/Libraries
 URL:		http://id3lib.sourceforge.net/
@@ -37,17 +37,23 @@
 %patch0 -p0
 %patch1 -p1 -b .libtool-autofoo
 %patch2 -p1 -b .io_helpers-163101
+chmod -x src/*.h src/*.cpp include/id3/*.h
+sed -i -e 's/\r//' doc/id3v2.3.0.*
+sed -i -e 's|@DOX_DIR_HTML@|%{_docdir}/%{name}-devel-%{version}/api|' \
+    doc/index.html.in
 
 
 %build
-%configure
+%configure --disable-dependency-tracking --disable-static
 make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-%makeinstall
+rm -rf $RPM_BUILD_ROOT __doc
+make install DESTDIR=$RPM_BUILD_ROOT
 make docs
+mkdir -p __doc/doc ; cp -p doc/*.{gif,jpg,png,html,txt,ico,css,php}  __doc/doc
+rm -f $RPM_BUILD_ROOT%{_libdir}/libid3.la
 
 
 %clean
@@ -55,13 +61,13 @@
 
 
 %post -p /sbin/ldconfig
+
 %postun -p /sbin/ldconfig
 
 
 %files
 %defattr(-,root,root,-)
-%doc AUTHORS COPYING ChangeLog HISTORY NEWS README THANKS TODO
-%doc doc/
+%doc AUTHORS COPYING ChangeLog HISTORY NEWS README THANKS TODO __doc/doc/
 %{_libdir}/libid3-3.8.so.*
 %{_bindir}/id3convert
 %{_bindir}/id3cp
@@ -70,13 +76,20 @@
 
 %files devel
 %defattr(-,root,root,-)
+%doc doc/api/
 %{_includedir}/id3.h
 %{_includedir}/id3/
-%{_libdir}/libid3.a
-%exclude %{_libdir}/libid3.la
 %{_libdir}/libid3.so
 
+
 %changelog
+* Sat Feb 18 2006 Ville Skyttä <ville.skytta at iki.fi> - 3.8.3-13
+- Don't ship static libs.
+- Build with dependency tracking disabled.
+- Don't use %%exclude.
+- Drop unneeded cruft from docs, move API docs to -devel.
+- Clean up some cosmetic rpmlint warnings.
+
 * Sat Jul 16 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - 3.8.3-12
 - Fix UTF-16 writing bug (bug #163101, upstream #1016290).
 




More information about the fedora-extras-commits mailing list