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

Revision 6141, 5.2 KB checked in by Takemikaduchi, 12 years ago (diff)

esound: rebuild
others: new upstream release

RevLine 
[521]1%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Summary:        A library for accessing various audio file formats
4Summary(ja):    さまざまなオーディオフォーマットを扱うライブラリ
5Name:           audiofile
[6141]6Version:        0.3.4
7Release:        1%{?_dist_release}
[521]8License:        LGPL
9Group:          System Environment/Libraries
[6141]10Source:         http://ftp.gnome.org/pub/GNOME/sources/audiofile/0.3/%{name}-%{version}.tar.xz
[521]11URL:            http://www.68k.org/~michael/audiofile/
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13
[6141]14BuildRequires:  alsa-lib-devel
15
16Vendor:         Project Vine
17Distribution:   Vine Linux
18
19
[521]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
[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
[6141]134* Sun May 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.4-1
135- new upstream release
136
[1900]137* Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.7-2
138- rebuild with rpm-4.8.1 for pkg-config file
139
[1251]140* Sat Jun 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.2.7-1
141- new upstream release
142- fix URL of Source
143
[521]144* Tue Mar 31 2009 Daisuke SUZUKI <daisuke@linux.or.jp>  0.2.6-2
145- spec in utf-8
146- remove static lib
147
148* Mon May 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.6-1
149- applied new versioning policy
150- removed *.la file from devel package
151- added %%post and %%postun section
152
153* Mon Mar 06 2006 NAKAMURA Kenta <kenta@c.csce.kyushu-u.ac.jp> 0.2.6-0vl3
154- added compat32-* packages for x86_64 architecture support
155
156* Thu Feb 02 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.2.6-0vl2
157- rebuild
158- update URL
159
160* Sat Oct 23 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.6-0vl1
161- new upstream release
162
163* Mon Sep 29 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.4-0vl1
164- new upstream release
165
166* Sun Sep 21 2003 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 0.2.3-7vl2
167- add .la files to devel package
168
169* Thu Aug 21 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.2.3-7vl1
170- based on Rawhide 0.2.3-7
171- rebuild with new toolchains
172- fixed URL
173
174* Fri Mar 08 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.2.3-0vl1
175- updated to new upstream release
176
177* Fri Mar 23 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.2.1-0vl1
178- New upstream release.
179- Use rpmmacros.
180
181* Sun Nov 19 2000 Satoshi MACHINO <machino@vinelinux.org> 0.1.9-1vl4
182- build with gcc-2.95.3
183- removed strip
184
185* Sun Jul 23 2000 Daisuke SUZUKI <daisuke@linux.or.jp>
186- libtoolize
187
188* Fri Sep 17 1999 Kazuhito Nishi <nishi@imasy.or.jp>
189- First try at a spec file for Vine
Note: See TracBrowser for help on using the repository browser.