source: projects/specs/trunk/a/audiofile/audiofile-vl.spec @ 10478

Revision 10478, 5.4 KB checked in by tomop, 8 years ago (diff)

audiofile-0.3.6-2

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