audiofile-vl.spec 5.3 KB

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