libogg-vl.spec 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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.3
  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. * Thu Feb 22 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.3-1
  97. - new upstream release.
  98. * Sat Jul 05 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.2-1
  99. - new upstream release
  100. - create %%{name}-docs subpackage
  101. * Sun Jun 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.3.0-1
  102. - new upstream release
  103. * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-1
  104. - new upstream release
  105. - built with rpm-4.8.1
  106. * Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.4-1
  107. - new upstream release
  108. * Fri Jun 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.3-3
  109. - used --disable-static option
  110. - added Vendor, Distribution, Packager tag
  111. * Sat May 16 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.3-2
  112. - added compat32 package for x86_64 arch support
  113. - removed lib*.a files from devel package
  114. * Mon May 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.3-1
  115. - applied new versioning policy
  116. - removed lib*.la files from devel package
  117. * Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.3-0vl2
  118. - rebuild with new toolchain
  119. * Tue Nov 29 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.3-0vl1
  120. - source upgrade
  121. * Fri Oct 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl1
  122. - source upgrade
  123. - update source-URL
  124. * Fri Mar 26 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl3
  125. - rebuild
  126. * Sat Nov 22 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl2
  127. - rebuild for VineSeedPlus
  128. * Fri Nov 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl1
  129. - source upgrade
  130. - build for VinePlus/2.6
  131. - add %%{_libdir}/*.la and %%{_libdir}/pkgconfig/*.pc to devel package
  132. * Sat Oct 4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl3
  133. - rebuild with new toolchains
  134. * Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl2
  135. - rebuild with new toolchains
  136. * Wed Jul 24 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl1
  137. - source upgrade
  138. - update %description devel
  139. - add PreReq: ldconfig
  140. * Sat Jan 12 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 0.99.3-1vl1
  141. - build for VineSeed
  142. - delete Serial
  143. - change version number to 0.99.3 (means 1.0rc3)
  144. * Tue Jan 1 2002 Bill Nottingham <notting@redhat.com>
  145. - update to 1.0rc3
  146. * Mon Aug 13 2001 Bill Nottingham <notting@redhat.com>
  147. - update to 1.0rc2
  148. * Fri Jul 6 2001 Bill Nottingham <notting@redhat.com>
  149. - own %%{_includedir}/ogg
  150. * Tue Jun 19 2001 Bill Nottingham <notting@redhat.com>
  151. - update to 1.0rc1
  152. * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
  153. - fix license tag
  154. * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
  155. - beta4
  156. * Tue Feb 6 2001 Bill Nottingham <notting@redhat.com>
  157. - update CVS in prep for beta4
  158. * Wed Dec 27 2000 Bill Nottingham <notting@redhat.com>
  159. - update CVS
  160. * Mon Dec 11 2000 Bill Nottingham <notting@redhat.com>
  161. - fix bogus group
  162. * Fri Dec 01 2000 Bill Nottingham <notting@redhat.com>
  163. - rebuild because of broken fileutils
  164. * Mon Nov 13 2000 Bill Nottingham <notting@redhat.com>
  165. - clean up specfile slightly
  166. * Sat Sep 02 2000 Jack Moffitt <jack@icecast.org>
  167. - initial spec file created