38a328
Name:           libdvdnav
38a328
Version:        5.0.3
38a328
Release:        1%{?dist}
38a328
Summary:        A library for reading DVD video discs based on Ogle code
38a328
38a328
Group:          System Environment/Libraries
38a328
License:        GPLv2+
38a328
Source0:        https://download.videolan.org/pub/videolan/libdvdnav/%{version}/libdvdnav-%{version}.tar.bz2
38a328
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
38a328
38a328
BuildRequires:  doxygen
38a328
BuildRequires:  libdvdread-devel >= 5.0.2
38a328
38a328
%description
38a328
libdvdnav provides a simple library for reading DVD video discs.
38a328
The code is based on Ogle and used in, among others, the Xine dvdnav plug-in.
38a328
38a328
%package        devel
38a328
Summary:        Development files for libdvdnav
38a328
Group:          Development/Libraries
38a328
Requires:       %{name} = %{version}-%{release}
38a328
Requires:       libdvdread-devel >= 5.0.2
38a328
Requires:       pkgconfig
38a328
38a328
%description    devel
38a328
libdvdnav-devel contains the files necessary to build packages that use the
38a328
libdvdnav library.
38a328
38a328
%prep
38a328
%setup -q
38a328
38a328
%build
38a328
CFLAGS="%{optflags} -fno-strict-aliasing" ./configure \
38a328
 --disable-static \
38a328
 --libdir=%{_libdir} \
38a328
 --prefix=%{_prefix}
38a328
38a328
%{__make} %{?_smp_mflags}
38a328
pushd doc
38a328
doxygen doxy.conf
38a328
popd
38a328
38a328
%install
38a328
%{__rm} -rf %{buildroot}
38a328
%{__make} install DESTDIR=%{buildroot}
38a328
rm %{buildroot}%{_libdir}/libdvdnav.la
38a328
rm -rf %{buildroot}%{_datadir}/doc/
38a328
38a328
%clean
38a328
%{__rm} -rf %{buildroot}
38a328
38a328
%post -p /sbin/ldconfig
38a328
38a328
%postun -p /sbin/ldconfig
38a328
38a328
%files
38a328
%defattr(-,root,root,-)
38a328
%doc AUTHORS ChangeLog README
38a328
%{_libdir}/libdvdnav.so.*
38a328
38a328
%files devel
38a328
%defattr(-,root,root,-)
38a328
%doc TODO doc/html/*
38a328
%{_libdir}/libdvdnav.so
38a328
%{_includedir}/dvdnav
38a328
%{_libdir}/pkgconfig/dvdnav.pc
38a328
38a328
%changelog
38a328
* Wed May 18 2016 Bastien Nocera <bnocera@redhat.com> - 5.0.3-1
38a328
- Upgrade to 5.0.3
38a328
- Fixes a number of playback bugs
38a328
Resolves: #1068814
38a328
38a328
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 4.2.0-8
38a328
- Mass rebuild 2014-01-24
38a328
38a328
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 4.2.0-7
38a328
- Mass rebuild 2013-12-27
38a328
38a328
* Thu Jul 18 2013 Matthias Clasen <mclasen@redhat.com> - 4.2.0-5
38a328
- Disable strict aliasing
38a328
38a328
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.0-4
38a328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
38a328
38a328
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.0-3
38a328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
38a328
38a328
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2.0-2
38a328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
38a328
38a328
* Sun Oct 09 2011 Dominik Mierzejewski <rpm[AT]greysector.net> 4.2.0-1
38a328
- update to 4.2.0
38a328
38a328
* Mon Apr 11 2011 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.4-0.3.svn1226
38a328
- update to SVN r1226
38a328
38a328
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.4-0.2.svn1184
38a328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
38a328
38a328
* Sat Sep 26 2009 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.4-0.1.svn1184
38a328
- fix multilib conflict, based on a patch by Rex Dieter (rhbz#477684)
38a328
- update to SVN r1184
38a328
- move TODO to devel docs
38a328
38a328
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.3-3
38a328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
38a328
38a328
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.3-2
38a328
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
38a328
38a328
* Tue Sep 09 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.3-1
38a328
- update to 4.1.3 final
38a328
38a328
* Sun Aug 31 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.3-0.4.rc1
38a328
- update to 4.1.3rc1
38a328
- require libdvdread with fixed API
38a328
38a328
* Fri Jul 25 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.3-0.3
38a328
- add missing file to -devel
38a328
38a328
* Thu Jul 17 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.3-0.2
38a328
- update to current SVN
38a328
- use new external libdvdread
38a328
38a328
* Fri Jun 06 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.3-0.1
38a328
- update to current SVN (pre-4.1.3)
38a328
- macroize
38a328
- re-enable parallel make
38a328
38a328
* Sun Apr 13 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.2-1
38a328
- update to 4.1.2
38a328
- drop obsolete patches (merged upstream)
38a328
38a328
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.1.1-6
38a328
- Autorebuild for GCC 4.3
38a328
38a328
* Sun Jan 27 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.1-5
38a328
- fix missing <inttypes.h> include (bug 428910)
38a328
38a328
* Sun Jan 06 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.1-4
38a328
- make sure -devel requires our version of libdvdread-devel
38a328
38a328
* Thu Nov 22 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.1-3
38a328
- fix build with internal libdvdread
38a328
38a328
* Wed Nov 21 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.1-2
38a328
- use upstream non-autotools buildsystem
38a328
- build with external libdvdread for older releases
38a328
- fix version.h
38a328
- fix soname
38a328
- fix lib paths on 64bit
38a328
38a328
* Thu Nov 01 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.1-1
38a328
- switch to new upstream
38a328
- libdvdread comes from here now
38a328
- apply dvdread udf-related fixes from upstream SVN
38a328
38a328
* Sun Aug 19 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 0.1.10-4.20070819
38a328
- update to current snapshot
38a328
- specfile cleanups
38a328
38a328
* Thu May 03 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 0.1.10-3.20070503
38a328
- update to current snapshot from new upstream
38a328
- clean up some specfile cruft
38a328
- disable static libs
38a328
- drop unnecessary explicit dependency on libdvdread
38a328
38a328
* Mon Mar 13 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> 0.1.10-2
38a328
- Drop Epoch completely
38a328
38a328
* Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
38a328
- switch to new release field
38a328
- drop Epoch
38a328
38a328
* Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
38a328
- add dist
38a328
38a328
* Wed Oct 13 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.1.10-0.lvn.1
38a328
- Update to 0.1.10.
38a328
- Disable dependency tracking to speed up the build.
38a328
38a328
* Wed Jun 25 2003 Thomas Vander Stichele <thomas at apestaart dot org>
38a328
- 0:0.1.9-0.fdr.2: incorporated bugzilla suggestions, new release
38a328
38a328
* Thu May 29 2003 Thomas Vander Stichele <thomas at apestaart dot org>
38a328
- 0:0.1.9-0.fdr.1: initial RPM release