1 |
|
2 |
%define name @PACKAGE@ |
3 |
%define version @VERSION@ |
4 |
%define release 2 |
5 |
%define prefix @prefix@ |
6 |
|
7 |
Summary: C++ library for loading Gigasampler files and DLS Level 1/2 files. |
8 |
Name: %{name} |
9 |
Version: %{version} |
10 |
Release: %{release} |
11 |
Prefix: %{prefix} |
12 |
Copyright: GPL |
13 |
Group: Sound |
14 |
Source0: %{name}-%{version}.tar.gz |
15 |
URL: http://stud.fh-heilbronn.de/~cschoene/projects/libgig/ |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
17 |
|
18 |
%description |
19 |
C++ library for loading Gigasampler files and DLS Level 1/2 files. |
20 |
|
21 |
%package devel |
22 |
Summary: C++ library for loading Gigasampler files and DLS Level 1/2 files. |
23 |
Group: Development/Libraries |
24 |
Requires: %{name} = %{version} |
25 |
|
26 |
%description devel |
27 |
C++ library for loading Gigasampler files and DLS Level 1/2 files. |
28 |
|
29 |
%prep |
30 |
|
31 |
%setup |
32 |
if [ -f Makefile.cvs ]; then make -f Makefile.cvs; fi |
33 |
|
34 |
%build |
35 |
./configure --prefix=%{prefix} |
36 |
make |
37 |
make docs |
38 |
|
39 |
%install |
40 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
41 |
mkdir -p $RPM_BUILD_ROOT |
42 |
make prefix=$RPM_BUILD_ROOT%{prefix} install |
43 |
|
44 |
%clean |
45 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
46 |
|
47 |
%files |
48 |
%defattr(-,root,root) |
49 |
%doc AUTHORS COPYING ChangeLog NEWS README TODO |
50 |
%{prefix}/bin/* |
51 |
%{prefix}/lib/libgig.so* |
52 |
%{prefix}/man/man1/* |
53 |
|
54 |
%files devel |
55 |
%defattr(-,root,root) |
56 |
%doc doc/html/* |
57 |
%{prefix}/lib/libgig.a |
58 |
%{prefix}/lib/libgig.la |
59 |
%{prefix}/lib/pkgconfig/gig.pc |
60 |
%{prefix}/include/* |
61 |
|
62 |
%changelog |
63 |
* Mon May 9 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
64 |
- prepared for 2.0.0 |
65 |
* Wed Nov 24 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
66 |
- prepared for 1.0.0 |
67 |
* Sat Jul 10 2004 Christian Schoenebeck <cuse@users.sourceforge.net> |
68 |
- renamed 'libgig.pc' to 'gig.pc' as well as the pkg-config lib name |
69 |
* Wed Jul 02 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
70 |
- Created and corrected initial libgig.spec |