1 |
|
|
2 |
%define name @PACKAGE@ |
%define name @PACKAGE@ |
3 |
%define version @VERSION@ |
%define version @VERSION@ |
4 |
%define release 1 |
%define release 10 |
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 loading and modifying Gigasampler and DLS 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 |
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/libgig/ |
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. |
C++ library for loading and modifying Gigasampler and DLS files. |
20 |
|
|
21 |
%package devel |
%package devel |
22 |
Summary: C++ library for loading Gigasampler files and DLS Level 1/2 files. |
Summary: C++ library for loading and modifying Gigasampler and DLS files. |
23 |
Group: Development/Libraries |
Group: Development/Libraries |
24 |
Requires: %{name} = %{version} |
Requires: %{name} = %{version} |
25 |
|
|
26 |
%description devel |
%description devel |
27 |
C++ library for loading Gigasampler files and DLS Level 1/2 files. |
C++ library for loading and modifying Gigasampler and DLS files. |
28 |
|
|
29 |
%prep |
%prep |
30 |
|
|
31 |
%setup |
%setup |
32 |
|
if [ -f Makefile.cvs ]; then make -f Makefile.cvs; fi |
33 |
|
|
34 |
%build |
%build |
|
make -f Makefile.cvs |
|
35 |
./configure --prefix=%{prefix} |
./configure --prefix=%{prefix} |
36 |
make |
make |
37 |
make doc |
make docs |
38 |
|
|
39 |
%install |
%install |
40 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
41 |
mkdir -p $RPM_BUILD_ROOT |
mkdir -p $RPM_BUILD_ROOT |
42 |
make prefix=$RPM_BUILD_ROOT%{prefix} install |
make prefix=$RPM_BUILD_ROOT%{prefix} install |
43 |
|
|
44 |
|
%post |
45 |
|
/sbin/ldconfig |
46 |
|
|
47 |
|
%postun |
48 |
|
/sbin/ldconfig |
49 |
|
|
50 |
%clean |
%clean |
51 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
52 |
|
|
62 |
%doc doc/html/* |
%doc doc/html/* |
63 |
%{prefix}/lib/libgig.a |
%{prefix}/lib/libgig.a |
64 |
%{prefix}/lib/libgig.la |
%{prefix}/lib/libgig.la |
65 |
%{prefix}/lib/pkgconfig/libgig.pc |
%{prefix}/lib/pkgconfig/gig.pc |
66 |
%{prefix}/include/* |
%{prefix}/include/* |
67 |
|
|
68 |
%changelog |
%changelog |
69 |
|
* Sun Oct 14 2007 Christian Schoenebeck <cuse@users.sourceforge.net> |
70 |
|
- prepared for release 3.2.0 |
71 |
|
- libgig's home has moved to http://www.linuxsampler.org/libgig/ |
72 |
|
* Sat Mar 24 2007 Christian Schoenebeck <cuse@users.sourceforge.net> |
73 |
|
- prepared for 3.1.1 |
74 |
|
* Fri Nov 24 2006 Christian Schoenebeck <cuse@users.sourceforge.net> |
75 |
|
- prepared for 3.1.0 |
76 |
|
* Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net> |
77 |
|
- changed deprecated copyright attribute to license |
78 |
|
- added ldconfig to post-(un)install steps |
79 |
|
* Sun May 07 2006 Christian Schoenebeck <cuse@users.sourceforge.net> |
80 |
|
- libgig's home has been slightly changed from stud.fh-heilbronn.de |
81 |
|
to stud.hs-heilbronn.de |
82 |
|
* Fri Apr 28 2006 Christian Schoenebeck <cuse@users.sourceforge.net> |
83 |
|
- prepared for 3.0.0 |
84 |
|
* Mon Aug 15 2005 Christian Schoenebeck <cuse@users.sourceforge.net> |
85 |
|
- prepared for 2.0.2 |
86 |
|
* Mon Jun 13 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
87 |
|
- prepared for 2.0.1 |
88 |
|
* Mon May 9 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
89 |
|
- prepared for 2.0.0 |
90 |
|
* Wed Nov 24 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
91 |
|
- prepared for 1.0.0 |
92 |
|
* Sat Jul 10 2004 Christian Schoenebeck <cuse@users.sourceforge.net> |
93 |
|
- renamed 'libgig.pc' to 'gig.pc' as well as the pkg-config lib name |
94 |
* Wed Jul 02 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
* Wed Jul 02 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
95 |
- Created and corrected initial libgig.spec |
- Created and corrected initial libgig.spec |