shithub: libdvdcss

Download patch

ref: bf669a831a7bc841621dc8117c18422b55656512
parent: ec7c3a567dda8afd1516b49d33672557f981eb51
author: Sam Varshavchik <mrsam@courier-mta.com>
date: Sat Feb 14 07:18:22 EST 2015

Tweak the rpm spec file

Have make clean remove libdvdcss.spec that autoconf creates from
libdvdcss.spec.in

Include %{?dist} tag into the RPM release tag, this a convention with
most RPM-based distributions.

The rpm packages were missing a few files.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>

--- a/Makefile.am
+++ b/Makefile.am
@@ -66,7 +66,7 @@
 tools: test/csstest$(EXEEXT) test/dvd_region$(EXEEXT)
 
 clean-local:
-	-rm -Rf stamp-doxygen doc/doxygen_sqlite3.db doc/html
+	-rm -Rf stamp-doxygen doc/doxygen_sqlite3.db libdvdcss.spec doc/html
 
 install-apidoc:
 	$(MKDIR_P) $(DESTDIR)$(htmldir)
--- a/libdvdcss.spec.in
+++ b/libdvdcss.spec.in
@@ -18,7 +18,7 @@
 
 Name:           %{name}
 Version:        %{version}
-Release:        %{release}
+Release:        %{release}%{?dist}
 Summary:        Library for accessing DVDs like block devices with transparent decryption
 Source:         %{name}-%{version}.tar.bz2
 License:        GPL
@@ -90,6 +90,7 @@
 %files -n %{libname}
 %defattr(-,root,root)
 %doc AUTHORS COPYING NEWS
+%{_docdir}/libdvdcss
 %{_libdir}/*.so.*
 
 %files -n %{libname}-devel
@@ -98,6 +99,7 @@
 %{_libdir}/*.a
 %{_libdir}/*.so
 %{_libdir}/*.la
+%{_libdir}/pkgconfig/*
 %{_includedir}/*
 
 %changelog