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

Contents of /libgig/trunk/libgig.spec.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 196 - (show annotations) (download)
Sat Jul 10 09:52:24 2004 UTC (18 years, 6 months ago) by schoenebeck
File size: 1585 byte(s)
* renamed 'libgig.pc.in' -> 'gig.pc.in' and renamed pkg-config lib name
  'libgig' -> 'gig' as it's common practice to omit the 'lib' prefix

1
2 %define name @PACKAGE@
3 %define version @VERSION@
4 %define release 1
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
33 %build
34 make -f Makefile.cvs
35 ./configure --prefix=%{prefix}
36 make
37 make doc
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 * Sat Jul 10 2004 Christian Schoenebeck <cuse@users.sourceforge.net>
64 - renamed 'libgig.pc' to 'gig.pc' as well as the pkg-config lib name
65 * Wed Jul 02 2004 Rui Nuno Capela <rncbc@users.sourceforge.net>
66 - Created and corrected initial libgig.spec

  ViewVC Help
Powered by ViewVC