libogg-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: The Ogg bitstream file format library.
  3. Name: libogg
  4. Version: 1.2.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.gz
  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. * Tue Sep 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.0-1
  89. - new upstream release
  90. - built with rpm-4.8.1
  91. * Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.4-1
  92. - new upstream release
  93. * Fri Jun 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.3-3
  94. - used --disable-static option
  95. - added Vendor, Distribution, Packager tag
  96. * Sat May 16 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.3-2
  97. - added compat32 package for x86_64 arch support
  98. - removed lib*.a files from devel package
  99. * Mon May 19 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.3-1
  100. - applied new versioning policy
  101. - removed lib*.la files from devel package
  102. * Mon May 14 2007 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1.3-0vl2
  103. - rebuild with new toolchain
  104. * Tue Nov 29 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.3-0vl1
  105. - source upgrade
  106. * Fri Oct 01 2004 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 1.1.2-0vl1
  107. - source upgrade
  108. - update source-URL
  109. * Fri Mar 26 2004 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl3
  110. - rebuild
  111. * Sat Nov 22 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl2
  112. - rebuild for VineSeedPlus
  113. * Fri Nov 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.1-0vl1
  114. - source upgrade
  115. - build for VinePlus/2.6
  116. - add %%{_libdir}/*.la and %%{_libdir}/pkgconfig/*.pc to devel package
  117. * Sat Oct 4 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl3
  118. - rebuild with new toolchains
  119. * Sun Dec 15 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl2
  120. - rebuild with new toolchains
  121. * Wed Jul 24 2002 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 1.0-0vl1
  122. - source upgrade
  123. - update %description devel
  124. - add PreReq: ldconfig
  125. * Sat Jan 12 2002 AKIYAMA Kazuhito <akiyama@karen.servepics.com> 0.99.3-1vl1
  126. - build for VineSeed
  127. - delete Serial
  128. - change version number to 0.99.3 (means 1.0rc3)
  129. * Tue Jan 1 2002 Bill Nottingham <notting@redhat.com>
  130. - update to 1.0rc3
  131. * Mon Aug 13 2001 Bill Nottingham <notting@redhat.com>
  132. - update to 1.0rc2
  133. * Fri Jul 6 2001 Bill Nottingham <notting@redhat.com>
  134. - own %%{_includedir}/ogg
  135. * Tue Jun 19 2001 Bill Nottingham <notting@redhat.com>
  136. - update to 1.0rc1
  137. * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
  138. - fix license tag
  139. * Mon Feb 26 2001 Bill Nottingham <notting@redhat.com>
  140. - beta4
  141. * Tue Feb 6 2001 Bill Nottingham <notting@redhat.com>
  142. - update CVS in prep for beta4
  143. * Thu Dec 27 2000 Bill Nottingham <notting@redhat.com>
  144. - update CVS
  145. * Tue Dec 11 2000 Bill Nottingham <notting@redhat.com>
  146. - fix bogus group
  147. * Fri Dec 01 2000 Bill Nottingham <notting@redhat.com>
  148. - rebuild because of broken fileutils
  149. * Mon Nov 13 2000 Bill Nottingham <notting@redhat.com>
  150. - clean up specfile slightly
  151. * Sat Sep 02 2000 Jack Moffitt <jack@icecast.org>
  152. - initial spec file created