]> git.pld-linux.org Git - packages/libdvdread.git/blobdiff - libdvdread.spec
ver. 5.0.0
[packages/libdvdread.git] / libdvdread.spec
index a07d284b7af8af5cba6ae6c262193f7fd68c7907..acc436c404f3ca74190b7c33b544df1b96b546ae 100644 (file)
@@ -5,17 +5,22 @@
 Summary:       Library to read DVD images
 Summary(pl.UTF-8):     Biblioteka do odczytu obrazów DVD-Video
 Name:          libdvdread
-Version:       4.1.3
-Release:       1
+Version:       5.0.0
+Release:       0.1
 License:       GPL v2+
 Group:         Libraries
-Source0:       http://www.mplayerhq.hu/MPlayer/releases/dvdnav/%{name}-%{version}.tar.bz2
-# Source0-md5: 6dc068d442c85a3cdd5ad3da75f6c6e8
+#Source0:      http://dvdnav.mplayerhq.hu/releases/%{name}-%{version}.tar.xz
+Source0:       http://download.videolan.org/pub/videolan/libdvdread/%{version}/%{name}-%{version}.tar.bz2
+# Source0-md5: 20b964a3fb290b8df45c6b25d37411de
 Patch0:                %{name}-alpha.patch
-URL:           http://www.mplayerhq.hu/
+Patch1:                %{name}-buffix.patch
+Patch2:                %{name}-version.patch
+URL:           http://dvdnav.mplayerhq.hu/
 BuildRequires: autoconf >= 2.53
 BuildRequires: automake >= 1.6
-BuildRequires: libtool
+BuildRequires: libtool >= 1.4
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -59,6 +64,8 @@ Statyczne biblioteki libdvdread.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 %{__libtoolize}
@@ -67,6 +74,7 @@ Statyczne biblioteki libdvdread.
 %{__autoheader}
 %{__automake}
 %configure \
+       --disable-silent-rules \
        %{?with_static_libs:--enable-static}
 
 %{__make}
@@ -77,26 +85,24 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog DEVELOPMENT-POLICY.txt README TODO
+%doc AUTHORS ChangeLog README TODO
 %attr(755,root,root) %{_libdir}/libdvdread.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libdvdread.so.4
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/dvdread-config
 %attr(755,root,root) %{_libdir}/libdvdread.so
 %{_libdir}/libdvdread.la
 %{_includedir}/dvdread
 %{_pkgconfigdir}/dvdread.pc
-%{_aclocaldir}/dvdread.m4
 
 %if %{with static_libs}
 %files static
This page took 0.0585 seconds and 4 git commands to generate.