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

Ville Skytta (scop) fedora-extras-commits at redhat.com
Sun Jun 5 08:34:29 UTC 2005


Author: scop

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

Modified Files:
	libebml.spec 
Log Message:
Split -devel, run ldconfig, fix *.so modes.


Index: libebml.spec
===================================================================
RCS file: /cvs/extras/rpms/libebml/devel/libebml.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- libebml.spec	25 May 2005 20:42:34 -0000	1.10
+++ libebml.spec	5 Jun 2005 08:34:26 -0000	1.11
@@ -1,12 +1,11 @@
 Summary: 	The Extensible Binary Meta Language library
 Name: 		libebml
 Version: 	0.7.5
-Release: 1
+Release: 	2
 License: 	LGPL
-Group: 		Development/Libraries
+Group: 		System Environment/Libraries
 URL: 		http://ebml.sourceforge.net/
 Source: 	http://dl.matroska.org/downloads/libebml/libebml-%{version}.tar.bz2
-Provides:	%{name}-devel = %{version}-%{release}
 BuildRoot: 	%{_tmppath}/%{name}-%{version}-%{release}-buildroot-%(%{__id_u} -n)
 
 %description
@@ -14,6 +13,14 @@
 and writing files with the Extensible Binary Meta Language, a binary
 pendant to XML.
 
+%package 	devel
+Summary: 	Development files for libebml
+Group: 		Development/Libraries
+Requires: 	%{name} = %{version}-%{release}
+
+%description 	devel
+%{summary}.
+
 
 %prep
 %setup -q
@@ -27,21 +34,35 @@
 rm -rf $RPM_BUILD_ROOT
 make -C make/linux \
   prefix=$RPM_BUILD_ROOT%{_prefix} libdir=$RPM_BUILD_ROOT%{_libdir} install
+chmod +x $RPM_BUILD_ROOT%{_libdir}/libebml.so*
 
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+
 %files
 %defattr(-,root,root,-)
 %doc ChangeLog LICENSE.LGPL
-%{_includedir}/ebml
+%{_libdir}/libebml.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/ebml/
 %{_libdir}/libebml.a
-%{_libdir}/libebml.so*
+%{_libdir}/libebml.so
 
 
 %changelog
+* Sun Jun  5 2005 Ville Skyttä <ville.skytta at iki.fi> - 0.7.5-2
+- Split development files into a devel subpackage.
+- Run ldconfig at post (un)install time.
+- Fix shared library file modes.
+
 * Wed May 25 2005 Jeremy Katz <katzj at redhat.com> - 0.7.5-1
 - update to 0.7.5 (fixes x86_64 build)
 - incldue shared libs




More information about the fedora-extras-commits mailing list