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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1849701 - (hide annotations) (download)
Thu Apr 14 17:55:47 2022 UTC (2 years ago) by schedbot
File size: 2994 byte(s)
Copying release 1.4.3-2.mga9.tainted to pristine/ directory.
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 luigiwalser 1738834 Version: 1.4.3
7 umeabot 1849687 Release: %mkrel 2
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 danf 1786060 URL: https://www.videolan.org/libdvdcss
12     Source: https://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 wally 1479395 %configure --disable-static
68 daviddavid 1204296 %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