/[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 3598 by capela, Tue Sep 10 10:34:38 2019 UTC
# Line 3  Line 3 
3  %define version @VERSION@  %define version @VERSION@
4  %define release 24  %define release 24
5    
6    %define _soname %{name}6
7    
8  %define _prefix @prefix@  %define _prefix @prefix@
9    
10    %if %{defined fedora}
11    %global debug_package %{nil}
12    %endif
13    
14  Summary:        LinuxSampler control protocol API  Summary:        LinuxSampler control protocol API
15  Name:           %{name}  Name:           %{name}
16  Version:        %{version}  Version:        %{version}
# 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 27  BuildRequires: glibc-devel Line 34  BuildRequires: glibc-devel
34  LinuxSampler control protocol API.  LinuxSampler control protocol API.
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 API library.
44    
45    
# Line 51  LinuxSampler control protocol API librar Line 58  LinuxSampler control protocol API librar
58  [ -x ./autogen.sh ] && ./autogen.sh  [ -x ./autogen.sh ] && ./autogen.sh
59    
60  %build  %build
61    %if %{undefined fedora}
62    export CFLAGS="-ffat-lto-objects"
63    %endif
64  %configure  %configure
65  %__make %{?_smp_mflags}  %__make %{?_smp_mflags}
66    
# Line 60  LinuxSampler control protocol API librar Line 70  LinuxSampler control protocol API librar
70  %clean  %clean
71  [ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}"  [ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}"
72    
73  %post -n %{name}6  %post -n %{_soname}
74  /sbin/ldconfig  /sbin/ldconfig
75    
76  %postun -n %{name}6  %postun -n %{_soname}
77  /sbin/ldconfig  /sbin/ldconfig
78    
79  %files -n %{name}6  %files -n %{_soname}
80  %defattr(-,root,root)  %defattr(-,root,root)
81  %doc AUTHORS COPYING ChangeLog NEWS README TODO  %doc AUTHORS COPYING ChangeLog NEWS README TODO
82  %{_libdir}/liblscp.so.*  %{_libdir}/liblscp.so.*

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

  ViewVC Help
Powered by ViewVC