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

Annotation of /cauldron/libdvdcss/current/SPECS/libdvdcss.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1204296 - (hide annotations) (download)
Fri Feb 23 00:59:32 2018 UTC (6 years, 1 month ago) by daviddavid
File size: 2996 byte(s)
- new version: 1.4.1 (fixes mga#21566)
- disable static libraries
- use new rpm macros (SILENT)

1 daviddavid 1204296 %define major 2
2     %define libname %mklibname dvdcss %{major}
3     %define develname %mklibname dvdcss -d
4 tux99 64869
5 luigiwalser 914456 Name: libdvdcss
6 daviddavid 1204296 Version: 1.4.1
7 luigiwalser 914457 Release: %mkrel 1
8 tux99 64880 Summary: Library for accessing DVDs as a block device using deCSS if needed
9 tux99 64869 License: GPLv2+
10     Group: System/Libraries
11     URL: http://www.videolan.org/libdvdcss
12 daviddavid 1204296 Source: http://download.videolan.org/pub/%{name}/%{version}/%{name}-%{version}.tar.bz2
13 tux99 64869
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 tux99 64919 This package is in 'tainted' as it may violate patents in some countries.
28 tux99 64869
29 luigiwalser 401187 %package -n %{libname}
30 supp 188879 Summary: A library for accessing DVDs as a block device using deCSS if needed
31     Group: System/Libraries
32 luigiwalser 401187 Provides: %{name} = %{version}-%{release}
33 tux99 64869
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 luigiwalser 401187 %package -n %{develname}
48 supp 188879 Summary: Development tools for programs which will use the %{name} library
49     Group: Development/C
50 luigiwalser 401187 Requires: %{libname} = %{version}
51     Provides: %{name}-devel = %{version}-%{release}
52 supp 188879 Obsoletes: %mklibname -d dvdcss 2
53 tux99 64869
54 luigiwalser 401187 %description -n %{develname}
55 daviddavid 1204296 The %{develname} package includes the header files and static libraries
56 tux99 64869 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 daviddavid 1204296 %configure2_5x --disable-static
68     %make_build
69 tux99 64869
70     %install
71 daviddavid 1204296 %make_install
72 tux99 64869
73 daviddavid 1204296 # we don't want these
74     find %{buildroot} -name '*.la' -delete
75    
76 luigiwalser 401187 rm -rf %{buildroot}%{_docdir}/%{name}
77    
78 tux99 64869 %files -n %{libname}
79 luigiwalser 401187 %doc AUTHORS README
80 daviddavid 1204296 %{_libdir}/*.so.%{major}{,.*}
81 tux99 64869
82 luigiwalser 401187 %files -n %{develname}
83 tux99 64869 %doc ChangeLog COPYING
84     %{_libdir}/*.so
85     %{_includedir}/*
86 daviddavid 1204296 %{_libdir}/pkgconfig/*.pc

  ViewVC Help
Powered by ViewVC 1.1.30