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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 168 - (show annotations) (download)
Fri Jul 2 19:37:09 2004 UTC (18 years, 7 months ago) by capela
File size: 1450 byte(s)
* packaging changes:
  - added libgig.spec and libgig.pc package configurations.
  - header files included on installation.
  - autotools-generated files removed from CVS repository.

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/libgig.pc
60 %{prefix}/include/*
61
62 %changelog
63 * Wed Jul 02 2004 Rui Nuno Capela <rncbc@users.sourceforge.net>
64 - Created and corrected initial libgig.spec

  ViewVC Help
Powered by ViewVC