1 |
|
2 |
%define name @PACKAGE@ |
3 |
%define version @VERSION@ |
4 |
%define release 8 |
5 |
%define prefix @prefix@ |
6 |
|
7 |
Summary: C++ library for loading and modifying Gigasampler and DLS files. |
8 |
Name: %{name} |
9 |
Version: %{version} |
10 |
Release: %{release} |
11 |
Prefix: %{prefix} |
12 |
License: GPL |
13 |
Group: Sound |
14 |
Source0: %{name}-%{version}.tar.bz2 |
15 |
URL: http://stud.hs-heilbronn.de/~cschoene/projects/libgig/ |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-buildroot |
17 |
|
18 |
%description |
19 |
C++ library for loading and modifying Gigasampler and DLS files. |
20 |
|
21 |
%package devel |
22 |
Summary: C++ library for loading and modifying Gigasampler and DLS files. |
23 |
Group: Development/Libraries |
24 |
Requires: %{name} = %{version} |
25 |
|
26 |
%description devel |
27 |
C++ library for loading and modifying Gigasampler and DLS 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 |
%post |
45 |
/sbin/ldconfig |
46 |
|
47 |
%postun |
48 |
/sbin/ldconfig |
49 |
|
50 |
%clean |
51 |
if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
52 |
|
53 |
%files |
54 |
%defattr(-,root,root) |
55 |
%doc AUTHORS COPYING ChangeLog NEWS README TODO |
56 |
%{prefix}/bin/* |
57 |
%{prefix}/lib/libgig.so* |
58 |
%{prefix}/man/man1/* |
59 |
|
60 |
%files devel |
61 |
%defattr(-,root,root) |
62 |
%doc doc/html/* |
63 |
%{prefix}/lib/libgig.a |
64 |
%{prefix}/lib/libgig.la |
65 |
%{prefix}/lib/pkgconfig/gig.pc |
66 |
%{prefix}/include/* |
67 |
|
68 |
%changelog |
69 |
* Fri Nov 24 2006 Christian Schoenebeck <cuse@users.sourceforge.net> |
70 |
- prepared for 3.1.0 |
71 |
* Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net> |
72 |
- changed deprecated copyright attribute to license |
73 |
- added ldconfig to post-(un)install steps |
74 |
* Sun May 07 2006 Christian Schoenebeck <cuse@users.sourceforge.net> |
75 |
- libgig's home has been slightly changed from stud.fh-heilbronn.de |
76 |
to stud.hs-heilbronn.de |
77 |
* Fri Apr 28 2006 Christian Schoenebeck <cuse@users.sourceforge.net> |
78 |
- prepared for 3.0.0 |
79 |
* Mon Aug 15 2005 Christian Schoenebeck <cuse@users.sourceforge.net> |
80 |
- prepared for 2.0.2 |
81 |
* Mon Jun 13 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
82 |
- prepared for 2.0.1 |
83 |
* Mon May 9 2005 Rui Nuno Capela <rncbc@users.sourceforge.net> |
84 |
- prepared for 2.0.0 |
85 |
* Wed Nov 24 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
86 |
- prepared for 1.0.0 |
87 |
* Sat Jul 10 2004 Christian Schoenebeck <cuse@users.sourceforge.net> |
88 |
- renamed 'libgig.pc' to 'gig.pc' as well as the pkg-config lib name |
89 |
* Wed Jul 02 2004 Rui Nuno Capela <rncbc@users.sourceforge.net> |
90 |
- Created and corrected initial libgig.spec |