libogg.spec 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. %define name libogg
  2. %define version 1.0.0
  3. %define release 1
  4. Summary: Ogg Bitstream Library
  5. Name: %{name}
  6. Version: %{version}
  7. Release: %{release}
  8. Group: Libraries/Multimedia
  9. Copyright: LGPL
  10. URL: http://www.xiph.org/
  11. Vendor: Xiphophorus <team@xiph.org>
  12. Source: ftp://ftp.xiph.org/pub/ogg/%{name}-%{version}.tar.gz
  13. BuildRoot: %{_tmppath}/%{name}-root
  14. %description
  15. Libogg is a library for manipulating ogg bitstreams. It handles
  16. both making ogg bitstreams and getting packets from ogg bitstreams.
  17. %package devel
  18. Summary: Ogg Bitstream Library Development
  19. Group: Development/Libraries
  20. %description devel
  21. The libogg-devel package contains the header files and documentation
  22. needed to develop applications with libogg.
  23. %prep
  24. %setup -q -n %{name}-%{version}
  25. %build
  26. if [ ! -f configure ]; then
  27. CFLAGS="$RPM_FLAGS" ./autogen.sh --prefix=/usr
  28. else
  29. CFLAGS="$RPM_FLAGS" ./configure --prefix=/usr
  30. fi
  31. make
  32. %install
  33. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  34. make DESTDIR=$RPM_BUILD_ROOT install
  35. %files
  36. %defattr(-,root,root)
  37. %doc AUTHORS
  38. %doc CHANGES
  39. %doc COPYING
  40. %doc README
  41. /usr/lib/libogg.so*
  42. /usr/bin/ogg-config
  43. %files devel
  44. %doc doc/index.html
  45. %doc doc/framing.html
  46. %doc doc/oggstream.html
  47. %doc doc/white-ogg.png
  48. %doc doc/white-xifish.png
  49. %doc doc/stream.png
  50. /usr/include/ogg/ogg.h
  51. /usr/include/ogg/os_types.h
  52. /usr/include/ogg/config_types.h
  53. /usr/lib/libogg.a
  54. /usr/share/aclocal/ogg.m4
  55. %clean
  56. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  57. %post
  58. /sbin/ldconfig
  59. %postun
  60. /sbin/ldconfig
  61. %changelog
  62. * Sat Sep 02 2000 Jack Moffitt <jack@icecast.org>
  63. - initial spec file created