]> git.pld-linux.org Git - packages/libdvdread.git/blob - libdvdread.spec
- use more macros, some cosmetics, added missing "rm -f missing" and use new %doc
[packages/libdvdread.git] / libdvdread.spec
1 Summary:        Library to read DVD images
2 Summary(pl):    Biblioteka do odczytu obrazów DVD-Video
3 Name:           libdvdread
4 Version:        0.9.3
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Source0:        http://www.dtek.chalmers.se/groups/dvd/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-alpha.patch
10 URL:            http://www.dtek.chalmers.se/groups/dvd/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 libdvdread provides a simple foundation for reading DVD-Video images.
18
19 For reading CSS-encrypted DVDs you will also need libdvdcss package.
20
21 %description -l pl
22 Biblioteka dostarczaj±ca prosty interfejs do odczytu obrazów
23 DVD-Video.
24
25 Aby czytaæ p³yty DVD szyfrowane CSS potrzebny jest tak¿e pakiet
26 libdvdcss.
27
28 %package devel
29 Summary:        %{name} library headers
30 Summary(pl):    Pliki nag³ówkowe biblioteki %{name}
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}
33
34 %description devel
35 This is the libraries, include files and other resources you can use
36 to incorporate libdvdread into applications.
37
38 %description devel -l pl
39 Pliki nag³ówkowe oraz dokumentacja pozwalaj±ca na dodawanie obs³ugi
40 dvd w swoich programach.
41
42 %package static
43 Summary:        libdevdread static libraries
44 Summary(pl):    Statyczne biblioteki do obs³ugi formatu DVD-Video
45 Group:          Development/Libraries
46 Requires:       %{name}-devel = %{version}
47
48 %description static
49 This is package with static libdvdread libraries.
50
51 %description static -l pl
52 Statyczne biblioteki libdvdread.
53
54 %prep
55 %setup  -q
56 %patch0 -p1
57
58 %build
59 rm -f missing
60 %{__libtoolize}
61 %{__aclocal}
62 %{__autoconf}
63 automake -a
64 %configure
65
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install DESTDIR=$RPM_BUILD_ROOT
72
73 gzip -9nf README AUTHORS TODO NEWS
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files
82 %defattr(644,root,root,755)
83 %doc *.gz
84 %attr(755,root,root) %{_libdir}/lib*.so.*
85
86 %files devel
87 %defattr(644,root,root,755)
88 %attr(755,root,root) %{_libdir}/lib*.so
89 %attr(755,root,root) %{_libdir}/lib*.la
90 %{_includedir}/dvdread
91
92 %files static
93 %defattr(644,root,root,755)
94 %{_libdir}/lib*.a
This page took 0.075741 seconds and 4 git commands to generate.