Fri, 11 Mar 2011 21:30:26 +0100
Import package vendor original specs for necessary manipulations.
| michael@0 | 1 | Name: libdvdnav |
| michael@0 | 2 | Version: 4.1.4 |
| michael@0 | 3 | Release: 1.4 |
| michael@0 | 4 | Summary: A library for reading DVD video discs based on Ogle code |
| michael@0 | 5 | |
| michael@0 | 6 | Group: System Environment/Libraries |
| michael@0 | 7 | License: GPLv2+ |
| michael@0 | 8 | #Source: http://www.mplayerhq.hu/MPlayer/releases/dvdnav/libdvdnav-%{version}.tar.bz2 |
| michael@0 | 9 | # svn export svn://svn.mplayerhq.hu/dvdnav/trunk/libdvdnav |
| michael@0 | 10 | Source: %{name}-svn1184.tar.bz2 |
| michael@0 | 11 | Patch0: %{name}-multilib.patch |
| michael@0 | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
| michael@0 | 13 | |
| michael@0 | 14 | BuildRequires: doxygen |
| michael@0 | 15 | BuildRequires: libdvdread-devel >= 4.1.3-0.3 |
| michael@0 | 16 | |
| michael@0 | 17 | %description |
| michael@0 | 18 | libdvdnav provides a simple library for reading DVD video discs. |
| michael@0 | 19 | The code is based on Ogle and used in, among others, the Xine dvdnav plug-in. |
| michael@0 | 20 | |
| michael@0 | 21 | %package devel |
| michael@0 | 22 | Summary: Development files for libdvdnav |
| michael@0 | 23 | Group: Development/Libraries |
| michael@0 | 24 | Requires: %{name} = %{version}-%{release} |
| michael@0 | 25 | Requires: libdvdread-devel >= 4.1.3-0.3 |
| michael@0 | 26 | Requires: pkgconfig |
| michael@0 | 27 | |
| michael@0 | 28 | %description devel |
| michael@0 | 29 | libdvdnav-devel contains the files necessary to build packages that use the |
| michael@0 | 30 | libdvdnav library. |
| michael@0 | 31 | |
| michael@0 | 32 | %prep |
| michael@0 | 33 | %setup -q |
| michael@0 | 34 | %patch0 -p1 -b .multilib |
| michael@0 | 35 | |
| michael@0 | 36 | %build |
| michael@0 | 37 | ./configure2 \ |
| michael@0 | 38 | --disable-opts \ |
| michael@0 | 39 | --disable-static \ |
| michael@0 | 40 | --disable-strip \ |
| michael@0 | 41 | --extra-cflags="%{optflags}" \ |
| michael@0 | 42 | --libdir=%{_libdir} \ |
| michael@0 | 43 | --prefix=%{_prefix} \ |
| michael@0 | 44 | --shlibdir=%{_libdir} \ |
| michael@0 | 45 | --with-dvdread-config="pkg-config dvdread" \ |
| michael@0 | 46 | |
| michael@0 | 47 | %{__make} %{?_smp_mflags} |
| michael@0 | 48 | pushd doc |
| michael@0 | 49 | doxygen doxy.conf |
| michael@0 | 50 | popd |
| michael@0 | 51 | |
| michael@0 | 52 | %install |
| michael@0 | 53 | %{__rm} -rf %{buildroot} |
| michael@0 | 54 | %{__make} install DESTDIR=%{buildroot} |
| michael@0 | 55 | %{__install} -d -m 755 %{buildroot}/%{_datadir}/aclocal |
| michael@0 | 56 | %{__install} -p -m 644 m4/dvdnav.m4 %{buildroot}/%{_datadir}/aclocal |
| michael@0 | 57 | |
| michael@0 | 58 | %clean |
| michael@0 | 59 | %{__rm} -rf %{buildroot} |
| michael@0 | 60 | |
| michael@0 | 61 | %post -p /sbin/ldconfig |
| michael@0 | 62 | |
| michael@0 | 63 | %postun -p /sbin/ldconfig |
| michael@0 | 64 | |
| michael@0 | 65 | %files |
| michael@0 | 66 | %defattr(-,root,root,-) |
| michael@0 | 67 | %doc AUTHORS ChangeLog COPYING NEWS README |
| michael@0 | 68 | %{_libdir}/libdvdnav.so.* |
| michael@0 | 69 | %{_libdir}/libdvdnavmini.so.* |
| michael@0 | 70 | |
| michael@0 | 71 | %files devel |
| michael@0 | 72 | %defattr(-,root,root,-) |
| michael@0 | 73 | %doc TODO doc/html/* |
| michael@0 | 74 | %{_bindir}/dvdnav-config |
| michael@0 | 75 | %{_libdir}/libdvdnav.so |
| michael@0 | 76 | %{_libdir}/libdvdnavmini.so |
| michael@0 | 77 | %{_includedir}/dvdnav |
| michael@0 | 78 | %{_datadir}/aclocal/dvdnav.m4 |
| michael@0 | 79 | %{_libdir}/pkgconfig/dvdnav.pc |
| michael@0 | 80 | %{_libdir}/pkgconfig/dvdnavmini.pc |
| michael@0 | 81 | |
| michael@0 | 82 | %changelog |
| michael@0 | 83 | * Mon Nov 1 2010 Kozinov Ivan <kozinov@gmail.com> - 4.1.4-0.2.svn1184 |
| michael@0 | 84 | - Build for MeeGo 1.1 |
| michael@0 | 85 | |
| michael@0 | 86 | * Sat Sep 26 2009 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.4-0.1.svn1184 |
| michael@0 | 87 | - fix multilib conflict, based on a patch by Rex Dieter (rhbz#477684) |
| michael@0 | 88 | - update to SVN r1184 |
| michael@0 | 89 | - move TODO to devel docs |
| michael@0 | 90 | |
| michael@0 | 91 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.3-3 |
| michael@0 | 92 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
| michael@0 | 93 | |
| michael@0 | 94 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1.3-2 |
| michael@0 | 95 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
| michael@0 | 96 | |
| michael@0 | 97 | * Tue Sep 09 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.3-1 |
| michael@0 | 98 | - update to 4.1.3 final |
| michael@0 | 99 | |
| michael@0 | 100 | * Sun Aug 31 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.3-0.4.rc1 |
| michael@0 | 101 | - update to 4.1.3rc1 |
| michael@0 | 102 | - require libdvdread with fixed API |
| michael@0 | 103 | |
| michael@0 | 104 | * Fri Jul 25 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.3-0.3 |
| michael@0 | 105 | - add missing file to -devel |
| michael@0 | 106 | |
| michael@0 | 107 | * Thu Jul 17 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.3-0.2 |
| michael@0 | 108 | - update to current SVN |
| michael@0 | 109 | - use new external libdvdread |
| michael@0 | 110 | |
| michael@0 | 111 | * Fri Jun 06 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.3-0.1 |
| michael@0 | 112 | - update to current SVN (pre-4.1.3) |
| michael@0 | 113 | - macroize |
| michael@0 | 114 | - re-enable parallel make |
| michael@0 | 115 | |
| michael@0 | 116 | * Sun Apr 13 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.2-1 |
| michael@0 | 117 | - update to 4.1.2 |
| michael@0 | 118 | - drop obsolete patches (merged upstream) |
| michael@0 | 119 | |
| michael@0 | 120 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.1.1-6 |
| michael@0 | 121 | - Autorebuild for GCC 4.3 |
| michael@0 | 122 | |
| michael@0 | 123 | * Sun Jan 27 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.1-5 |
| michael@0 | 124 | - fix missing <inttypes.h> include (bug 428910) |
| michael@0 | 125 | |
| michael@0 | 126 | * Sun Jan 06 2008 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.1-4 |
| michael@0 | 127 | - make sure -devel requires our version of libdvdread-devel |
| michael@0 | 128 | |
| michael@0 | 129 | * Thu Nov 22 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.1-3 |
| michael@0 | 130 | - fix build with internal libdvdread |
| michael@0 | 131 | |
| michael@0 | 132 | * Wed Nov 21 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.1-2 |
| michael@0 | 133 | - use upstream non-autotools buildsystem |
| michael@0 | 134 | - build with external libdvdread for older releases |
| michael@0 | 135 | - fix version.h |
| michael@0 | 136 | - fix soname |
| michael@0 | 137 | - fix lib paths on 64bit |
| michael@0 | 138 | |
| michael@0 | 139 | * Thu Nov 01 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 4.1.1-1 |
| michael@0 | 140 | - switch to new upstream |
| michael@0 | 141 | - libdvdread comes from here now |
| michael@0 | 142 | - apply dvdread udf-related fixes from upstream SVN |
| michael@0 | 143 | |
| michael@0 | 144 | * Sun Aug 19 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 0.1.10-4.20070819 |
| michael@0 | 145 | - update to current snapshot |
| michael@0 | 146 | - specfile cleanups |
| michael@0 | 147 | |
| michael@0 | 148 | * Thu May 03 2007 Dominik Mierzejewski <rpm[AT]greysector.net> 0.1.10-3.20070503 |
| michael@0 | 149 | - update to current snapshot from new upstream |
| michael@0 | 150 | - clean up some specfile cruft |
| michael@0 | 151 | - disable static libs |
| michael@0 | 152 | - drop unnecessary explicit dependency on libdvdread |
| michael@0 | 153 | |
| michael@0 | 154 | * Mon Mar 13 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> 0.1.10-2 |
| michael@0 | 155 | - Drop Epoch completely |
| michael@0 | 156 | |
| michael@0 | 157 | * Thu Mar 09 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
| michael@0 | 158 | - switch to new release field |
| michael@0 | 159 | - drop Epoch |
| michael@0 | 160 | |
| michael@0 | 161 | * Tue Feb 28 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> |
| michael@0 | 162 | - add dist |
| michael@0 | 163 | |
| michael@0 | 164 | * Wed Oct 13 2004 Ville Skyttä <ville.skytta at iki.fi> - 0:0.1.10-0.lvn.1 |
| michael@0 | 165 | - Update to 0.1.10. |
| michael@0 | 166 | - Disable dependency tracking to speed up the build. |
| michael@0 | 167 | |
| michael@0 | 168 | * Wed Jun 25 2003 Thomas Vander Stichele <thomas at apestaart dot org> |
| michael@0 | 169 | - 0:0.1.9-0.fdr.2: incorporated bugzilla suggestions, new release |
| michael@0 | 170 | |
| michael@0 | 171 | * Thu May 29 2003 Thomas Vander Stichele <thomas at apestaart dot org> |
| michael@0 | 172 | - 0:0.1.9-0.fdr.1: initial RPM release |