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

Revision 6304, 5.5 KB checked in by Takemikaduchi, 12 years ago (diff)

ImageMagick?, libarchive, libogg, libvorbis, udisks2: new upstream release
cmake, gvfs, kdeutils, totem-pl-parser: rebuild with libarchive-3.0.4
cvs, pam, patch, t1lib: rebuild package

Line 
1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary:        The Ogg bitstream file format library.
4Name:           libogg
5Version:        1.3.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.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# 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* Sun Jun 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.0-1
118- new upstream release
119
120* Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-1
121- new upstream release
122- built with rpm-4.8.1
123
124* Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.4-1
125- new upstream release
126
127* Fri Jun 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.3-3
128- used --disable-static option
129- added Vendor, Distribution, Packager tag
130
131* Sat May 16 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.3-2
132- added compat32 package for x86_64 arch support
133- removed lib*.a files from devel package
134
135* Mon May 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.3-1
136- applied new versioning policy
137- removed lib*.la files from devel package
138
139* Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.3-0vl2
140- rebuild with new toolchain
141
142* Tue Nov 29 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.3-0vl1
143- source upgrade
144
145* Fri Oct 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl1
146- source upgrade
147- update source-URL
148
149* Fri Mar 26 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl3
150- rebuild
151
152* Sat Nov 22 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl2
153- rebuild for VineSeedPlus
154
155* Fri Nov 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl1
156- source upgrade
157- build for VinePlus/2.6
158- add %%{_libdir}/*.la and %%{_libdir}/pkgconfig/*.pc to devel package
159
160* Sat Oct  4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl3
161- rebuild with new toolchains
162
163* Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl2
164- rebuild with new toolchains
165
166* Wed Jul 24 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl1
167- source upgrade
168- update %description devel
169- add PreReq: ldconfig
170
171* Sat Jan 12 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 0.99.3-1vl1
172- build for VineSeed
173- delete Serial
174- change version number to 0.99.3 (means 1.0rc3)
175
176* Tue Jan  1 2002 Bill Nottingham <notting@redhat.com>
177- update to 1.0rc3
178
179* Mon Aug 13 2001 Bill Nottingham <notting@redhat.com>
180- update to 1.0rc2
181
182* Fri Jul  6 2001 Bill Nottingham <notting@redhat.com>
183- own %%{_includedir}/ogg
184
185* Tue Jun 19 2001 Bill Nottingham <notting@redhat.com>
186- update to 1.0rc1
187
188* Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
189- fix license tag
190
191* Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
192- beta4
193
194* Tue Feb  6 2001 Bill Nottingham <notting@redhat.com>
195- update CVS in prep for beta4
196
197* Thu Dec 27 2000 Bill Nottingham <notting@redhat.com>
198- update CVS
199
200* Tue Dec 11 2000 Bill Nottingham <notting@redhat.com>
201- fix bogus group
202
203* Fri Dec 01 2000 Bill Nottingham <notting@redhat.com>
204- rebuild because of broken fileutils
205
206* Mon Nov 13 2000 Bill Nottingham <notting@redhat.com>
207- clean up specfile slightly
208
209* Sat Sep 02 2000 Jack Moffitt <jack@icecast.org>
210- initial spec file created
Note: See TracBrowser for help on using the repository browser.