annotate src/libsndfile-1.0.27/libsndfile.spec.in @ 169:223a55898ab9 tip default

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