rpms/libid3tag/devel libid3tag.spec,1.9,1.10 libid3tag.pc,1.1,NONE

Ville Skytta (scop) fedora-extras-commits at redhat.com
Wed Nov 9 15:30:32 UTC 2005


Author: scop

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

Modified Files:
	libid3tag.spec 
Removed Files:
	libid3tag.pc 
Log Message:
* Wed Nov  9 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.15.1b-1
- Don't ship static libraries.
- Embed *.pc in specfile to keep it in sync with the build.
- Build with dependency tracking disabled.



Index: libid3tag.spec
===================================================================
RCS file: /cvs/extras/rpms/libid3tag/devel/libid3tag.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- libid3tag.spec	19 May 2005 18:27:39 -0000	1.9
+++ libid3tag.spec	9 Nov 2005 15:30:30 -0000	1.10
@@ -1,14 +1,12 @@
 Name:           libid3tag
-Version:        0.15.1
-Release:        3.b
+Version:        0.15.1b
+Release:        1%{?dist}
 Summary:        ID3 tag manipulation library
 
 Group:          System Environment/Libraries
 License:        GPL
 URL:            http://www.underbit.com/products/mad/
-Source0:        http://download.sourceforge.net/mad/libid3tag-0.15.1b.tar.gz
-# Originally from the Debian package.
-Source1:        %{name}.pc
+Source0:        http://download.sourceforge.net/mad/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires:  zlib-devel >= 1.1.4
@@ -20,18 +18,34 @@
 %package        devel
 Summary:        libid3tag development files
 Group:          Development/Libraries
-Requires:       %{name} = %{version}-%{release}, pkgconfig, zlib-devel
+Requires:       %{name} = %{version}-%{release}
+Requires:       pkgconfig
+Requires:       zlib-devel
 
 %description    devel
 ID3 tag library development files.
 
 
 %prep
-%setup -q -n %{name}-%{version}b
+%setup -q
+# *.pc originally from the Debian package.
+cat << \EOF > %{name}.pc
+prefix=%{_prefix}
+exec_prefix=%{_exec_prefix}
+libdir=%{_libdir}
+includedir=%{_includedir}
+
+Name: id3tag
+Description: ID3 tag manipulation library
+Requires:
+Version: %{version}
+Libs: -L${libdir} -lid3tag -lz
+Cflags: -I${includedir}
+EOF
 
 
 %build
-%configure
+%configure --disable-dependency-tracking --disable-static
 make %{?_smp_mflags}
 
 
@@ -39,7 +53,7 @@
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
-install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/id3tag.pc
+install -Dpm 644 %{name}.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/id3tag.pc
 
 
 %clean
@@ -47,8 +61,10 @@
 
 
 %post -p /sbin/ldconfig
+
 %postun -p /sbin/ldconfig
 
+
 %files
 %defattr(-,root,root,-)
 %doc CHANGES COPYING COPYRIGHT CREDITS README TODO
@@ -56,13 +72,17 @@
 
 %files devel
 %defattr(-,root,root,-)
+%{_includedir}/id3tag.h
 %{_libdir}/libid3tag.so
-%{_libdir}/libid3tag.a
 %{_libdir}/pkgconfig/id3tag.pc
-%{_includedir}/id3tag.h
 
 
 %changelog
+* Wed Nov  9 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.15.1b-1
+- Don't ship static libraries.
+- Embed *.pc in specfile to keep it in sync with the build.
+- Build with dependency tracking disabled.
+
 * Thu May 19 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.15.1-3.b
 - Rebuild.
 


--- libid3tag.pc DELETED ---




More information about the fedora-extras-commits mailing list