source: projects/specs/trunk/lib/libo/libogg/libogg-vl.spec @ 11505

Revision 11505, 6.0 KB checked in by tomop, 6 years ago (diff)

libogg-1.3.3-1

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary:        The Ogg bitstream file format library.
4Name:           libogg
5Version:        1.3.3
6Release:        1%{?_dist_release}
7
8Group:          System Environment/Libraries
9License:        BSD
10URL:            http://www.xiph.org/
11
12Source:         http://downloads.xiph.org/releases/ogg/%{name}-%{version}.tar.xz
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15BuildRequires:  perl
16
17Vendor: Project Vine
18Distribution: Vine Linux
19
20Packager: kenta, inagaki
21
22%description
23Libogg is a library for manipulating Ogg bitstream file formats.
24Libogg supports both making Ogg bitstreams and getting packets from
25Ogg bitstreams.
26
27%package devel
28Summary:        Files needed for development using libogg.
29Group:          Development/Libraries
30Requires:       %{name} = %{version}-%{release}
31
32%description devel
33The libogg-devel package contains the header files, static libraries
34and documentation needed to develop applications with libogg.
35
36%package        docs
37Summary:        Documentation for %{name}
38Summary(ja):    %{name} 用のドキュメント
39Group:          Documentation
40Requires:       %{name} = %{version}-%{release}
41BuildArch:      noarch
42
43%description    docs
44This package contains documentation for %{name}.
45
46
47# compat32
48%package -n compat32-%{name}
49Summary:        The Ogg bitstream file format library.
50Group:          System Environment/Libraries
51
52%description -n compat32-%{name}
53Libogg is a library for manipulating Ogg bitstream file formats.
54Libogg supports both making Ogg bitstreams and getting packets from
55Ogg bitstreams.
56
57%package -n compat32-%{name}-devel
58Summary:        Files needed for development using libogg.
59Group:          Development/Libraries
60Requires:       compat32-%{name} = %{version}-%{release}
61Requires:       %{name}-devel = %{version}-%{release}
62
63%description -n compat32-%{name}-devel
64The libogg-devel package contains the header files, static libraries
65and documentation needed to develop applications with libogg.
66
67%prep
68%setup -q -n libogg-%{version}
69
70%build
71perl -p -i -e "s/-O20/$RPM_OPT_FLAGS/" configure
72perl -p -i -e "s/-ffast-math//" configure
73
74%configure --disable-static
75make
76
77%install
78[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
79make DESTDIR=$RPM_BUILD_ROOT install
80
81rm -f doc/libogg/Makefile*
82#rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.a
83rm -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
Note: See TracBrowser for help on using the repository browser.