/[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 3597 by capela, Sun Sep 8 09:47:23 2019 UTC revision 3864 by capela, Sun Mar 14 10:17:22 2021 UTC
# Line 1  Line 1 
1    #
2    # spec file for package liblscp
3    #
4    # Copyright (C) 2004-2021, rncbc aka Rui Nuno Capela. All rights reserved.
5    # Copyright (C) 2007,2008,2015 Christian Schoenebeck
6    #
7    # All modifications and additions to the file contributed by third parties
8    # remain the property of their copyright owners, unless otherwise agreed
9    # upon. The license for this file, and modifications and additions to the
10    # file, is the same license as for the pristine package itself (unless the
11    # license for the pristine package is not an Open Source License, in which
12    # case the license is the MIT License). An "Open Source License" is a
13    # license that conforms to the Open Source Definition (Version 1.9)
14    # published by the Open Source Initiative.
15    #
16    # Please submit bugfixes or comments via http://bugs.opensuse.org/
17    #
18    
19  %define name    @PACKAGE@  %define name    @PACKAGE@
20  %define version @VERSION@  %define version @VERSION@
21  %define release 24  %define release 46
22    
23  %define _soname %{name}6  %define _soname %{name}6
24    
25  %define _prefix @prefix@  %define _prefix @prefix@
26    
27  Summary:        LinuxSampler control protocol API  %if %{defined fedora}
28    %global debug_package %{nil}
29    %endif
30    
31    Summary:        LinuxSampler Control Protocol API library
32  Name:           %{name}  Name:           %{name}
33  Version:        %{version}  Version:        %{version}
34  Release:        %{release}  Release:        %{release}
# Line 17  URL:           http://www.linuxsampler.org/ Line 38  URL:           http://www.linuxsampler.org/
38  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot  BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-buildroot
39  #Packager:      rncbc.org  #Packager:      rncbc.org
40    
41  BuildRequires: libtool  BuildRequires:  coreutils
42  BuildRequires: doxygen  BuildRequires:  pkgconfig
43  %if %{defined fedora}  BuildRequires:  glibc-devel
44  BuildRequires: pkgconfig  BuildRequires:  autoconf automake libtool
45  %else  BuildRequires:  doxygen
 BuildRequires: pkg-config  
 %endif  
 BuildRequires: glibc-devel  
46    
47  %description  %description
48  LinuxSampler control protocol API.  LinuxSampler control protocol API library.
49    
50    
51  %package -n %{_soname}  %package -n %{_soname}
52  Summary:        LinuxSampler control protocol API library  Summary:        LinuxSampler Control Protocol API library
53  Group:          Productivity/Multimedia/Sound  Group:          System/Libraries
54  Provides:       %{name}  Provides:       %{name}
55    
56  %description -n %{_soname}  %description -n %{_soname}
57  LinuxSampler control protocol API library.    LinuxSampler Control Protocol C API library - development files.
58      .
59      This package is for use with the LinuxSampler audio sampling
60      engine / library and packages. Wraps the LinuxSampler network
61      protocol and offers a convenient API in form of a C library.
62      .
63      For further informations visit
64      http://www.linuxsampler.org
65      .
66      This package contains the header files needed for
67      development with liblscp. You will need this only if you
68      intend to compile programs that use this library.
69    
70    
71  %package devel  %package devel
72  Summary:        LinuxSampler control protocol API libraries and include files  Summary:        LinuxSampler Control Protocol API library - development files
73  Group:          Development/Libraries/C and C++  Group:          Development/Libraries/C and C++
74  Requires:       %{name} = %{version}  Requires:       pkgconfig
75    Requires:       %{name} >= %{version}
76    
77  %description devel  %description devel
78  LinuxSampler control protocol API libraries and include files.  LinuxSampler Control Protocol C API library - development files.
79    
80    This package is for use with the LinuxSampler audio sampling
81    engine / library and packages. Wraps the LinuxSampler network
82    protocol and offers a convenient API in form of a C library.
83    
84    For further informations visit
85    http://www.linuxsampler.org
86    
87    This package contains the header files needed for
88    development with liblscp. You will need this only if you
89    intend to compile programs that use this library.
90    
91    
92  %prep  %prep
# Line 54  LinuxSampler control protocol API librar Line 95  LinuxSampler control protocol API librar
95  [ -x ./autogen.sh ] && ./autogen.sh  [ -x ./autogen.sh ] && ./autogen.sh
96    
97  %build  %build
98    %if %{undefined fedora}
99    export CFLAGS="-ffat-lto-objects"
100    %endif
101  %configure  %configure
102  %__make %{?_smp_mflags}  %__make %{?_smp_mflags}
103    
104  %install  %install
105  %__make DESTDIR="%{buildroot}" install  %__make DESTDIR="%{buildroot}" install
 find %{buildroot} -name "lib*.*a" -ls -delete  
106    
107  %clean  %clean
108  [ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}"  [ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}"
# Line 79  find %{buildroot} -name "lib*.*a" -ls -d Line 122  find %{buildroot} -name "lib*.*a" -ls -d
122  %defattr(-,root,root)  %defattr(-,root,root)
123  %doc doc/html/*  %doc doc/html/*
124  %{_libdir}/liblscp.so  %{_libdir}/liblscp.so
125  #{_libdir}/liblscp.a  %{_libdir}/liblscp.a
126  #{_libdir}/liblscp.la  %{_libdir}/liblscp.la
127  %{_libdir}/pkgconfig/lscp.pc  %{_libdir}/pkgconfig/lscp.pc
128  %dir %{_includedir}/lscp  %dir %{_includedir}/lscp
129  %{_includedir}/lscp/*.h  %{_includedir}/lscp/*.h
130    
131  %changelog  %changelog
132    * Sun Mar 14 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.2
133    - End-of-Winter'21 release.
134    * Sun Feb  7 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.1
135    - Winter'21 release.
136    * Thu Dec 17 2020 Rui Nuno Capela <rncbc@rncbc.org> 0.9.0
137    - Winter'20 release.
138    * Tue Mar 24 2020 Rui Nuno Capela <rncbc@rncbc.org> 0.6.2
139    - Spring'20 release.
140    * Sun Dec 22 2019 Rui Nuno Capela <rncbc@rncbc.org> 0.6.1
141    - Winter'19 release.
142  * Tue Dec 12 2017 Rui Nuno Capela <rncbc@rncbc.org> 0.6.0  * Tue Dec 12 2017 Rui Nuno Capela <rncbc@rncbc.org> 0.6.0
143  - An Autumn'17 release: bumped directly to 0.6.0.  - Autumn'17 release: bumped directly to 0.6.0.
144  * Mon Nov 14 2016 Rui Nuno Capela <rncbc@rncbc.org> 0.5.8  * Mon Nov 14 2016 Rui Nuno Capela <rncbc@rncbc.org> 0.5.8
145  - A Fall'16 release.  - Fall'16 release.
146  * Tue Dec 31 2013 Rui Nuno Capela <rncbc@rncbc.org> 0.5.7  * Tue Dec 31 2013 Rui Nuno Capela <rncbc@rncbc.org> 0.5.7
147  - A fifth of a Jubilee release.  - A fifth of a Jubilee release.
148  * Sun Feb 24 2013 Rui Nuno Capela <rncbc@rncbc.org>  * Sun Feb 24 2013 Rui Nuno Capela <rncbc@rncbc.org>

Legend:
Removed from v.3597  
changed lines
  Added in v.3864

  ViewVC Help
Powered by ViewVC