Mercurial > hg > sv-dependency-builds
comparison src/libsndfile-1.0.25/libsndfile.spec.in @ 0:c7265573341e
Import initial set of sources
author | Chris Cannam |
---|---|
date | Mon, 18 Mar 2013 14:12:14 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c7265573341e |
---|---|
1 | |
2 %define name @PACKAGE@ | |
3 %define version @VERSION@ | |
4 %define release 1 | |
5 | |
6 Summary: A library to handle various audio file formats. | |
7 Name: %{name} | |
8 Version: %{version} | |
9 Release: %{release} | |
10 Copyright: LGPL | |
11 Group: Libraries/Sound | |
12 Source: http://www.mega-nerd.com/libsndfile/libsndfile-%{version}.tar.gz | |
13 URL: http://www.mega-nerd.com/libsndfile/ | |
14 BuildRoot: /var/tmp/%{name}-%{version} | |
15 | |
16 %description | |
17 libsndfile is a C library for reading and writing sound files such as | |
18 AIFF, AU and WAV files through one standard interface. It can currently | |
19 read/write 8, 16, 24 and 32-bit PCM files as well as 32-bit floating | |
20 point WAV files and a number of compressed formats. | |
21 | |
22 %package devel | |
23 Summary: Libraries, includes, etc to develop libsndfile applications | |
24 Group: Libraries | |
25 | |
26 %description devel | |
27 Libraries, include files, etc you can use to develop libsndfile applications. | |
28 | |
29 %prep | |
30 %setup | |
31 | |
32 %build | |
33 %configure | |
34 make | |
35 | |
36 %install | |
37 if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi | |
38 mkdir -p $RPM_BUILD_ROOT | |
39 make DESTDIR=$RPM_BUILD_ROOT install | |
40 %clean | |
41 if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi | |
42 | |
43 %files | |
44 %defattr(-,root,root) | |
45 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO doc | |
46 %{_libdir}/libsndfile.so.* | |
47 %{_bindir}/* | |
48 %{_mandir}/man1/* | |
49 %{_datadir}/octave/site/m/* | |
50 %{_defaultdocdir}/libsndfile1-dev/html/* | |
51 | |
52 %files devel | |
53 %defattr(-,root,root) | |
54 %{_libdir}/libsndfile.a | |
55 %{_libdir}/libsndfile.la | |
56 %{_libdir}/libsndfile.so | |
57 %{_includedir}/sndfile.h | |
58 %{_libdir}/pkgconfig/sndfile.pc | |
59 | |
60 %changelog | |
61 * Sun May 15 2005 Erik de Castro Lopo <erikd@mega-nerd.com> | |
62 - Add html files to the files section. | |
63 * Tue Sep 16 2003 Erik de Castro Lopo <erikd@mega-nerd.com> | |
64 - Apply corrections from Andrew Schultz. | |
65 * Mon Oct 21 2002 Erik de Castro Lopo <erikd@mega-nerd.com> | |
66 - Force installation of sndfile.pc file. | |
67 * Thu Jul 6 2000 Josh Green <jgreen@users.sourceforge.net> | |
68 - Created libsndfile.spec.in | |
69 |