/[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 64927 by tux99, Sat Mar 5 14:55:36 2011 UTC revision 401187 by luigiwalser, Sat Mar 2 23:16:44 2013 UTC
# Line 1  Line 1 
1  %define name    libdvdcss  %define name    libdvdcss
2  %define version 1.2.10  %define version 1.2.13
3  %define release %mkrel 3  %define release %mkrel 1
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    
# Line 9  Name:          %{name} Line 9  Name:          %{name}
9  Version:        %{version}  Version:        %{version}
10  Release:        %{release}  Release:        %{release}
11  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
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
# Line 30  without having to bother about the decry Line 29  without having to bother about the decry
29    
30  This package is in 'tainted' as it may violate patents in some countries.  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 as a block device using 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 48  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 66  package installed. Line 65  package installed.
65    
66  %prep  %prep
67  %setup -q  %setup -q
 %patch -p1  
68    
69  %build  %build
70  %configure2_5x  %configure2_5x
# Line 75  package installed. Line 73  package installed.
73  %install  %install
74  %makeinstall_std  %makeinstall_std
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
 %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.64927  
changed lines
  Added in v.401187

  ViewVC Help
Powered by ViewVC 1.1.30