audiofile-vl.spec 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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.7
  6. Release: 2%{?_dist_release}
  7. License: LGPL
  8. Group: System Environment/Libraries
  9. Source: http://ftp.gnome.org/pub/GNOME/sources/audiofile/0.2/%{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. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.7-2
  94. - rebuild with rpm-4.8.1 for pkg-config file
  95. * Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.7-1
  96. - new upstream release
  97. - fix URL of Source
  98. * Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.2.6-2
  99. - spec in utf-8
  100. - remove static lib
  101. * Mon May 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.6-1
  102. - applied new versioning policy
  103. - removed *.la file from devel package
  104. - added %%post and %%postun section
  105. * Mon Mar 06 2006 NAKAMURA Kenta <kenta@c.csce.kyushu-u.ac.jp> 0.2.6-0vl3
  106. - added compat32-* packages for x86_64 architecture support
  107. * Thu Feb 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.2.6-0vl2
  108. - rebuild
  109. - update URL
  110. * Sat Oct 23 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.6-0vl1
  111. - new upstream release
  112. * Mon Sep 29 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.4-0vl1
  113. - new upstream release
  114. * Sun Sep 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.2.3-7vl2
  115. - add .la files to devel package
  116. * Thu Aug 21 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-7vl1
  117. - based on Rawhide 0.2.3-7
  118. - rebuild with new toolchains
  119. - fixed URL
  120. * Fri Mar 08 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.2.3-0vl1
  121. - updated to new upstream release
  122. * Fri Mar 23 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.2.1-0vl1
  123. - New upstream release.
  124. - Use rpmmacros.
  125. * Sun Nov 19 2000 Satoshi MACHINO <machino@vinelinux.org> 0.1.9-1vl4
  126. - build with gcc-2.95.3
  127. - removed strip
  128. * Sun Jul 23 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
  129. - libtoolize
  130. * Fri Sep 17 1999 Kazuhito Nishi <nishi@imasy.or.jp>
  131. - First try at a spec file for Vine