summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Bachelot <xavier@bachelot.org>2018-02-02 12:13:31 +0100
committerRemi Collet <remi@remirepo.net>2018-02-02 12:24:40 +0100
commit2fa2e55de458b83680a32bd962e5b73fadaaacfb (patch)
treee428e0d3fbf11c1ec356ed7362de7554ae430806
parent89b5d0ae45f3a726bc5ca128ed51df5042752874 (diff)
1.4.1; spec clean up
-rw-r--r--libdvdcss.spec26
1 files 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 <xavier@bachelot.org> - 1.4.1-1
+- Update to 1.4.1.
+- Clean up spec.
+
* Fri Dec 18 2015 Remi Collet <remi@remirepo.net> - 1.4.0-1
- Update to 1.4.0