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

Diff of /liblscp/trunk/liblscp.spec.in

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

revision 3400 by capela, Tue Dec 12 17:47:01 2017 UTC revision 3630 by capela, Sun Oct 13 14:13:15 2019 UTC
# Line 1  Line 1 
1    
2  %define name    @PACKAGE@  %define name    @PACKAGE@
3  %define version @VERSION@  %define version @VERSION@
4  %define release 24  %define release 25
5    
6    %define _soname %{name}6
7    
8  %define _prefix @prefix@  %define _prefix @prefix@
9    
10  Summary:        LinuxSampler control protocol API  %if %{defined fedora}
11    %global debug_package %{nil}
12    %endif
13    
14    Summary:        LinuxSampler Control Protocol API library
15  Name:           %{name}  Name:           %{name}
16  Version:        %{version}  Version:        %{version}
17  Release:        %{release}  Release:        %{release}
# Line 15  URL:           http://www.linuxsampler.org/ Line 21  URL:           http://www.linuxsampler.org/
21  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
22  #Packager:      rncbc.org  #Packager:      rncbc.org
23    
24    BuildRequires: libtool
25  BuildRequires: doxygen  BuildRequires: doxygen
26  %if %{defined fedora}  %if %{defined fedora}
27  BuildRequires: pkgconfig  BuildRequires: pkgconfig
# Line 24  BuildRequires: pkg-config Line 31  BuildRequires: pkg-config
31  BuildRequires: glibc-devel  BuildRequires: glibc-devel
32    
33  %description  %description
34  LinuxSampler control protocol API.  LinuxSampler control protocol API library.
35    
36    
37  %package -n %{name}6  %package -n %{_soname}
38  Summary:        LinuxSampler control protocol API library  Summary:        LinuxSampler Control Protocol API library
39  Group:          Productivity/Multimedia/Sound  Group:          System/Libraries
40  Provides:       %{name}  Provides:       %{name}
41    
42  %description -n %{name}6  %description -n %{_soname}
43  LinuxSampler control protocol API library.    LinuxSampler Control Protocol C API library - development files.
44      .
45      This package is for use with the LinuxSampler audio sampling
46      engine / library and packages. Wraps the LinuxSampler network
47      protocol and offers a convenient API in form of a C library.
48      .
49      For further informations visit
50      http://www.linuxsampler.org
51      .
52      This package contains the header files needed for
53      development with liblscp. You will need this only if you
54      intend to compile programs that use this library.
55    
56    
57  %package devel  %package devel
58  Summary:        LinuxSampler control protocol API libraries and include files  Summary:        LinuxSampler Control Protocol API library - development files
59  Group:          Development/Libraries/C and C++  Group:          Development/Libraries/C and C++
60  Requires:       %{name} = %{version}  Requires:       %{name} >= %{version}
61    
62  %description devel  %description devel
63  LinuxSampler control protocol API libraries and include files.  LinuxSampler Control Protocol C API library - development files.
64    
65    This package is for use with the LinuxSampler audio sampling
66    engine / library and packages. Wraps the LinuxSampler network
67    protocol and offers a convenient API in form of a C library.
68    
69    For further informations visit
70    http://www.linuxsampler.org
71    
72    This package contains the header files needed for
73    development with liblscp. You will need this only if you
74    intend to compile programs that use this library.
75    
76    
77  %prep  %prep
# Line 51  LinuxSampler control protocol API librar Line 80  LinuxSampler control protocol API librar
80  [ -x ./autogen.sh ] && ./autogen.sh  [ -x ./autogen.sh ] && ./autogen.sh
81    
82  %build  %build
83    %if %{undefined fedora}
84    export CFLAGS="-ffat-lto-objects"
85    %endif
86  %configure  %configure
87  %__make %{?_smp_mflags}  %__make %{?_smp_mflags}
88    
# Line 60  LinuxSampler control protocol API librar Line 92  LinuxSampler control protocol API librar
92  %clean  %clean
93  [ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}"  [ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}"
94    
95  %post -n %{name}6  %post -n %{_soname}
96  /sbin/ldconfig  /sbin/ldconfig
97    
98  %postun -n %{name}6  %postun -n %{_soname}
99  /sbin/ldconfig  /sbin/ldconfig
100    
101  %files -n %{name}6  %files -n %{_soname}
102  %defattr(-,root,root)  %defattr(-,root,root)
103  %doc AUTHORS COPYING ChangeLog NEWS README TODO  %doc AUTHORS COPYING ChangeLog NEWS README TODO
104  %{_libdir}/liblscp.so.*  %{_libdir}/liblscp.so.*

Legend:
Removed from v.3400  
changed lines
  Added in v.3630

  ViewVC Help
Powered by ViewVC