/[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 64869 by tux99, Sat Mar 5 13:27:21 2011 UTC revision 64927 by tux99, Sat Mar 5 14:55:36 2011 UTC
# Line 1  Line 1 
1  %define name    libdvdcss  %define name    libdvdcss
2  %define version 1.2.10  %define version 1.2.10
3  %define distsuffix plf  %define release %mkrel 3
 %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
# Line 9  Line 8 
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:         %{name}-%{version}.tar.bz2
13  Patch:          libdvdcss-1.2.10-format-strings.patch  Patch:          libdvdcss-1.2.10-format-strings.patch
14  License:        GPLv2+  License:        GPLv2+
15  Group:          System/Libraries  Group:          System/Libraries
16  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  
17    
18  %description  %description
19  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 28  without having to bother about the decry
28   * Just better. Unlike most similar projects, libdvdcss doesn't require the   * Just better. Unlike most similar projects, libdvdcss doesn't require the
29     region of your drive to be set.     region of your drive to be set.
30    
31  This package is in PLF as it violates patents.  This package is in 'tainted' as it may violate patents in some countries.
32    
33  %package -n %{libname}  %package -n %{libname}
34  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
35  Group:          System/Libraries  Group:          System/Libraries
36  Provides:       %name = %version-%release  Provides:       %name = %version-%release
37    
# Line 73  package installed. Line 69  package installed.
69  %patch -p1  %patch -p1
70    
71  %build  %build
 %if %mdkversion <= 1000  
 %define __libtoolize true  
 %endif  
72  %configure2_5x  %configure2_5x
73  %make  %make
74    
# Line 85  package installed. Line 78  package installed.
78  %clean  %clean
79  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
80    
 %post -n %{libname} -p /sbin/ldconfig  
   
 %postun -n %{libname} -p /sbin/ldconfig  
   
81  %files -n %{libname}  %files -n %{libname}
82  %defattr(-,root,root)  %defattr(-,root,root)
83  %doc AUTHORS COPYING  %doc AUTHORS COPYING

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

  ViewVC Help
Powered by ViewVC 1.1.30