/[packages]/cauldron/libdvdcss/pristine/SPECS/libdvdcss.spec
ViewVC logotype

Contents of /cauldron/libdvdcss/pristine/SPECS/libdvdcss.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1738837 - (show annotations) (download)
Tue Aug 3 01:52:10 2021 UTC (17 months, 4 weeks ago) by schedbot
File size: 2992 byte(s)
Copying release 1.4.3-1.mga9.tainted to pristine/ directory.
1 %define major 2
2 %define libname %mklibname dvdcss %{major}
3 %define develname %mklibname dvdcss -d
4
5 Name: libdvdcss
6 Version: 1.4.3
7 Release: %mkrel 1
8 Summary: Library for accessing DVDs as a block device using deCSS if needed
9 License: GPLv2+
10 Group: System/Libraries
11 URL: http://www.videolan.org/libdvdcss
12 Source: http://download.videolan.org/pub/%{name}/%{version}/%{name}-%{version}.tar.bz2
13
14 %description
15 libdvdcss is a simple library designed for accessing DVDs like a block device
16 without having to bother about the decryption. The important features are:
17 * Portability. Currently supported platforms are GNU/Linux, FreeBSD, NetBSD,
18 OpenBSD, BSD/OS, BeOS, Windows 95/98, Windows NT/2000, MacOS X, Solaris,
19 and HP-UX.
20 * Simplicity. There are currently 7 functions in the API, and we intend to
21 keep this number low.
22 * Freedom. libdvdcss is released under the General Public License, ensuring
23 it will stay free, and used only for free software products.
24 * Just better. Unlike most similar projects, libdvdcss doesn't require the
25 region of your drive to be set.
26
27 This package is in 'tainted' as it may violate patents in some countries.
28
29 %package -n %{libname}
30 Summary: A library for accessing DVDs as a block device using deCSS if needed
31 Group: System/Libraries
32 Provides: %{name} = %{version}-%{release}
33
34 %description -n %{libname}
35 libdvdcss is a simple library designed for accessing DVDs like a block device
36 without having to bother about the decryption. The important features are:
37 * Portability. Currently supported platforms are GNU/Linux, FreeBSD, NetBSD,
38 OpenBSD, BSD/OS, BeOS, Windows 95/98, Windows NT/2000, MacOS X, Solaris,
39 and HP-UX.
40 * Simplicity. There are currently 7 functions in the API, and we intend to
41 keep this number low.
42 * Freedom. libdvdcss is released under the General Public License, ensuring
43 it will stay free, and used only for free software products.
44 * Just better. Unlike most similar projects, libdvdcss doesn't require the
45 region of your drive to be set.
46
47 %package -n %{develname}
48 Summary: Development tools for programs which will use the %{name} library
49 Group: Development/C
50 Requires: %{libname} = %{version}
51 Provides: %{name}-devel = %{version}-%{release}
52 Obsoletes: %mklibname -d dvdcss 2
53
54 %description -n %{develname}
55 The %{develname} package includes the header files and static libraries
56 necessary for developing programs which will manipulate DVDs files using
57 the %{name} library.
58
59 If you are going to develop programs which will manipulate DVDs, you
60 should install %{name}-devel. You'll also need to have the %{name}
61 package installed.
62
63 %prep
64 %setup -q
65
66 %build
67 %configure --disable-static
68 %make_build
69
70 %install
71 %make_install
72
73 # we don't want these
74 find %{buildroot} -name '*.la' -delete
75
76 rm -rf %{buildroot}%{_docdir}/%{name}
77
78 %files -n %{libname}
79 %doc AUTHORS README
80 %{_libdir}/*.so.%{major}{,.*}
81
82 %files -n %{develname}
83 %doc ChangeLog COPYING
84 %{_libdir}/*.so
85 %{_includedir}/*
86 %{_libdir}/pkgconfig/*.pc

  ViewVC Help
Powered by ViewVC 1.1.28