/[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 681429 by umeabot, Tue Sep 16 16:52:38 2014 UTC revision 1479395 by wally, Thu Jan 16 20:15:30 2020 UTC
# Line 1  Line 1 
1  %define name    libdvdcss  %define major           2
2  %define version 1.3.0  %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.2
7    Release:        %mkrel 2
 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:         http://download.videolan.org/pub/%{name}/%{version}/%{name}-%{version}.tar.bz2  
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 55  Provides:      %{name}-devel = %{version}-%{r Line 52  Provides:      %{name}-devel = %{version}-%{r
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 67  package installed. Line 64  package installed.
64  %setup -q  %setup -q
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  rm -rf %{buildroot}%{_docdir}/%{name}  rm -rf %{buildroot}%{_docdir}/%{name}
77    
78  %files -n %{libname}  %files -n %{libname}
79  %doc AUTHORS README  %doc AUTHORS README
80  %{_libdir}/*.so.%{major}*  %{_libdir}/*.so.%{major}{,.*}
81    
82  %files -n %{develname}  %files -n %{develname}
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.681429  
changed lines
  Added in v.1479395

  ViewVC Help
Powered by ViewVC 1.1.30