annotate src/libsndfile-1.0.25/libsndfile.spec.in @ 85:545efbb81310

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