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

Revision 8758, 5.9 KB checked in by Takemikaduchi, 10 years ago (diff)

update or rebuild

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary:        The Ogg bitstream file format library.
4Name:           libogg
5Version:        1.3.2
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* 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
133* Sun Jun 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.0-1
134- new upstream release
135
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
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
213* Wed Dec 27 2000 Bill Nottingham <notting@redhat.com>
214- update CVS
215
216* Mon Dec 11 2000 Bill Nottingham <notting@redhat.com>
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
Note: See TracBrowser for help on using the repository browser.