/[svn]/libgig/trunk/libgig.spec.in
ViewVC logotype

Diff of /libgig/trunk/libgig.spec.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 196 by schoenebeck, Sat Jul 10 09:52:24 2004 UTC revision 2586 by schoenebeck, Sun Jun 1 00:10:36 2014 UTC
# Line 1  Line 1 
1    
2  %define name    @PACKAGE@  %define name    @PACKAGE@
3  %define version @VERSION@  %define version @VERSION@
4  %define release 1  %define release 13
5  %define prefix  @prefix@  %define prefix  @prefix@
6    
7  Summary:        C++ library for loading Gigasampler files and DLS Level 1/2 files.  Summary:        C++ library for accessing Gigasampler, DLS, SF, KORG, AKAI files.
8  Name:           %{name}  Name:           %{name}
9  Version:        %{version}  Version:        %{version}
10  Release:        %{release}  Release:        %{release}
11  Prefix:         %{prefix}  Prefix:         %{prefix}
12  Copyright:      GPL  License:        GPL / LGPL
13  Group:          Sound  Group:          Sound
14  Source0:        %{name}-%{version}.tar.gz  Source0:        %{name}-%{version}.tar.bz2
15  URL:            http://stud.fh-heilbronn.de/~cschoene/projects/libgig/  URL:            http://www.linuxsampler.org
16  BuildRoot:      /var/tmp/%{name}-%{version}-buildroot  BuildRoot:      /var/tmp/%{name}-%{version}-buildroot
17    
18  %description  %description
19  C++ library for loading Gigasampler files and DLS Level 1/2 files.  libgig is a C++ library for reading, modifying and creating Gigasampler /
20    GigaStudio (.gig) files, DLS (Downloadable Sounds) Level 1/2 files, SoundFont
21    version 2 (.sf2) and KORG sound files (.KMP and .KSF). These files are
22    typically used in modern day audio waveform samplers and synthesizer keyboards.
23    .
24    Since the Gigasampler / GigaStudio and DLS formats are based ontop of the
25    binary RIFF container format, this library also provides convenient access to
26    RIFF files in general.
27    .
28    This package also contains a Linux/POSIX ported version of libakai, which
29    provides support for reading Akai formated medias (CDRoms, HDs, Zip disks).
30    Currently Akai S1000, S01, S2000 and S3000 series are supported.
31    
32  %package devel  %package devel
33  Summary:        C++ library for loading Gigasampler files and DLS Level 1/2 files.  Summary:        C++ library for accessing Gigasampler, DLS, SF, KORG, AKAI files.
34  Group:          Development/Libraries  Group:          Development/Libraries
35  Requires:       %{name} = %{version}  Requires:       %{name} = %{version}
36    
37  %description devel  %description devel
38  C++ library for loading Gigasampler files and DLS Level 1/2 files.  libgig is a C++ library for reading, modifying and creating Gigasampler /
39    GigaStudio (.gig) files, DLS (Downloadable Sounds) Level 1/2 files, SoundFont
40    version 2 (.sf2) and KORG sound files (.KMP and .KSF). These files are
41    typically used in modern day audio waveform samplers and synthesizer keyboards.
42    .
43    Since the Gigasampler / GigaStudio and DLS formats are based ontop of the
44    binary RIFF container format, this library also provides convenient access to
45    RIFF files in general.
46    .
47    This package also contains a Linux/POSIX ported version of libakai, which
48    provides support for reading Akai formated medias (CDRoms, HDs, Zip disks).
49    Currently Akai S1000, S01, S2000 and S3000 series are supported.
50    .
51    This package contains the header files needed for development with libgig.
52    You will need this only if you intend to compile programs that use this
53    library.
54    
55  %prep  %prep
56    
57  %setup  %setup
58    if [ -f Makefile.cvs ]; then make -f Makefile.cvs; fi
59    
60  %build  %build
 make -f Makefile.cvs  
