[521] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 2 | |
---|
| 3 | Summary: The Ogg bitstream file format library. |
---|
| 4 | Name: libogg |
---|
[8758] | 5 | Version: 1.3.2 |
---|
[521] | 6 | Release: 1%{?_dist_release} |
---|
[1855] | 7 | |
---|
[521] | 8 | Group: System Environment/Libraries |
---|
| 9 | License: BSD |
---|
| 10 | URL: http://www.xiph.org/ |
---|
[1855] | 11 | |
---|
[6304] | 12 | Source: http://downloads.xiph.org/releases/ogg/%{name}-%{version}.tar.xz |
---|
[521] | 13 | |
---|
| 14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 15 | BuildRequires: perl |
---|
| 16 | |
---|
| 17 | Vendor: Project Vine |
---|
| 18 | Distribution: Vine Linux |
---|
| 19 | |
---|
| 20 | Packager: kenta, inagaki |
---|
| 21 | |
---|
| 22 | %description |
---|
| 23 | Libogg is a library for manipulating Ogg bitstream file formats. |
---|
| 24 | Libogg supports both making Ogg bitstreams and getting packets from |
---|
| 25 | Ogg bitstreams. |
---|
| 26 | |
---|
| 27 | %package devel |
---|
| 28 | Summary: Files needed for development using libogg. |
---|
| 29 | Group: Development/Libraries |
---|
| 30 | Requires: %{name} = %{version}-%{release} |
---|
| 31 | |
---|
| 32 | %description devel |
---|
| 33 | The libogg-devel package contains the header files, static libraries |
---|
| 34 | and documentation needed to develop applications with libogg. |
---|
| 35 | |
---|
[8758] | 36 | %package docs |
---|
| 37 | Summary: Documentation for %{name} |
---|
| 38 | Summary(ja): %{name} 用のドキュメント |
---|
| 39 | Group: Documentation |
---|
| 40 | Requires: %{name} = %{version}-%{release} |
---|
| 41 | BuildArch: noarch |
---|
| 42 | |
---|
| 43 | %description docs |
---|
| 44 | This package contains documentation for %{name}. |
---|
| 45 | |
---|
| 46 | |
---|
[521] | 47 | # compat32 |
---|
| 48 | %package -n compat32-%{name} |
---|
| 49 | Summary: The Ogg bitstream file format library. |
---|
| 50 | Group: System Environment/Libraries |
---|
| 51 | |
---|
| 52 | %description -n compat32-%{name} |
---|
| 53 | Libogg is a library for manipulating Ogg bitstream file formats. |
---|
| 54 | Libogg supports both making Ogg bitstreams and getting packets from |
---|
| 55 | Ogg bitstreams. |
---|
| 56 | |
---|
| 57 | %package -n compat32-%{name}-devel |
---|
| 58 | Summary: Files needed for development using libogg. |
---|
| 59 | Group: Development/Libraries |
---|
| 60 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 61 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 62 | |
---|
| 63 | %description -n compat32-%{name}-devel |
---|
| 64 | The libogg-devel package contains the header files, static libraries |
---|
| 65 | and documentation needed to develop applications with libogg. |
---|
| 66 | |
---|
| 67 | %prep |
---|
| 68 | %setup -q -n libogg-%{version} |
---|
| 69 | |
---|
| 70 | %build |
---|
| 71 | perl -p -i -e "s/-O20/$RPM_OPT_FLAGS/" configure |
---|
| 72 | perl -p -i -e "s/-ffast-math//" configure |
---|
| 73 | |
---|
| 74 | %configure --disable-static |
---|
| 75 | make |
---|
| 76 | |
---|
| 77 | %install |
---|
| 78 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
---|
| 79 | make DESTDIR=$RPM_BUILD_ROOT install |
---|
| 80 | |
---|
| 81 | rm -f doc/libogg/Makefile* |
---|
| 82 | #rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.a |
---|
| 83 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
| 84 | |
---|
| 85 | %clean |
---|
| 86 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
---|
| 87 | |
---|
| 88 | %post -p /sbin/ldconfig |
---|
| 89 | |
---|
| 90 | %postun -p /sbin/ldconfig |
---|
| 91 | |
---|
| 92 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 93 | |
---|
| 94 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 95 | |
---|
| 96 | |
---|
| 97 | %files |
---|
| 98 | %defattr(-,root,root) |
---|
| 99 | %doc AUTHORS CHANGES COPYING README |
---|
| 100 | %{_libdir}/*.so.* |
---|
| 101 | |
---|
| 102 | %files devel |
---|
| 103 | %defattr(-,root,root) |
---|
| 104 | %doc doc/index.html doc/framing.html doc/oggstream.html |
---|
| 105 | %doc doc/white-ogg.png doc/white-xifish.png |
---|
| 106 | %doc doc/stream.png |
---|
| 107 | %doc doc/libogg |
---|
| 108 | %dir %{_includedir}/ogg |
---|
| 109 | %{_includedir}/ogg/*.h |
---|
| 110 | %{_libdir}/*.so |
---|
| 111 | %{_libdir}/pkgconfig/*.pc |
---|
| 112 | %{_datadir}/aclocal/ogg.m4 |
---|
| 113 | |
---|
[8758] | 114 | %files docs |
---|
| 115 | %defattr(-,root,root) |
---|
| 116 | %{_docdir}/%{name} |
---|
| 117 | |
---|
[521] | 118 | # compat32 |
---|
| 119 | %if %{build_compat32} |
---|
| 120 | %files -n compat32-%{name} |
---|
| 121 | %{_libdir}/*.so.* |
---|
| 122 | |
---|
| 123 | %files -n compat32-%{name}-devel |
---|
| 124 | %defattr(-,root,root) |
---|
| 125 | %{_libdir}/*.so |
---|
| 126 | %endif |
---|
| 127 | |
---|
| 128 | %changelog |
---|
[8758] | 129 | * Sat Jul 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.2-1 |
---|
| 130 | - new upstream release |
---|
| 131 | - create %%{name}-docs subpackage |
---|
| 132 | |
---|
[6304] | 133 | * Sun Jun 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.0-1 |
---|
| 134 | - new upstream release |
---|
| 135 | |
---|
[1855] | 136 | * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-1 |
---|
| 137 | - new upstream release |
---|
| 138 | - built with rpm-4.8.1 |
---|
| 139 | |
---|
[521] | 140 | * Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.4-1 |
---|
| 141 | - new upstream release |
---|
| 142 | |
---|
| 143 | * Fri Jun 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.3-3 |
---|
| 144 | - used --disable-static option |
---|
| 145 | - added Vendor, Distribution, Packager tag |
---|
| 146 | |
---|
| 147 | * Sat May 16 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.3-2 |
---|
| 148 | - added compat32 package for x86_64 arch support |
---|
| 149 | - removed lib*.a files from devel package |
---|
| 150 | |
---|
| 151 | * Mon May 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.3-1 |
---|
| 152 | - applied new versioning policy |
---|
| 153 | - removed lib*.la files from devel package |
---|
| 154 | |
---|
| 155 | * Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.3-0vl2 |
---|
| 156 | - rebuild with new toolchain |
---|
| 157 | |
---|
| 158 | * Tue Nov 29 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.3-0vl1 |
---|
| 159 | - source upgrade |
---|
| 160 | |
---|
| 161 | * Fri Oct 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl1 |
---|
| 162 | - source upgrade |
---|
| 163 | - update source-URL |
---|
| 164 | |
---|
| 165 | * Fri Mar 26 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl3 |
---|
| 166 | - rebuild |
---|
| 167 | |
---|
| 168 | * Sat Nov 22 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl2 |
---|
| 169 | - rebuild for VineSeedPlus |
---|
| 170 | |
---|
| 171 | * Fri Nov 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl1 |
---|
| 172 | - source upgrade |
---|
| 173 | - build for VinePlus/2.6 |
---|
| 174 | - add %%{_libdir}/*.la and %%{_libdir}/pkgconfig/*.pc to devel package |
---|
| 175 | |
---|
| 176 | * Sat Oct 4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl3 |
---|
| 177 | - rebuild with new toolchains |
---|
| 178 | |
---|
| 179 | * Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl2 |
---|
| 180 | - rebuild with new toolchains |
---|
| 181 | |
---|
| 182 | * Wed Jul 24 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl1 |
---|
| 183 | - source upgrade |
---|
| 184 | - update %description devel |
---|
| 185 | - add PreReq: ldconfig |
---|
| 186 | |
---|
| 187 | * Sat Jan 12 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 0.99.3-1vl1 |
---|
| 188 | - build for VineSeed |
---|
| 189 | - delete Serial |
---|
| 190 | - change version number to 0.99.3 (means 1.0rc3) |
---|
| 191 | |
---|
| 192 | * Tue Jan 1 2002 Bill Nottingham <notting@redhat.com> |
---|
| 193 | - update to 1.0rc3 |
---|
| 194 | |
---|
| 195 | * Mon Aug 13 2001 Bill Nottingham <notting@redhat.com> |
---|
| 196 | - update to 1.0rc2 |
---|
| 197 | |
---|
| 198 | * Fri Jul 6 2001 Bill Nottingham <notting@redhat.com> |
---|
| 199 | - own %%{_includedir}/ogg |
---|
| 200 | |
---|
| 201 | * Tue Jun 19 2001 Bill Nottingham <notting@redhat.com> |
---|
| 202 | - update to 1.0rc1 |
---|
| 203 | |
---|
| 204 | * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com> |
---|
| 205 | - fix license tag |
---|
| 206 | |
---|
| 207 | * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com> |
---|
| 208 | - beta4 |
---|
| 209 | |
---|
| 210 | * Tue Feb 6 2001 Bill Nottingham <notting@redhat.com> |
---|
| 211 | - update CVS in prep for beta4 |
---|
| 212 | |
---|
[8758] | 213 | * Wed Dec 27 2000 Bill Nottingham <notting@redhat.com> |
---|
[521] | 214 | - update CVS |
---|
| 215 | |
---|
[8758] | 216 | * Mon Dec 11 2000 Bill Nottingham <notting@redhat.com> |
---|
[521] | 217 | - fix bogus group |
---|
| 218 | |
---|
| 219 | * Fri Dec 01 2000 Bill Nottingham <notting@redhat.com> |
---|
| 220 | - rebuild because of broken fileutils |
---|
| 221 | |
---|
| 222 | * Mon Nov 13 2000 Bill Nottingham <notting@redhat.com> |
---|
| 223 | - clean up specfile slightly |
---|
| 224 | |
---|
| 225 | * Sat Sep 02 2000 Jack Moffitt <jack@icecast.org> |
---|
| 226 | - initial spec file created |
---|