libogg.spec.in 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. Name: libogg
  2. Version: @VERSION@
  3. Release: 0.xiph.1
  4. Summary: Ogg Bitstream Library.
  5. Group: System Environment/Libraries
  6. License: BSD
  7. URL: http://www.xiph.org/
  8. Vendor: Xiph.org Foundation <team@xiph.org>
  9. Source: http://www.vorbis.com/files/1.0.1/unix/%{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. # We're forced to use an epoch since both Red Hat and Ximian use it in their
  12. # rc packages
  13. Epoch: 2
  14. # Dirty trick to tell rpm that this package actually provides what the
  15. # last rc and beta was offering
  16. Provides: %{name} = %{epoch}:1.0rc3-%{release}
  17. Provides: %{name} = %{epoch}:1.0beta4-%{release}
  18. %description
  19. Libogg is a library for manipulating ogg bitstreams. It handles
  20. both making ogg bitstreams and getting packets from ogg bitstreams.
  21. %package devel
  22. Summary: Ogg Bitstream Library Development
  23. Group: Development/Libraries
  24. Requires: libogg = %{version}
  25. # Dirty trick to tell rpm that this package actually provides what the
  26. # last rc and beta was offering
  27. Provides: %{name}-devel = %{epoch}:1.0rc3-%{release}
  28. Provides: %{name}-devel = %{epoch}:1.0beta4-%{release}
  29. %description devel
  30. The libogg-devel package contains the header files, static libraries
  31. and documentation needed to develop applications with libogg.
  32. %prep
  33. %setup -q -n %{name}-%{version}
  34. %build
  35. CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --enable-static
  36. make
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. make DESTDIR=$RPM_BUILD_ROOT install
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %post -p /sbin/ldconfig
  43. %postun -p /sbin/ldconfig
  44. %files
  45. %defattr(-,root,root)
  46. %doc AUTHORS CHANGES COPYING README
  47. %{_libdir}/libogg.so.*
  48. %files devel
  49. %defattr(-,root,root)
  50. %doc doc/index.html
  51. %doc doc/framing.html
  52. %doc doc/oggstream.html
  53. %doc doc/white-ogg.png
  54. %doc doc/white-xifish.png
  55. %doc doc/stream.png
  56. %doc doc/libogg/*.html
  57. %doc doc/libogg/style.css
  58. %dir %{_includedir}/ogg
  59. %{_includedir}/ogg/ogg.h
  60. %{_includedir}/ogg/os_types.h
  61. %{_includedir}/ogg/config_types.h
  62. %{_libdir}/libogg.a
  63. %{_libdir}/libogg.la
  64. %{_libdir}/libogg.so
  65. %{_libdir}/pkgconfig/ogg.pc
  66. %{_datadir}/aclocal/ogg.m4
  67. %changelog
  68. * Thu Nov 08 2007 Conrad Parker <conrad@metadecks.org>
  69. - update doc dir (reported by thosmos on #vorbis)
  70. * Thu Jun 10 2004 Thomas Vander Stichele <thomas at apestaart dot org>
  71. - autogenerate from configure
  72. - fix download location
  73. - remove Prefix
  74. - own include dir
  75. - move ldconfig runs to -p scripts
  76. - change Release tag to include xiph
  77. * Tue Oct 07 2003 Warren Dukes <shank@xiph.org>
  78. - update for 1.1 release
  79. * Sun Jul 14 2002 Thomas Vander Stichele <thomas@apestaart.org>
  80. - update for 1.0 release
  81. - conform Group to Red Hat's idea of it
  82. - take out case where configure doesn't exist; a tarball should have it
  83. * Tue Dec 18 2001 Jack Moffitt <jack@xiph.org>
  84. - Update for RC3 release
  85. * Sun Oct 07 2001 Jack Moffitt <jack@xiph.org>
  86. - add support for configurable prefixes
  87. * Sat Sep 02 2000 Jack Moffitt <jack@icecast.org>
  88. - initial spec file created