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