61  ./configure --prefix=%{prefix}  ./configure --prefix=%{prefix}
62  make  make
63  make doc  make docs
64    
65  %install  %install
66  if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi  if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
67  mkdir -p $RPM_BUILD_ROOT  mkdir -p $RPM_BUILD_ROOT
68  make prefix=$RPM_BUILD_ROOT%{prefix} install  make prefix=$RPM_BUILD_ROOT%{prefix} install
69    
70    %post
71    /sbin/ldconfig
72    
73    %postun
74    /sbin/ldconfig
75    
76  %clean  %clean
77  if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi  if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
78    
# Line 48  if [ -d $RPM_BUILD_ROOT ]; then rm -rf $ Line 80  if [ -d $RPM_BUILD_ROOT ]; then rm -rf $
80  %defattr(-,root,root)  %defattr(-,root,root)
81  %doc AUTHORS COPYING ChangeLog NEWS README TODO  %doc AUTHORS COPYING ChangeLog NEWS README TODO
82  %{prefix}/bin/*  %{prefix}/bin/*
83  %{prefix}/lib/libgig.so*  %{prefix}/lib/libgig/libgig.so*
84  %{prefix}/man/man1/*  %{prefix}/lib/libgig/libakai.so*
85    %{prefix}/share/man/man1/*
86    
87  %files devel  %files devel
88  %defattr(-,root,root)  %defattr(-,root,root)
89  %doc doc/html/*  %doc doc/html/*
90  %{prefix}/lib/libgig.a  %{prefix}/lib/libgig/libgig.a
91  %{prefix}/lib/libgig.la  %{prefix}/lib/libgig/libgig.la
92  %{prefix}/lib/pkgconfig/gig.pc  %{prefix}/lib/pkgconfig/gig.pc
93  %{prefix}/include/*  %{prefix}/lib/libgig/libakai.a
94    %{prefix}/lib/libgig/libakai.la
95    %{prefix}/lib/pkgconfig/akai.pc
96    %{prefix}/include/libgig/*
97    
98  %changelog  %changelog
99    * Sun Jun 01 2014 Christian Schoenebeck <cuse@users.sourceforge.net>
100    - Fixed installation directories of .so files and header files
101      (fixes #218).
102    - libgig.so and libakai.so files are now under /usr/lib/libgig
103    - Header files are now under /usr/include/libgig
104    * Thu May 22 2014 Christian Schoenebeck <cuse@users.sourceforge.net>
105    - Added libakai files. Note that libakai is released under LGPL terms while
106      libgig is released under GPL terms. To handle this license difference
107      appropriately the AKAI support part is built as separate DLL (.so file).
108      Due to its low expected demand however, no separate package is created for
109      the AKAI part for now though.
110    - Updated package descriptions.
111    * Thu Jul 30 2009 Christian Schoenebeck <cuse@users.sourceforge.net>
112    - prepared for release 3.3.0
113    * Wed Dec 03 2008 Christian Schoenebeck <cuse@users.sourceforge.net>
114    - fixed rpmbuild error on Fedora Core 8
115      (fixes #86, patch by Devin Anderson)
116    * Wed Dec 05 2007 Christian Schoenebeck <cuse@users.sourceforge.net>
117    - prepared for release 3.2.1
118    * Sun Oct 14 2007 Christian Schoenebeck <cuse@users.sourceforge.net>
119    - prepared for release 3.2.0
120    - libgig's home has moved to http://www.linuxsampler.org/libgig/
121    * Sat Mar 24 2007 Christian Schoenebeck <cuse@users.sourceforge.net>
122    - prepared for 3.1.1
123    * Fri Nov 24 2006 Christian Schoenebeck <cuse@users.sourceforge.net>
124    - prepared for 3.1.0
125    * Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net>
126    - changed deprecated copyright attribute to license
127    - added ldconfig to post-(un)install steps
128    * Sun May 07 2006 Christian Schoenebeck <cuse@users.sourceforge.net>
129    - libgig's home has been slightly changed from stud.fh-heilbronn.de
130      to stud.hs-heilbronn.de
131    * Fri Apr 28 2006 Christian Schoenebeck <cuse@users.sourceforge.net>
132    - prepared for 3.0.0
133    * Mon Aug 15 2005 Christian Schoenebeck <cuse@users.sourceforge.net>
134    - prepared for 2.0.2
135    * Mon Jun 13 2005 Rui Nuno Capela <rncbc@users.sourceforge.net>
136    - prepared for 2.0.1
137    * Mon May  9 2005 Rui Nuno Capela <rncbc@users.sourceforge.net>
138    - prepared for 2.0.0
139    * Wed Nov 24 2004 Rui Nuno Capela <rncbc@users.sourceforge.net>
140    - prepared for 1.0.0
141  * Sat Jul 10 2004 Christian Schoenebeck <cuse@users.sourceforge.net>  * Sat Jul 10 2004 Christian Schoenebeck <cuse@users.sourceforge.net>
142  - renamed 'libgig.pc' to 'gig.pc' as well as the pkg-config lib name  - renamed 'libgig.pc' to 'gig.pc' as well as the pkg-config lib name
143  * Wed Jul 02 2004 Rui Nuno Capela <rncbc@users.sourceforge.net>  * Wed Jul 02 2004 Rui Nuno Capela <rncbc@users.sourceforge.net>

Legend:
Removed from v.196  
changed lines
  Added in v.2586

  ViewVC Help
Powered by ViewVC