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