/[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

cauldron/libdvdcss/current/SPECS/libdvdcss.spec revision 64869 by tux99, Sat Mar 5 13:27:21 2011 UTC obsolete/cauldron/libdvdcss/current/SPECS/libdvdcss.spec revision 389213 by pterjan, Thu Jan 17 21:29:26 2013 UTC
# Line 1  Line 1 
1  %define name    libdvdcss  %define name    libdvdcss
2  %define version 1.2.10  %define version 1.2.12
 %define distsuffix plf  
3  %define release %mkrel 2  %define release %mkrel 2
4  %define major   2  %define major   2
5  %define libname %mklibname dvdcss %{major}  %define libname %mklibname dvdcss %{major}
6  %define develname %mklibname -d dvdcss  %define develname %mklibname -d dvdcss
7    
8  Name:           %{name}  Name:           %{name}
9  Version:        %{version}  Version:        %{version}
10  Release:        %{release}  Release:        %{release}
11  Summary:        Library for accessing DVDs like block device usind deCSS if needed  Summary:        Library for accessing DVDs as a block device using deCSS if needed
12  Source:         %{name}-%{version}.tar.bz2  Source:         http://download.videolan.org/pub/%{name}/%{version}/%{name}-%{version}.tar.bz2
 Patch:          libdvdcss-1.2.10-format-strings.patch  
13  License:        GPLv2+  License:        GPLv2+
14  Group:          System/Libraries  Group:          System/Libraries
15  URL:            http://www.videolan.org/libdvdcss  URL:            http://www.videolan.org/libdvdcss
 BuildRoot:      %{_tmppath}/%{name}-%{version}-buildroot  
 Conflicts:      libdvdcss0.0.1  
 Conflicts:      libdvdcss0.0.2  
16    
17  %description  %description
18  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 32  without having to bother about the decry Line 27  without having to bother about the decry
27   * Just better. Unlike most similar projects, libdvdcss doesn't require the   * Just better. Unlike most similar projects, libdvdcss doesn't require the
28     region of your drive to be set.     region of your drive to be set.
29    
30  This package is in PLF as it violates patents.  This package is in 'tainted' as it may violate patents in some countries.
31    
32  %package -n %{libname}  %package -n %{libname}
33  Summary:        A library for accessing DVDs like block device usind deCSS if needed  Summary:        A library for accessing DVDs as a block device using deCSS if needed
34  Group:          System/Libraries  Group:          System/Libraries
35  Provides:       %name = %version-%release  Provides:       %name = %version-%release
36    
37  %description -n %{libname}  %description -n %{libname}
38  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 53  without having to bother about the decry Line 48  without having to bother about the decry
48     region of your drive to be set.     region of your drive to be set.
49    
50  %package -n %develname  %package -n %develname
51  Summary:        Development tools for programs which will use the %{name} library  Summary:        Development tools for programs which will use the %{name} library
52  Group:          Development/C  Group:          Development/C
53  Requires:       %{libname} = %version  Requires:       %{libname} = %version
54  Provides:       %{name}-devel = %version-%release  Provides:       %{name}-devel = %version-%release
55  Obsoletes: %mklibname -d dvdcss 2  Obsoletes:      %mklibname -d dvdcss 2
56    
57  %description -n %develname  %description -n %develname
58  The %{name}-devel package includes the header files and static libraries  The %{name}-devel package includes the header files and static libraries
# Line 70  package installed. Line 65  package installed.
65    
66  %prep  %prep
67  %setup -q  %setup -q
 %patch -p1  
68    
69  %build  %build
 %if %mdkversion <= 1000  
 %define __libtoolize true  
 %endif  
70  %configure2_5x  %configure2_5x
71  %make  %make
72    
73  %install  %install
74  %makeinstall_std  %makeinstall_std
75    
 %clean  
 rm -rf $RPM_BUILD_ROOT  
   
 %post -n %{libname} -p /sbin/ldconfig  
   
 %postun -n %{libname} -p /sbin/ldconfig  
   
76  %files -n %{libname}  %files -n %{libname}
 %defattr(-,root,root)  
77  %doc AUTHORS COPYING  %doc AUTHORS COPYING
78  %{_libdir}/*.so.%{major}*  %{_libdir}/*.so.%{major}*
79    
80  %files -n %develname  %files -n %develname
 %defattr(-,root,root)  
81  %doc ChangeLog COPYING  %doc ChangeLog COPYING
82  %{_libdir}/*.a  %{_libdir}/*.a
83  %{_libdir}/*.la  %{_libdir}/*.la
84  %{_libdir}/*.so  %{_libdir}/*.so
85  %{_includedir}/*  %{_includedir}/*
86  %_libdir/pkgconfig/*.pc  %_libdir/pkgconfig/*.pc
   

Legend:
Removed from v.64869  
changed lines
  Added in v.389213

  ViewVC Help
Powered by ViewVC 1.1.30