libogg-vl.spec 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: The Ogg bitstream file format library.
  3. Name: libogg
  4. Version: 1.3.0
  5. Release: 1%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: BSD
  8. URL: http://www.xiph.org/
  9. Source: http://downloads.xiph.org/releases/ogg/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: perl
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Packager: kenta, inagaki
  15. %description
  16. Libogg is a library for manipulating Ogg bitstream file formats.
  17. Libogg supports both making Ogg bitstreams and getting packets from
  18. Ogg bitstreams.
  19. %package devel
  20. Summary: Files needed for development using libogg.
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}-%{release}
  23. %description devel
  24. The libogg-devel package contains the header files, static libraries
  25. and documentation needed to develop applications with libogg.
  26. # compat32
  27. %package -n compat32-%{name}
  28. Summary: The Ogg bitstream file format library.
  29. Group: System Environment/Libraries
  30. %description -n compat32-%{name}
  31. Libogg is a library for manipulating Ogg bitstream file formats.
  32. Libogg supports both making Ogg bitstreams and getting packets from
  33. Ogg bitstreams.
  34. %package -n compat32-%{name}-devel
  35. Summary: Files needed for development using libogg.
  36. Group: Development/Libraries
  37. Requires: compat32-%{name} = %{version}-%{release}
  38. Requires: %{name}-devel = %{version}-%{release}
  39. %description -n compat32-%{name}-devel
  40. The libogg-devel package contains the header files, static libraries
  41. and documentation needed to develop applications with libogg.
  42. %prep
  43. %setup -q -n libogg-%{version}
  44. %build
  45. perl -p -i -e "s/-O20/$RPM_OPT_FLAGS/" configure
  46. perl -p -i -e "s/-ffast-math//" configure
  47. %configure --disable-static
  48. make
  49. %install
  50. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  51. make DESTDIR=$RPM_BUILD_ROOT install
  52. rm -f doc/libogg/Makefile*
  53. #rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.a
  54. rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
  55. %clean
  56. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  57. %post -p /sbin/ldconfig
  58. %postun -p /sbin/ldconfig
  59. %post -n compat32-%{name} -p /sbin/ldconfig
  60. %postun -n compat32-%{name} -p /sbin/ldconfig
  61. %files
  62. %defattr(-,root,root)
  63. %doc AUTHORS CHANGES COPYING README
  64. %{_libdir}/*.so.*
  65. %files devel
  66. %defattr(-,root,root)
  67. %doc doc/index.html doc/framing.html doc/oggstream.html
  68. %doc doc/white-ogg.png doc/white-xifish.png
  69. %doc doc/stream.png
  70. %doc doc/libogg
  71. %dir %{_includedir}/ogg
  72. %{_includedir}/ogg/*.h
  73. #{_libdir}/*.a
  74. %{_libdir}/*.so
  75. %{_libdir}/pkgconfig/*.pc
  76. %{_datadir}/aclocal/ogg.m4
  77. # compat32
  78. %if %{build_compat32}
  79. %files -n compat32-%{name}
  80. %{_libdir}/*.so.*
  81. %files -n compat32-%{name}-devel
  82. %defattr(-,root,root)
  83. #{_libdir}/*.a
  84. %{_libdir}/*.so
  85. %{_libdir}/pkgconfig/*.pc
  86. %endif
  87. %changelog
  88. * Sun Jun 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.0-1
  89. - new upstream release
  90. * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-1
  91. - new upstream release
  92. - built with rpm-4.8.1
  93. * Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.4-1
  94. - new upstream release
  95. * Fri Jun 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.3-3
  96. - used --disable-static option
  97. - added Vendor, Distribution, Packager tag
  98. * Sat May 16 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.3-2
  99. - added compat32 package for x86_64 arch support
  100. - removed lib*.a files from devel package
  101. * Mon May 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.3-1
  102. - applied new versioning policy
  103. - removed lib*.la files from devel package
  104. * Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.3-0vl2
  105. - rebuild with new toolchain
  106. * Tue Nov 29 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.3-0vl1
  107. - source upgrade
  108. * Fri Oct 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl1
  109. - source upgrade
  110. - update source-URL
  111. * Fri Mar 26 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl3
  112. - rebuild
  113. * Sat Nov 22 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl2
  114. - rebuild for VineSeedPlus
  115. * Fri Nov 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl1
  116. - source upgrade
  117. - build for VinePlus/2.6
  118. - add %%{_libdir}/*.la and %%{_libdir}/pkgconfig/*.pc to devel package
  119. * Sat Oct 4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl3
  120. - rebuild with new toolchains
  121. * Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl2
  122. - rebuild with new toolchains
  123. * Wed Jul 24 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl1
  124. - source upgrade
  125. - update %description devel
  126. - add PreReq: ldconfig
  127. * Sat Jan 12 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 0.99.3-1vl1
  128. - build for VineSeed
  129. - delete Serial
  130. - change version number to 0.99.3 (means 1.0rc3)
  131. * Tue Jan 1 2002 Bill Nottingham <notting@redhat.com>
  132. - update to 1.0rc3
  133. * Mon Aug 13 2001 Bill Nottingham <notting@redhat.com>
  134. - update to 1.0rc2
  135. * Fri Jul 6 2001 Bill Nottingham <notting@redhat.com>
  136. - own %%{_includedir}/ogg
  137. * Tue Jun 19 2001 Bill Nottingham <notting@redhat.com>
  138. - update to 1.0rc1
  139. * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
  140. - fix license tag
  141. * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
  142. - beta4
  143. * Tue Feb 6 2001 Bill Nottingham <notting@redhat.com>
  144. - update CVS in prep for beta4
  145. * Thu Dec 27 2000 Bill Nottingham <notting@redhat.com>
  146. - update CVS
  147. * Tue Dec 11 2000 Bill Nottingham <notting@redhat.com>
  148. - fix bogus group
  149. * Fri Dec 01 2000 Bill Nottingham <notting@redhat.com>
  150. - rebuild because of broken fileutils
  151. * Mon Nov 13 2000 Bill Nottingham <notting@redhat.com>
  152. - clean up specfile slightly
  153. * Sat Sep 02 2000 Jack Moffitt <jack@icecast.org>
  154. - initial spec file created