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

Diff of /linuxsampler/trunk/linuxsampler.spec.in

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 692 by schoenebeck, Fri Jul 15 16:59:35 2005 UTC revision 868 by capela, Wed May 31 23:39:19 2006 UTC
# Line 1  Line 1 
1    
2  %define name    @PACKAGE@  %define name    @PACKAGE@
3  %define version @VERSION@  %define version @VERSION@
4  %define release 7  %define release 8
5  %define prefix  @prefix@  %define prefix  @prefix@
6    
7  Summary:        LinuxSampler - modular, streaming capable, realtime audio sampler  Summary:        LinuxSampler - modular, streaming capable, realtime audio sampler
# Line 9  Name:          %{name} Line 9  Name:          %{name}
9  Version:        %{version}  Version:        %{version}
10  Release:        %{release}  Release:        %{release}
11  Prefix: %{prefix}  Prefix: %{prefix}
12  Copyright:      GPL  License:        GPL
13  Group:          Sound  Group:          Sound
14  Source0:        %{name}-%{version}.tar.bz2  Source0:        %{name}-%{version}.tar.bz2
15  URL:            http://www.linuxsampler.org/  URL:            http://www.linuxsampler.org/
# Line 32  for LinuxSampler as well. Line 32  for LinuxSampler as well.
32    
33  For more informations please visit http://www.linuxsampler.org  For more informations please visit http://www.linuxsampler.org
34    
35    %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  %prep  %prep
45    
46  %setup  %setup
# Line 41  For more informations please visit http: Line 50  For more informations please visit http:
50  ./configure --prefix=%{prefix} --enable-optimize  ./configure --prefix=%{prefix} --enable-optimize
51  [ -f Makefile.cvs ] && make parser  [ -f Makefile.cvs ] && make parser
52  make  make
53    make docs
54    
55  %install  %install
56  if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi  if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
57  mkdir -p $RPM_BUILD_ROOT  mkdir -p $RPM_BUILD_ROOT
58  make prefix=$RPM_BUILD_ROOT%{prefix} install  make prefix=$RPM_BUILD_ROOT%{prefix} install
59    
60    %post
61    /sbin/ldconfig
62    
63    %postun
64    /sbin/ldconfig
65    
66  %clean  %clean
67  if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi  if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
68    
# Line 54  if [ -d $RPM_BUILD_ROOT ]; then rm -rf $ Line 70  if [ -d $RPM_BUILD_ROOT ]; then rm -rf $
70  %defattr(-,root,root)  %defattr(-,root,root)
71  %doc AUTHORS COPYING ChangeLog README  %doc AUTHORS COPYING ChangeLog README
72  %{prefix}/bin/linuxsampler  %{prefix}/bin/linuxsampler
73  %{prefix}/lib/linuxsampler/liblinuxsampler.*  %{prefix}/lib/linuxsampler/liblinuxsampler.so*
74  %{prefix}/man/man1/linuxsampler.*  %{prefix}/man/man1/linuxsampler.*
75    
76    %files devel
77    %defattr(-,root,root)
78    %doc doc/html/*
79    %{prefix}/lib/linuxsampler/liblinuxsampler.a
80    %{prefix}/lib/linuxsampler/liblinuxsampler.la
81    %{prefix}/lib/pkgconfig/linuxsampler.pc
82    %{prefix}/include/*
83    
84  %changelog  %changelog
85    * Thu Jun 01 2006 Rui Nuno Capela <rncbc@users.sourceforge.net>
86    - changed deprecated copyright attribute to license
87    - added ldconfig to post-(un)install steps
88    - added devel package for liblinuxsampler
89  * Fri Jul 15 2005 Christian Schoenebeck <cuse@users.sourceforge.net>  * Fri Jul 15 2005 Christian Schoenebeck <cuse@users.sourceforge.net>
90  - Going for linuxsampler 0.3.3 bugfix release.  - Going for linuxsampler 0.3.3 bugfix release.
91  * Thu Jun 23 2005 Rui Nuno Capela <rncbc@users.sourceforge.net>  * Thu Jun 23 2005 Rui Nuno Capela <rncbc@users.sourceforge.net>

Legend:
Removed from v.692  
changed lines
  Added in v.868

  ViewVC Help
Powered by ViewVC