]> git.pld-linux.org Git - packages/libdvdread.git/blame_incremental - libdvdread.spec
ver. 5.0.0
[packages/libdvdread.git] / libdvdread.spec
... / ...
CommitLineData
1#
2# Conditional build:
3%bcond_without static_libs # don't build static library
4#
5Summary: Library to read DVD images
6Summary(pl.UTF-8): Biblioteka do odczytu obrazów DVD-Video
7Name: libdvdread
8Version: 5.0.0
9Release: 0.1
10License: GPL v2+
11Group: Libraries
12#Source0: http://dvdnav.mplayerhq.hu/releases/%{name}-%{version}.tar.xz
13Source0: http://download.videolan.org/pub/videolan/libdvdread/%{version}/%{name}-%{version}.tar.bz2
14# Source0-md5: 20b964a3fb290b8df45c6b25d37411de
15Patch0: %{name}-alpha.patch
16Patch1: %{name}-buffix.patch
17Patch2: %{name}-version.patch
18URL: http://dvdnav.mplayerhq.hu/
19BuildRequires: autoconf >= 2.53
20BuildRequires: automake >= 1.6
21BuildRequires: libtool >= 1.4
22BuildRequires: tar >= 1:1.22
23BuildRequires: xz
24BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26%description
27libdvdread provides a simple foundation for reading DVD-Video images.
28
29For reading CSS-encrypted DVDs you will also need libdvdcss package.
30
31%description -l pl.UTF-8
32Biblioteka dostarczająca prosty interfejs do odczytu obrazów
33DVD-Video.
34
35Aby czytać płyty DVD szyfrowane CSS potrzebny jest także pakiet
36libdvdcss.
37
38%package devel
39Summary: %{name} library headers
40Summary(pl.UTF-8): Pliki nagłówkowe biblioteki %{name}
41Group: Development/Libraries
42Requires: %{name} = %{version}-%{release}
43
44%description devel
45This is the libraries, include files and other resources you can use
46to incorporate libdvdread into applications.
47
48%description devel -l pl.UTF-8
49Pliki nagłówkowe oraz dokumentacja pozwalająca na dodawanie obsługi
50dvd w swoich programach.
51
52%package static
53Summary: libdvdread static libraries
54Summary(pl.UTF-8): Statyczne biblioteki do obsługi formatu DVD-Video
55Group: Development/Libraries
56Requires: %{name}-devel = %{version}-%{release}
57
58%description static
59This is package with static libdvdread libraries.
60
61%description static -l pl.UTF-8
62Statyczne biblioteki libdvdread.
63
64%prep
65%setup -q
66%patch0 -p1
67%patch1 -p1
68%patch2 -p1
69
70%build
71%{__libtoolize}
72%{__aclocal}
73%{__autoconf}
74%{__autoheader}
75%{__automake}
76%configure \
77 --disable-silent-rules \
78 %{?with_static_libs:--enable-static}
79
80%{__make}
81
82%install
83rm -rf $RPM_BUILD_ROOT
84
85%{__make} install \
86 DESTDIR=$RPM_BUILD_ROOT
87
88%clean
89rm -rf $RPM_BUILD_ROOT
90
91%post -p /sbin/ldconfig
92%postun -p /sbin/ldconfig
93
94%files
95%defattr(644,root,root,755)
96%doc AUTHORS ChangeLog README TODO
97%attr(755,root,root) %{_libdir}/libdvdread.so.*.*.*
98%attr(755,root,root) %ghost %{_libdir}/libdvdread.so.4
99
100%files devel
101%defattr(644,root,root,755)
102%attr(755,root,root) %{_libdir}/libdvdread.so
103%{_libdir}/libdvdread.la
104%{_includedir}/dvdread
105%{_pkgconfigdir}/dvdread.pc
106
107%if %{with static_libs}
108%files static
109%defattr(644,root,root,755)
110%{_libdir}/libdvdread.a
111%endif
This page took 0.076378 seconds and 4 git commands to generate.