libogg-vl.spec 5.9 KB

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