/[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 681429 by umeabot, Tue Sep 16 16:52:38 2014 UTC
# Line 1  Line 1 
1  %define name    libdvdcss  %define name    libdvdcss
2  %define version 1.2.10  %define version 1.3.0
 %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 52  without having to bother about the decry Line 47  without having to bother about the decry
47   * Just better. Unlike most similar projects, libdvdcss doesn't require the   * Just better. Unlike most similar projects, libdvdcss doesn't require the
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
59  necessary for developing programs which will manipulate DVDs files using  necessary for developing programs which will manipulate DVDs files using
60  the %{name} library.  the %{name} library.
# 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    
76  %clean  rm -rf %{buildroot}%{_docdir}/%{name}
 rm -rf $RPM_BUILD_ROOT  
   
 %post -n %{libname} -p /sbin/ldconfig  
   
 %postun -n %{libname} -p /sbin/ldconfig  
77    
78  %files -n %{libname}  %files -n %{libname}
79  %defattr(-,root,root)  %doc AUTHORS README
 %doc AUTHORS COPYING  
80  %{_libdir}/*.so.%{major}*  %{_libdir}/*.so.%{major}*
81    
82  %files -n %develname  %files -n %{develname}
 %defattr(-,root,root)  
83  %doc ChangeLog COPYING  %doc ChangeLog COPYING
84  %{_libdir}/*.a  %{_libdir}/*.a
85  %{_libdir}/*.la  %{_libdir}/*.la
86  %{_libdir}/*.so  %{_libdir}/*.so
87  %{_includedir}/*  %{_includedir}/*
88  %_libdir/pkgconfig/*.pc  %_libdir/pkgconfig/*.pc
   

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

  ViewVC Help
Powered by ViewVC 1.1.30