source: projects/specs/branches/6/lib/libo/libogg/libogg-vl.spec @ 1855

Revision 1855, 5.4 KB checked in by inagaki, 14 years ago (diff)

rebuilt with rpm-4.8.1: libcapseo, ilmbase
updated and built with rpm-4.8.1: libogg, libvorbis

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