1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
2 | |
---|
3 | Summary: The Ogg bitstream file format library. |
---|
4 | Name: libogg |
---|
5 | Version: 1.3.3 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | |
---|
8 | Group: System Environment/Libraries |
---|
9 | License: BSD |
---|
10 | URL: http://www.xiph.org/ |
---|
11 | |
---|
12 | Source: http://downloads.xiph.org/releases/ogg/%{name}-%{version}.tar.xz |
---|
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 | |
---|
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 | |
---|
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 | |
---|
114 | %files docs |
---|
115 | %defattr(-,root,root) |
---|
116 | %{_docdir}/%{name} |
---|
117 | |
---|
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 |
---|
129 | * Thu Feb 22 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.3-1 |
---|
130 | - new upstream release. |
---|
131 | |
---|
132 | * Sat Jul 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.2-1 |
---|
133 | - new upstream release |
---|
134 | - create %%{name}-docs subpackage |
---|
135 | |
---|
136 | * Sun Jun 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.0-1 |
---|
137 | - new upstream release |
---|
138 | |
---|
139 | * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-1 |
---|
140 | - new upstream release |
---|
141 | - built with rpm-4.8.1 |
---|
142 | |
---|
143 | * Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.4-1 |
---|
144 | - new upstream release |
---|
145 | |
---|
146 | * Fri Jun 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.3-3 |
---|
147 | - used --disable-static option |
---|
148 | - added Vendor, Distribution, Packager tag |
---|
149 | |
---|
150 | * Sat May 16 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.3-2 |
---|
151 | - added compat32 package for x86_64 arch support |
---|
152 | - removed lib*.a files from devel package |
---|
153 | |
---|
154 | * Mon May 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.3-1 |
---|
155 | - applied new versioning policy |
---|
156 | - removed lib*.la files from devel package |
---|
157 | |
---|
158 | * Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.3-0vl2 |
---|
159 | - rebuild with new toolchain |
---|
160 | |
---|
161 | * Tue Nov 29 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.3-0vl1 |
---|
162 | - source upgrade |
---|
163 | |
---|
164 | * Fri Oct 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl1 |
---|
165 | - source upgrade |
---|
166 | - update source-URL |
---|
167 | |
---|
168 | * Fri Mar 26 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl3 |
---|
169 | - rebuild |
---|
170 | |
---|
171 | * Sat Nov 22 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl2 |
---|
172 | - rebuild for VineSeedPlus |
---|
173 | |
---|
174 | * Fri Nov 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl1 |
---|
175 | - source upgrade |
---|
176 | - build for VinePlus/2.6 |
---|
177 | - add %%{_libdir}/*.la and %%{_libdir}/pkgconfig/*.pc to devel package |
---|
178 | |
---|
179 | * Sat Oct 4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl3 |
---|
180 | - rebuild with new toolchains |
---|
181 | |
---|
182 | * Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl2 |
---|
183 | - rebuild with new toolchains |
---|
184 | |
---|
185 | * Wed Jul 24 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl1 |
---|
186 | - source upgrade |
---|
187 | - update %description devel |
---|
188 | - add PreReq: ldconfig |
---|
189 | |
---|
190 | * Sat Jan 12 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 0.99.3-1vl1 |
---|
191 | - build for VineSeed |
---|
192 | - delete Serial |
---|
193 | - change version number to 0.99.3 (means 1.0rc3) |
---|
194 | |
---|
195 | * Tue Jan 1 2002 Bill Nottingham <notting@redhat.com> |
---|
196 | - update to 1.0rc3 |
---|
197 | |
---|
198 | * Mon Aug 13 2001 Bill Nottingham <notting@redhat.com> |
---|
199 | - update to 1.0rc2 |
---|
200 | |
---|
201 | * Fri Jul 6 2001 Bill Nottingham <notting@redhat.com> |
---|
202 | - own %%{_includedir}/ogg |
---|
203 | |
---|
204 | * Tue Jun 19 2001 Bill Nottingham <notting@redhat.com> |
---|
205 | - update to 1.0rc1 |
---|
206 | |
---|
207 | * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com> |
---|
208 | - fix license tag |
---|
209 | |
---|
210 | * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com> |
---|
211 | - beta4 |
---|
212 | |
---|
213 | * Tue Feb 6 2001 Bill Nottingham <notting@redhat.com> |
---|
214 | - update CVS in prep for beta4 |
---|
215 | |
---|
216 | * Wed Dec 27 2000 Bill Nottingham <notting@redhat.com> |
---|
217 | - update CVS |
---|
218 | |
---|
219 | * Mon Dec 11 2000 Bill Nottingham <notting@redhat.com> |
---|
220 | - fix bogus group |
---|
221 | |
---|
222 | * Fri Dec 01 2000 Bill Nottingham <notting@redhat.com> |
---|
223 | - rebuild because of broken fileutils |
---|
224 | |
---|
225 | * Mon Nov 13 2000 Bill Nottingham <notting@redhat.com> |
---|
226 | - clean up specfile slightly |
---|
227 | |
---|
228 | * Sat Sep 02 2000 Jack Moffitt <jack@icecast.org> |
---|
229 | - initial spec file created |
---|