1 |
%define major 2 |
%define major 2 |
2 |
%define libname %mklibname dvdcss %{major} |
%define libname %mklibname dvdcss %{major} |
3 |
%define develname %mklibname -d dvdcss |
%define develname %mklibname dvdcss -d |
4 |
|
|
5 |
Name: libdvdcss |
Name: libdvdcss |
6 |
Version: 1.4.0 |
Version: 1.4.2 |
7 |
Release: %mkrel 1 |
Release: %mkrel 3 |
8 |
Summary: Library for accessing DVDs as a block device using deCSS if needed |
Summary: Library for accessing DVDs as a block device using deCSS if needed |
|
Source: http://download.videolan.org/pub/%{name}/%{version}/%{name}-%{version}.tar.bz2 |
|
9 |
License: GPLv2+ |
License: GPLv2+ |
10 |
Group: System/Libraries |
Group: System/Libraries |
11 |
URL: http://www.videolan.org/libdvdcss |
URL: http://www.videolan.org/libdvdcss |
12 |
|
Source: http://download.videolan.org/pub/%{name}/%{version}/%{name}-%{version}.tar.bz2 |
13 |
|
|
14 |
%description |
%description |
15 |
libdvdcss is a simple library designed for accessing DVDs like a block device |
libdvdcss is a simple library designed for accessing DVDs like a block device |
52 |
Obsoletes: %mklibname -d dvdcss 2 |
Obsoletes: %mklibname -d dvdcss 2 |
53 |
|
|
54 |
%description -n %{develname} |
%description -n %{develname} |
55 |
The %{name}-devel package includes the header files and static libraries |
The %{develname} package includes the header files and static libraries |
56 |
necessary for developing programs which will manipulate DVDs files using |
necessary for developing programs which will manipulate DVDs files using |
57 |
the %{name} library. |
the %{name} library. |
58 |
|
|
64 |
%setup -q |
%setup -q |
65 |
|
|
66 |
%build |
%build |
67 |
%configure2_5x |
%configure --disable-static |
68 |
%make |
%make_build |
69 |
|
|
70 |
%install |
%install |
71 |
%makeinstall_std |
%make_install |
72 |
|
|
73 |
|
# we don't want these |
74 |
|
find %{buildroot} -name '*.la' -delete |
75 |
|
|
76 |
rm -rf %{buildroot}%{_docdir}/%{name} |
rm -rf %{buildroot}%{_docdir}/%{name} |
77 |
|
|
78 |
%files -n %{libname} |
%files -n %{libname} |
79 |
%doc AUTHORS README |
%doc AUTHORS README |
80 |
%{_libdir}/*.so.%{major}* |
%{_libdir}/*.so.%{major}{,.*} |
81 |
|
|
82 |
%files -n %{develname} |
%files -n %{develname} |
83 |
%doc ChangeLog COPYING |
%doc ChangeLog COPYING |
|
%{_libdir}/*.a |
|
|
%{_libdir}/*.la |
|
84 |
%{_libdir}/*.so |
%{_libdir}/*.so |
85 |
%{_includedir}/* |
%{_includedir}/* |
86 |
%_libdir/pkgconfig/*.pc |
%{_libdir}/pkgconfig/*.pc |