libdvdcss/libdvdcss.spec

100 lines
3.4 KiB
RPMSpec
Raw Normal View History

Name: libdvdcss
Version: 1.4.1
Release: 1mamba
Summary: Library for accessing DVDs like block devices with transparent decryption
Group: System/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@qilinux.it>
URL: http://www.videolan.org/libdvdcss/
Source: http://download.videolan.org/pub/libdvdcss/%{version}/libdvdcss-%{version}.tar.bz2
Patch0: %{name}-1.2.9-doxygen.patch
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
libdvdcss is a simple library designed for accessing DVDs like a block device without having to bother about the decryption.
The important features are:
* Portability: currently supported platforms are GNU/Linux, FreeBSD, NetBSD, OpenBSD, BSD/OS, BeOS, Windows 95/98/ME, Windows NT/2000/XP, MacOS X, Solaris, HP-UX and OS/2.
* Adaptability: unlike most similar projects, libdvdcss doesn't require the region of your drive to be set and will try its best to read from the disc even in the case of a region mismatch.
* Simplicity: a DVD player can be built around the libdvdcss API using no more than 6 library calls.
%package devel
Summary: Development tools for programs which will use the %{name} library
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}
%description devel
The %{name}-devel package includes the header files and static libraries necessary for developing programs which will manipulate DVDs files using the %{name} library.
If you are going to develop programs which will manipulate DVDs, you should install %{name}-devel.
You'll also need to have the %{name} package installed.
%prep
%setup -q
#%patch0 -p0
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeoldinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/libdvdcss.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/libdvdcss.a
%{_libdir}/libdvdcss.la
%{_libdir}/libdvdcss.so
%dir %{_datadir}/doc/libdvdcss
%{_datadir}/doc/libdvdcss/*
%{_libdir}/pkgconfig/libdvdcss.pc
%doc ChangeLog NEWS
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog
* Tue Jan 23 2018 Automatic Build System <autodist@mambasoft.it> 1.4.1-1mamba
- automatic version update by autodist
* Fri Jan 08 2016 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic version update by autodist
* Sun Sep 21 2014 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Mon Apr 15 2013 Automatic Build System <autodist@mambasoft.it> 1.2.13-1mamba
- automatic version update by autodist
* Tue Aug 07 2012 Automatic Build System <autodist@mambasoft.it> 1.2.12-1mamba
- automatic version update by autodist
* Wed Nov 16 2011 Automatic Build System <autodist@mambasoft.it> 1.2.11-1mamba
- automatic version update by autodist
* Fri Dec 12 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.10-1mamba
- automatic update by autodist
* Fri Feb 22 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.9-2mamba
- specfile updated
* Mon Jun 12 2006 Stefano Cotta Ramusino <stefano.cotta@qilinux.it> 1.2.9-1qilnx
- update to version 1.2.9 by autospec
* Fri Apr 09 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.8-2qilnx
- modified packages groups
* Sun Oct 04 2003 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.8-1qilnx
- first build