Commit bf669a83 authored by Sam Varshavchik's avatar Sam Varshavchik Committed by Jean-Baptiste Kempf

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's avatarJean-Baptiste Kempf <jb@videolan.org>
parent ec7c3a56
......@@ -66,7 +66,7 @@ stamp-doxygen: doc/doxygen.cfg src/libdvdcss.c src/dvdcss/dvdcss.h
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)
......
......@@ -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 @@ package installed.
%files -n %{libname}
%defattr(-,root,root)
%doc AUTHORS COPYING NEWS
%{_docdir}/libdvdcss
%{_libdir}/*.so.*
%files -n %{libname}-devel
......@@ -98,6 +99,7 @@ package installed.
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/*.la
%{_libdir}/pkgconfig/*
%{_includedir}/*
%changelog
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment