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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 64880 by tux99, Sat Mar 5 13:40:09 2011 UTC revision 1738834 by luigiwalser, Tue Aug 3 01:50:02 2021 UTC
# Line 1  Line 1 
1  %define name    libdvdcss  %define major           2
2  %define version 1.2.10  %define libname         %mklibname dvdcss %{major}
3  %define release %mkrel 2  %define develname       %mklibname dvdcss -d
4  %define major   2  
5  %define libname %mklibname dvdcss %{major}  Name:           libdvdcss
6  %define develname %mklibname -d dvdcss  Version:        1.4.3
7    Release:        %mkrel 1
 Name:           %{name}  
 Version:        %{version}  
 Release:        %{release}  
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:         %{name}-%{version}.tar.bz2  
 Patch:          libdvdcss-1.2.10-format-strings.patch  
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
# Line 28  without having to bother about the decry Line 24  without having to bother about the decry
24   * Just better. Unlike most similar projects, libdvdcss doesn't require the   * Just better. Unlike most similar projects, libdvdcss doesn't require the
25     region of your drive to be set.     region of your drive to be set.
26    
27  This package is in 'tainted' as may violate patents in some countries.  This package is in 'tainted' as it may violate patents in some countries.
28    
29  %package -n %{libname}  %package -n     %{libname}
30  Summary:        A library for accessing DVDs as a block device using deCSS if needed  Summary:        A library for accessing DVDs as a block device using deCSS if needed
31  Group:          System/Libraries  Group:          System/Libraries
32  Provides:       %name = %version-%release  Provides:       %{name} = %{version}-%{release}
33    
34  %description -n %{libname}  %description -n %{libname}
35  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
# Line 48  without having to bother about the decry Line 44  without having to bother about the decry
44   * Just better. Unlike most similar projects, libdvdcss doesn't require the   * Just better. Unlike most similar projects, libdvdcss doesn't require the
45     region of your drive to be set.     region of your drive to be set.
46    
47  %package -n %develname  %package -n     %{develname}
48  Summary:        Development tools for programs which will use the %{name} library  Summary:        Development tools for programs which will use the %{name} library
49  Group:          Development/C  Group:          Development/C
50  Requires:       %{libname} = %version  Requires:       %{libname} = %{version}
51  Provides:       %{name}-devel = %version-%release  Provides:       %{name}-devel = %{version}-%{release}
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    
# Line 66  package installed. Line 62  package installed.
62    
63  %prep  %prep
64  %setup -q  %setup -q
 %patch -p1  
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  %clean  rm -rf %{buildroot}%{_docdir}/%{name}
 rm -rf $RPM_BUILD_ROOT  
77    
78  %files -n %{libname}  %files -n %{libname}
79  %defattr(-,root,root)  %doc AUTHORS README
80  %doc AUTHORS COPYING  %{_libdir}/*.so.%{major}{,.*}
 %{_libdir}/*.so.%{major}*  
81    
82  %files -n %develname  %files -n %{develname}
 %defattr(-,root,root)  
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
   

Legend:
Removed from v.64880  
changed lines
  Added in v.1738834

  ViewVC Help
Powered by ViewVC 1.1.30