1 |
|
|
2 |
%define name @PACKAGE@ |
%define name @PACKAGE@ |
3 |
%define version @VERSION@ |
%define version @VERSION@ |
4 |
%define release 20 |
%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} |
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 |
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 |
|
|
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 |
|
|
68 |
%__make DESTDIR="%{buildroot}" install |
%__make DESTDIR="%{buildroot}" install |
69 |
|
|
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.* |
92 |
%{_includedir}/lscp/*.h |
%{_includedir}/lscp/*.h |
93 |
|
|
94 |
%changelog |
%changelog |
95 |
|
* Tue Dec 12 2017 Rui Nuno Capela <rncbc@rncbc.org> 0.6.0 |
96 |
|
- An Autumn'17 release: bumped directly to 0.6.0. |
97 |
* 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 |
98 |
- A Fall'16 release. |
- A Fall'16 release. |
99 |
* 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 |