From 2fa2e55de458b83680a32bd962e5b73fadaaacfb Mon Sep 17 00:00:00 2001 From: Xavier Bachelot Date: Fri, 2 Feb 2018 12:13:31 +0100 Subject: 1.4.1; spec clean up --- libdvdcss.spec | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/libdvdcss.spec b/libdvdcss.spec index 47a633a..4e477e6 100644 --- a/libdvdcss.spec +++ b/libdvdcss.spec @@ -1,13 +1,11 @@ Summary: A portable abstraction library for DVD decryption Name: libdvdcss -Version: 1.4.0 +Version: 1.4.1 Release: 1%{?dist} License: GPLv2+ -Group: System Environment/Libraries Source: http://www.videolan.org/pub/videolan/libdvdcss/%{version}/libdvdcss-%{version}.tar.bz2 URL: http://www.videolan.org/libdvdcss/ -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: doxygen @@ -20,9 +18,7 @@ VideoLAN client and the Xine navigation plugin. %package devel Summary: Header files and development libraries for %{name} -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: pkgconfig %description devel This package contains the header files and development libraries @@ -35,33 +31,31 @@ you will need to install %{name}-devel. %build -%configure +%configure --disable-static make %{_smp_mflags} %install -rm -rf %{buildroot} make install DESTDIR=%{buildroot} # remove generated doc from build mv %{buildroot}/usr/share/doc/libdvdcss docdir +# Remove all libtool archives +find %{buildroot} -regex ".*\.la$" -delete -%clean -rm -rf %{buildroot} + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig %files -%defattr(-,root,root,-) -%{!?_licensedir:%global license %%doc} %license COPYING %doc AUTHORS ChangeLog README -%exclude %{_libdir}/%{name}.a -%exclude %{_libdir}/%{name}.la %{_libdir}/%{name}.so.2* %files devel -%defattr(-,root,root,-) %doc docdir/* %{_includedir}/dvdcss %{_libdir}/%{name}.so @@ -69,6 +63,10 @@ rm -rf %{buildroot} %changelog +* Thu Feb 01 2018 Xavier Bachelot - 1.4.1-1 +- Update to 1.4.1. +- Clean up spec. + * Fri Dec 18 2015 Remi Collet - 1.4.0-1 - Update to 1.4.0 -- cgit