libogg-vl.spec 6.1 KB

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