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

Annotation of /linuxsampler/trunk/linuxsampler.spec.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1011 - (hide annotations) (download)
Sat Jan 6 16:54:03 2007 UTC (13 years, 9 months ago) by capela
File size: 2849 byte(s)
Added missing install files to RPM package spec.

1 capela 643
2     %define name @PACKAGE@
3     %define version @VERSION@
4 schoenebeck 937 %define release 9
5 capela 643 %define prefix @prefix@
6    
7     Summary: LinuxSampler - modular, streaming capable, realtime audio sampler
8     Name: %{name}
9     Version: %{version}
10     Release: %{release}
11     Prefix: %{prefix}
12 capela 868 License: GPL
13 capela 643 Group: Sound
14     Source0: %{name}-%{version}.tar.bz2
15     URL: http://www.linuxsampler.org/
16     BuildRoot: /var/tmp/%{name}-%{version}-buildroot
17 schoenebeck 937 Requires: libgig >= 3.1.0
18 capela 643
19     %description
20     LinuxSampler is a work in progress. It's goal is to produce a free
21     software audio sampler with professional grade features.
22    
23     It offers disk streaming capability and supports the Gigasampler
24     format which is currently considered to be the best sampler format
25     in regards of possibilities and sound quality.
26    
27     This package provides the backend of LinuxSampler, that is the
28     sampler engine together with audio and MIDI drivers. LinuxSampler
29     can be controlled via network interface which uses an ASCII based
30     protocol called LSCP. You might consider to install a GUI frontend
31     for LinuxSampler as well.
32    
33     For more informations please visit http://www.linuxsampler.org
34    
35 capela 868 %package devel
36     Summary: Linuxsampler development files
37     Group: Development/Libraries
38     Requires: %{name} = %{version}
39    
40     %description devel
41     Linuxsampler development files for allowing 3rd party applications
42     to link against liblinuxsampler
43    
44 capela 643 %prep
45    
46     %setup
47     [ -f Makefile.cvs ] && make -f Makefile.cvs
48    
49     %build
50     ./configure --prefix=%{prefix} --enable-optimize
51     [ -f Makefile.cvs ] && make parser
52     make
53 capela 868 make docs
54 capela 643
55     %install
56     if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
57     mkdir -p $RPM_BUILD_ROOT
58     make prefix=$RPM_BUILD_ROOT%{prefix} install
59    
60 capela 868 %post
61     /sbin/ldconfig
62    
63     %postun
64     /sbin/ldconfig
65    
66 capela 643 %clean
67     if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
68    
69     %files
70     %defattr(-,root,root)
71     %doc AUTHORS COPYING ChangeLog README
72     %{prefix}/bin/linuxsampler
73 capela 868 %{prefix}/lib/linuxsampler/liblinuxsampler.so*
74 capela 1011 %{prefix}/share/man/man1/linuxsampler.*
75 capela 643
76 capela 868 %files devel
77     %defattr(-,root,root)
78     %doc doc/html/*
79 capela 1011 %{prefix}/lib/linuxsampler/include/config.h
80 capela 868 %{prefix}/lib/linuxsampler/liblinuxsampler.a
81     %{prefix}/lib/linuxsampler/liblinuxsampler.la
82     %{prefix}/lib/pkgconfig/linuxsampler.pc
83     %{prefix}/include/*
84    
85 capela 643 %changelog
86 schoenebeck 937 * Fri Nov 24 2006 Christian Schoenebeck <cuse@users.sourceforge.net>
87     - Going for linuxsampler 0.4.0 release.
88 capela 868 * Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net>
89     - changed deprecated copyright attribute to license
90     - added ldconfig to post-(un)install steps
91     - added devel package for liblinuxsampler
92 schoenebeck 692 * Fri Jul 15 2005 Christian Schoenebeck <cuse@users.sourceforge.net>
93     - Going for linuxsampler 0.3.3 bugfix release.
94 capela 678 * Thu Jun 23 2005 Rui Nuno Capela <rncbc@users.sourceforge.net>
95     - Ready for linuxsampler 0.3.2 bugfix release.
96 capela 643 * Sun Jun 12 2005 Rui Nuno Capela <rncbc@users.sourceforge.net>
97     - Created first official linuxsampler.spec

  ViewVC Help
Powered by ViewVC