Split -devel, run ldconfig, fix *.so modes.

epel8
Ville Skyttä 20 years ago
parent fb54417cab
commit 0e980924e9

@ -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 @@ Extensible Binary Meta Language access library A library for reading
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 @@ CXXFLAGS="$RPM_OPT_FLAGS" make -C make/linux %{?_smp_mflags}
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@redhat.com> - 0.7.5-1
- update to 0.7.5 (fixes x86_64 build)
- incldue shared libs

Loading…
Cancel
Save