audiofile-vl.spec 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  2. Summary: A library for accessing various audio file formats
  3. Summary(ja): さまざまなオーディオフォーマットを扱うライブラリ
  4. Name: audiofile
  5. Version: 0.2.6
  6. Release: 2%{?_dist_release}
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. Source: ftp://oss.sgi.com/projects/download/%{name}-%{version}.tar.bz2
  10. URL: http://www.68k.org/~michael/audiofile/
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. %description
  13. Library to handle various audio file formats.
  14. Used by the esound daemon.
  15. %description -l ja
  16. さまざまなオーディオフォーマットを扱うライブラリです.
  17. esound デーモンで使用します.
  18. %package -n compat32-%{name}
  19. Summary: A library for accessing various audio file formats
  20. Summary(ja): さまざまなオーディオフォーマットを扱うライブラリ
  21. Group: System Environment/Libraries
  22. Requires: %{name} = %{version}
  23. %description -n compat32-%{name}
  24. Library to handle various audio file formats.
  25. Used by the esound daemon.
  26. %description -n compat32-%{name} -l ja
  27. さまざまなオーディオフォーマットを扱うライブラリです.
  28. esound デーモンで使用します.
  29. %package devel
  30. Summary: Libraries, includes, etc to develop audiofile applications
  31. Summary(ja): オーディオファイルアプリケーションの開発用ライブラリ
  32. Group: Development/Libraries
  33. Requires: %{name} = %{version}
  34. Requires: pkgconfig
  35. %description devel
  36. Libraries, include files, etc you can use to develop audiofile applications.
  37. %description devel -l ja
  38. オーディオファイルアプリケーションの開発に使用できる,
  39. ライブラリやヘッダーファイルなどです.
  40. %package -n compat32-%{name}-devel
  41. Summary: Libraries, includes, etc to develop audiofile applications
  42. Summary(ja): オーディオファイルアプリケーションの開発用ライブラリ
  43. Group: Development/Libraries
  44. Requires: %{name}-devel = %{version}
  45. Requires: compat32-%{name} = %{version}
  46. %description -n compat32-%{name}-devel
  47. Libraries, include files, etc you can use to develop audiofile applications.
  48. %description -n compat32-%{name}-devel -l ja
  49. オーディオファイルアプリケーションの開発に使用できる,
  50. ライブラリやヘッダーファイルなどです.
  51. %prep
  52. %setup -q
  53. %build
  54. %configure --enable-largefile
  55. make
  56. %install
  57. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  58. mkdir -p $RPM_BUILD_ROOT
  59. %makeinstall
  60. rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
  61. %clean
  62. [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
  63. %post -p /sbin/ldconfig
  64. %postun -p /sbin/ldconfig
  65. %if %{build_compat32}
  66. %post -n compat32-%{name} -p /sbin/ldconfig
  67. %postun -n compat32-%{name} -p /sbin/ldconfig
  68. %endif
  69. %files
  70. %defattr(-, root, root)
  71. %doc ACKNOWLEDGEMENTS AUTHORS COPYING* ChangeLog INSTALL NEWS NOTES
  72. %doc README TODO docs
  73. %{_bindir}/sfconvert
  74. %{_bindir}/sfinfo
  75. %{_libdir}/lib*.so.*
  76. %files devel
  77. %defattr(-, root, root)
  78. %{_bindir}/audiofile-config
  79. %{_libdir}/pkgconfig/*.pc
  80. %{_libdir}/lib*.so
  81. %{_includedir}/*
  82. %{_datadir}/aclocal/*.m4
  83. %if %{build_compat32}
  84. %files -n compat32-%{name}
  85. %defattr(-, root, root)
  86. %{_libdir}/lib*.so.*
  87. %files -n compat32-%{name}-devel
  88. %defattr(-, root, root)
  89. %{_libdir}/pkgconfig/*.pc
  90. %{_libdir}/lib*.so
  91. %endif
  92. %changelog
  93. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.6-2
  94. - spec in utf-8
  95. - remove static lib
  96. * Mon May 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.6-1
  97. - applied new versioning policy
  98. - removed *.la file from devel package
  99. - added %%post and %%postun section
  100. * Mon Mar 06 2006 NAKAMURA Kenta <kenta@c.csce.kyushu-u.ac.jp> 0.2.6-0vl3
  101. - added compat32-* packages for x86_64 architecture support
  102. * Thu Feb 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.2.6-0vl2
  103. - rebuild
  104. - update URL
  105. * Sat Oct 23 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.6-0vl1
  106. - new upstream release
  107. * Mon Sep 29 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.4-0vl1
  108. - new upstream release
  109. * Sun Sep 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.2.3-7vl2
  110. - add .la files to devel package
  111. * Thu Aug 21 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-7vl1
  112. - based on Rawhide 0.2.3-7
  113. - rebuild with new toolchains
  114. - fixed URL
  115. * Fri Mar 08 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.2.3-0vl1
  116. - updated to new upstream release
  117. * Fri Mar 23 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.2.1-0vl1
  118. - New upstream release.
  119. - Use rpmmacros.
  120. * Sun Nov 19 2000 Satoshi MACHINO <machino@vinelinux.org> 0.1.9-1vl4
  121. - build with gcc-2.95.3
  122. - removed strip
  123. * Sun Jul 23 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  124. - libtoolize
  125. * Fri Sep 17 1999 Kazuhito Nishi <nishi@imasy.or.jp>
  126. - First try at a spec file for Vine