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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 867 - (show annotations) (download)
Wed May 31 23:10:47 2006 UTC (12 years, 9 months ago) by capela
File size: 2421 byte(s)
* packaging changes:
    - changed deprecated copyright attribute to license;
      added ldconfig to post-(un)install steps on libgig.spec (RPM)

1
2 %define name @PACKAGE@
3 %define version @VERSION@
4 %define release 7
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 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 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 %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 * Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net>
70 - changed deprecated copyright attribute to license
71 - added ldconfig to post-(un)install steps
72 * Sun May 07 2006 Christian Schoenebeck <cuse@users.sourceforge.net>
73 - libgig's home has been slightly changed from stud.fh-heilbronn.de
74 to stud.hs-heilbronn.de
75 * Fri Apr 28 2006 Christian Schoenebeck <cuse@users.sourceforge.net>
76 - prepared for 3.0.0
77 * Mon Aug 15 2005 Christian Schoenebeck <cuse@users.sourceforge.net>
78 - prepared for 2.0.2
79 * Mon Jun 13 2005 Rui Nuno Capela <rncbc@users.sourceforge.net>
80 - prepared for 2.0.1
81 * Mon May 9 2005 Rui Nuno Capela <rncbc@users.sourceforge.net>
82 - prepared for 2.0.0
83 * Wed Nov 24 2004 Rui Nuno Capela <rncbc@users.sourceforge.net>
84 - prepared for 1.0.0
85 * Sat Jul 10 2004 Christian Schoenebeck <cuse@users.sourceforge.net>
86 - renamed 'libgig.pc' to 'gig.pc' as well as the pkg-config lib name
87 * Wed Jul 02 2004 Rui Nuno Capela <rncbc@users.sourceforge.net>
88 - Created and corrected initial libgig.spec

  ViewVC Help
Powered by ViewVC