1b815c7f3Sopenharmony_ci
2b815c7f3Sopenharmony_ci%define name    @PACKAGE@
3b815c7f3Sopenharmony_ci%define version @VERSION@
4b815c7f3Sopenharmony_ci%define release 1
5b815c7f3Sopenharmony_ci
6b815c7f3Sopenharmony_ciSummary: A library to handle various audio file formats.
7b815c7f3Sopenharmony_ciName: %{name}
8b815c7f3Sopenharmony_ciVersion: %{version}
9b815c7f3Sopenharmony_ciRelease: %{release}
10b815c7f3Sopenharmony_ciCopyright: LGPL
11b815c7f3Sopenharmony_ciGroup: Libraries/Sound
12b815c7f3Sopenharmony_ciSource: http://www.mega-nerd.com/libsndfile/libsndfile-%{version}.tar.gz
13b815c7f3Sopenharmony_ciUrl: http://www.mega-nerd.com/libsndfile/
14b815c7f3Sopenharmony_ciBuildRoot: /var/tmp/%{name}-%{version}
15b815c7f3Sopenharmony_ci
16b815c7f3Sopenharmony_ci%description
17b815c7f3Sopenharmony_cilibsndfile is a C library for reading and writing sound files such as
18b815c7f3Sopenharmony_ciAIFF, AU and WAV files through one standard interface. It can currently
19b815c7f3Sopenharmony_ciread/write 8, 16, 24 and 32-bit PCM files as well as 32-bit floating
20b815c7f3Sopenharmony_cipoint WAV files and a number of compressed formats.
21b815c7f3Sopenharmony_ci
22b815c7f3Sopenharmony_ci%package devel
23b815c7f3Sopenharmony_ciSummary: Libraries, includes, etc to develop libsndfile applications
24b815c7f3Sopenharmony_ciGroup: Libraries
25b815c7f3Sopenharmony_ci
26b815c7f3Sopenharmony_ci%description devel
27b815c7f3Sopenharmony_ciLibraries, include files, etc you can use to develop libsndfile applications.
28b815c7f3Sopenharmony_ci
29b815c7f3Sopenharmony_ci%prep
30b815c7f3Sopenharmony_ci%setup
31b815c7f3Sopenharmony_ci
32b815c7f3Sopenharmony_ci%build
33b815c7f3Sopenharmony_ci%configure
34b815c7f3Sopenharmony_cimake
35b815c7f3Sopenharmony_ci
36b815c7f3Sopenharmony_ci%install
37b815c7f3Sopenharmony_ciif [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
38b815c7f3Sopenharmony_cimkdir -p $RPM_BUILD_ROOT
39b815c7f3Sopenharmony_cimake DESTDIR=$RPM_BUILD_ROOT install
40b815c7f3Sopenharmony_ci%clean
41b815c7f3Sopenharmony_ciif [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
42b815c7f3Sopenharmony_ci
43b815c7f3Sopenharmony_ci%files
44b815c7f3Sopenharmony_ci%defattr(-,root,root)
45b815c7f3Sopenharmony_ci%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO doc
46b815c7f3Sopenharmony_ci%{_libdir}/libsndfile.so.*
47b815c7f3Sopenharmony_ci%{_bindir}/*
48b815c7f3Sopenharmony_ci%{_mandir}/man1/*
49b815c7f3Sopenharmony_ci%{_datadir}/octave/site/m/*
50b815c7f3Sopenharmony_ci%{_defaultdocdir}/libsndfile1-dev/html/*
51b815c7f3Sopenharmony_ci
52b815c7f3Sopenharmony_ci%files devel
53b815c7f3Sopenharmony_ci%defattr(-,root,root)
54b815c7f3Sopenharmony_ci%{_libdir}/libsndfile.a
55b815c7f3Sopenharmony_ci%{_libdir}/libsndfile.la
56b815c7f3Sopenharmony_ci%{_libdir}/libsndfile.so
57b815c7f3Sopenharmony_ci%{_includedir}/sndfile.h
58b815c7f3Sopenharmony_ci%{_libdir}/pkgconfig/sndfile.pc
59b815c7f3Sopenharmony_ci
60b815c7f3Sopenharmony_ci%changelog
61b815c7f3Sopenharmony_ci* Sun May 15 2005 Erik de Castro Lopo <erikd@mega-nerd.com>
62b815c7f3Sopenharmony_ci- Add html files to the files section.
63b815c7f3Sopenharmony_ci* Tue Sep 16 2003 Erik de Castro Lopo <erikd@mega-nerd.com>
64b815c7f3Sopenharmony_ci- Apply corrections from Andrew Schultz.
65b815c7f3Sopenharmony_ci* Mon Oct 21 2002 Erik de Castro Lopo <erikd@mega-nerd.com>
66b815c7f3Sopenharmony_ci- Force installation of sndfile.pc file.
67b815c7f3Sopenharmony_ci* Thu Jul 6 2000 Josh Green <jgreen@users.sourceforge.net>
68b815c7f3Sopenharmony_ci- Created libsndfile.spec.in
69b815c7f3Sopenharmony_ci
70