/[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 64869 - (show annotations) (download)
Sat Mar 5 13:27:21 2011 UTC (13 years, 1 month ago) by tux99
Original Path: cauldron/libdvdcss/current/SPECS/libdvdcss.spec
File size: 3322 byte(s)
imported package libdvdcss
1 %define name libdvdcss
2 %define version 1.2.10
3 %define distsuffix plf
4 %define release %mkrel 2
5 %define major 2
6 %define libname %mklibname dvdcss %{major}
7 %define develname %mklibname -d dvdcss
8
9 Name: %{name}
10 Version: %{version}
11 Release: %{release}
12 Summary: Library for accessing DVDs like block device usind deCSS if needed
13 Source: %{name}-%{version}.tar.bz2
14 Patch: libdvdcss-1.2.10-format-strings.patch
15 License: GPLv2+
16 Group: System/Libraries
17 URL: http://www.videolan.org/libdvdcss
18 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
19 Conflicts: libdvdcss0.0.1
20 Conflicts: libdvdcss0.0.2
21
22 %description
23 libdvdcss is a simple library designed for accessing DVDs like a block device
24 without having to bother about the decryption. The important features are:
25 * Portability. Currently supported platforms are GNU/Linux, FreeBSD, NetBSD,
26 OpenBSD, BSD/OS, BeOS, Windows 95/98, Windows NT/2000, MacOS X, Solaris,
27 and HP-UX.
28 * Simplicity. There are currently 7 functions in the API, and we intend to
29 keep this number low.
30 * Freedom. libdvdcss is released under the General Public License, ensuring
31 it will stay free, and used only for free software products.
32 * Just better. Unlike most similar projects, libdvdcss doesn't require the
33 region of your drive to be set.
34
35 This package is in PLF as it violates patents.
36
37 %package -n %{libname}
38 Summary: A library for accessing DVDs like block device usind deCSS if needed
39 Group: System/Libraries
40 Provides: %name = %version-%release
41
42 %description -n %{libname}
43 libdvdcss is a simple library designed for accessing DVDs like a block device
44 without having to bother about the decryption. The important features are:
45 * Portability. Currently supported platforms are GNU/Linux, FreeBSD, NetBSD,
46 OpenBSD, BSD/OS, BeOS, Windows 95/98, Windows NT/2000, MacOS X, Solaris,
47 and HP-UX.
48 * Simplicity. There are currently 7 functions in the API, and we intend to
49 keep this number low.
50 * Freedom. libdvdcss is released under the General Public License, ensuring
51 it will stay free, and used only for free software products.
52 * Just better. Unlike most similar projects, libdvdcss doesn't require the
53 region of your drive to be set.
54
55 %package -n %develname
56 Summary: Development tools for programs which will use the %{name} library
57 Group: Development/C
58 Requires: %{libname} = %version
59 Provides: %{name}-devel = %version-%release
60 Obsoletes: %mklibname -d dvdcss 2
61
62 %description -n %develname
63 The %{name}-devel package includes the header files and static libraries
64 necessary for developing programs which will manipulate DVDs files using
65 the %{name} library.
66
67 If you are going to develop programs which will manipulate DVDs, you
68 should install %{name}-devel. You'll also need to have the %{name}
69 package installed.
70
71 %prep
72 %setup -q
73 %patch -p1
74
75 %build
76 %if %mdkversion <= 1000
77 %define __libtoolize true
78 %endif
79 %configure2_5x
80 %make
81
82 %install
83 %makeinstall_std
84
85 %clean
86 rm -rf $RPM_BUILD_ROOT
87
88 %post -n %{libname} -p /sbin/ldconfig
89
90 %postun -n %{libname} -p /sbin/ldconfig
91
92 %files -n %{libname}
93 %defattr(-,root,root)
94 %doc AUTHORS COPYING
95 %{_libdir}/*.so.%{major}*
96
97 %files -n %develname
98 %defattr(-,root,root)
99 %doc ChangeLog COPYING
100 %{_libdir}/*.a
101 %{_libdir}/*.la
102 %{_libdir}/*.so
103 %{_includedir}/*
104 %_libdir/pkgconfig/*.pc
105

  ViewVC Help
Powered by ViewVC 1.1.30