/[svn]/qsampler/trunk/rpm/qsampler.spec
ViewVC logotype

Contents of /qsampler/trunk/rpm/qsampler.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4054 - (show annotations) (download)
Wed Dec 28 08:58:18 2022 UTC (4 weeks, 6 days ago) by capela
File size: 8391 byte(s)
* An End-of-Year'22 Release (v0.9.8)
1 #
2 # spec file for package qsampler
3 #
4 # Copyright (C) 2004-2022, 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 qsampler
20 %define version 0.9.8
21 %define release 52.1
22
23 %define _prefix /usr
24
25 %if %{defined fedora}
26 %define debug_package %{nil}
27 %endif
28
29 %if 0%{?fedora_version} >= 34 || 0%{?suse_version} > 1500 || ( 0%{?sle_version} == 150200 && 0%{?is_opensuse} )
30 %define qt_major_version 6
31 %else
32 %define qt_major_version 5
33 %endif
34
35 Summary: A LinuxSampler Qt GUI interface
36 Name: %{name}
37 Version: %{version}
38 Release: %{release}
39 License: GPL-2.0+
40 Group: Productivity/Multimedia/Sound/Midi
41 Source0: %{name}-%{version}.tar.gz
42 URL: http://qsampler.sourceforge.net/
43 Packager: rncbc.org
44
45 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
46
47 BuildRequires: coreutils
48 BuildRequires: pkgconfig
49 BuildRequires: glibc-devel
50
51 %if %{defined fedora} || 0%{?suse_version} > 1500
52 BuildRequires: gcc-c++ >= 8
53 %define CXX /usr/bin/g++
54 %else
55 BuildRequires: gcc8-c++ >= 8
56 %define CXX /usr/bin/g++-8
57 %endif
58
59 BuildRequires: cmake >= 3.15
60 %if 0%{qt_major_version} == 6
61 %if 0%{?sle_version} == 150200 && 0%{?is_opensuse}
62 BuildRequires: qtbase6-static >= 6.1
63 BuildRequires: qttools6-static
64 BuildRequires: qttranslations6-static
65 BuildRequires: qtsvg6-static
66 %else
67 BuildRequires: cmake(Qt6LinguistTools)
68 BuildRequires: pkgconfig(Qt6Core)
69 BuildRequires: pkgconfig(Qt6Gui)
70 BuildRequires: pkgconfig(Qt6Widgets)
71 BuildRequires: pkgconfig(Qt6Svg)
72 BuildRequires: pkgconfig(Qt6Network)
73 %endif
74 %else
75 BuildRequires: cmake(Qt5LinguistTools)
76 BuildRequires: pkgconfig(Qt5Core)
77 BuildRequires: pkgconfig(Qt5Gui)
78 BuildRequires: pkgconfig(Qt5Widgets)
79 BuildRequires: pkgconfig(Qt5Svg)
80 BuildRequires: pkgconfig(Qt5Network)
81 %endif
82 BuildRequires: liblscp-devel >= 0.5.6
83 BuildRequires: libgig-devel >= 3.3.0
84
85 %description
86 Qsampler is a LinuxSampler GUI front-end application written in C++ around
87 the Qt framework using Qt Designer. For the moment it just wraps the client
88 interface of LinuxSampler Control Protocol (LSCP) (http://www.linuxsampler.org).
89
90 %prep
91 %setup -q
92
93 %build
94 %if 0%{?sle_version} == 150200 && 0%{?is_opensuse}
95 source /opt/qt6.4-static/bin/qt6.4-static-env.sh
96 %endif
97 CXX=%{CXX} \
98 cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -Wno-dev -B build
99 cmake --build build %{?_smp_mflags}
100
101 %install
102 DESTDIR="%{buildroot}" \
103 cmake --install build
104
105 %clean
106 [ -d "%{buildroot}" -a "%{buildroot}" != "/" ] && %__rm -rf "%{buildroot}"
107
108 %files
109 %defattr(-,root,root)
110 %doc README LICENSE TRANSLATORS ChangeLog
111 #dir %{_datadir}/mime
112 #dir %{_datadir}/mime/packages
113 #dir %{_datadir}/applications
114 %dir %{_datadir}/icons/hicolor
115 %dir %{_datadir}/icons/hicolor/32x32
116 %dir %{_datadir}/icons/hicolor/32x32/apps
117 %dir %{_datadir}/icons/hicolor/32x32/mimetypes
118 %dir %{_datadir}/icons/hicolor/scalable
119 %dir %{_datadir}/icons/hicolor/scalable/apps
120 %dir %{_datadir}/icons/hicolor/scalable/mimetypes
121 %dir %{_datadir}/%{name}
122 %dir %{_datadir}/%{name}/translations
123 %dir %{_datadir}/metainfo
124 #dir %{_datadir}/man
125 #dir %{_datadir}/man/man1
126 #dir %{_datadir}/man/fr
127 #dir %{_datadir}/man/fr/man1
128 %{_bindir}/%{name}
129 %{_datadir}/mime/packages/org.rncbc.%{name}.xml
130 %{_datadir}/applications/org.rncbc.%{name}.desktop
131 %{_datadir}/icons/hicolor/32x32/apps/org.rncbc.%{name}.png
132 %{_datadir}/icons/hicolor/scalable/apps/org.rncbc.%{name}.svg
133 %{_datadir}/icons/hicolor/32x32/mimetypes/org.rncbc.%{name}.application-x-%{name}*.png
134 %{_datadir}/icons/hicolor/scalable/mimetypes/org.rncbc.%{name}.application-x-%{name}*.svg
135 %{_datadir}/%{name}/translations/%{name}_*.qm
136 %{_datadir}/metainfo/org.rncbc.%{name}.metainfo.xml
137 %{_datadir}/man/man1/%{name}.1.gz
138 %{_datadir}/man/fr/man1/%{name}.1.gz
139
140 %changelog
141 * Wed Dec 28 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.9.8
142 - An End-of-Year'22 Release.
143 * Mon Oct 3 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.9.7
144 - An Early-Autumn'22 Release.
145 * Sat Apr 2 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.9.6
146 - A Spring'22 Release.
147 * Sun Jan 9 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.9.5
148 - A Winter'22 Release.
149 * Sun Jul 4 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.4
150 - Early-Summer'21 release.
151 * Tue May 11 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.3
152 - Spring'21 release.
153 * Sun Mar 14 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.2
154 - End-of-Winter'21 release.
155 * Sun Feb 7 2021 Rui Nuno Capela <rncbc@rncbc.org> 0.9.1
156 - Winter'21 release.
157 * Thu Dec 17 2020 Rui Nuno Capela <rncbc@rncbc.org> 0.9.0
158 - Winter'20 release.
159 * Fri Jul 31 2020 Rui Nuno Capela <rncbc@rncbc.org> 0.6.3
160 - Summer'20 release.
161 * Tue Mar 24 2020 Rui Nuno Capela <rncbc@rncbc.org> 0.6.2
162 - Spring'20 release.
163 * Sun Dec 22 2019 Rui Nuno Capela <rncbc@rncbc.org> 0.6.1
164 - Winter'19 release.
165 * Thu Oct 17 2019 Rui Nuno Capela <rncbc@rncbc.org> 0.6.0
166 - Autumn'19 release.
167 * Fri Jul 12 2019 Rui Nuno Capela <rncbc@rncbc.org> 0.5.6
168 - Summer'19 release.
169 * Thu Apr 11 2019 Rui Nuno Capela <rncbc@rncbc.org> 0.5.5
170 - Spring-Break'19 release.
171 * Mon Mar 11 2019 Rui Nuno Capela <rncbc@rncbc.org> 0.5.4
172 - Pre-LAC2019 release frenzy.
173 * Thu Dec 06 2018 Rui Nuno Capela <rncbc@rncbc.org> 0.5.3
174 - An End of Autumn'18 Release.
175 * Sun Jul 22 2018 Rui Nuno Capela <rncbc@rncbc.org> 0.5.2
176 - Summer'18 Release.
177 * Mon May 21 2018 Rui Nuno Capela <rncbc@rncbc.org> 0.5.1
178 - Pre-LAC2018 release frenzy.
179 * Tue Dec 12 2017 Rui Nuno Capela <rncbc@rncbc.org> 0.5.0
180 - An Autumn'17 release.
181 * Thu Apr 27 2017 Rui Nuno Capela <rncbc@rncbc.org> 0.4.3
182 - Pre-LAC2017 release frenzy.
183 * Mon Nov 14 2016 Rui Nuno Capela <rncbc@rncbc.org> 0.4.2
184 - A Fall'16 release.
185 * Wed Sep 14 2016 Rui Nuno Capela <rncbc@rncbc.org> 0.4.1
186 - End of Summer'16 release.
187 * Tue Apr 5 2016 Rui Nuno Capela <rncbc@rncbc.org> 0.4.0
188 - Spring'16 release frenzy.
189 * Sun Jul 19 2015 Rui Nuno Capela <rncbc@rncbc.org> 0.3.1
190 - Summer'15 release frenzy.
191 * Wed Mar 25 2015 Rui Nuno Capela <rncbc@rncbc.org> 0.3.0
192 - Pre-LAC2015 release frenzy.
193 * Tue Dec 31 2013 Rui Nuno Capela <rncbc@rncbc.org> 0.2.3
194 - A fifth of a Jubilee release.
195 * Mon May 17 2010 Rui Nuno Capela <rncbc@rncbc.org>
196 - Standard desktop icon fixing.
197 * Sat Aug 1 2009 Rui Nuno Capela <rncbc@rncbc.org> 0.2.2
198 - New 0.2.2 release.
199 * Thu Dec 6 2007 Rui Nuno Capela <rncbc@rncbc.org>
200 - Qt4 migration complete.
201 * Mon Jun 25 2007 Rui Nuno Capela <rncbc@rncbc.org>
202 - Application icon is now installed to (prefix)/share/pixmaps.
203 - Declared fundamental build and run-time requirements.
204 - Destination install directory prefix is now in spec.
205 - Spec is now a bit more openSUSE compliant.
206 * Mon Jan 15 2007 Rui Nuno Capela <rncbc@rncbc.org>
207 - Added sampler channel FX send support at session save code-level.
208 - Global sampler volume slider/spinbox combo is now featured.
209 * Sun Dec 17 2006 Rui Nuno Capela <rncbc@rncbc.org>
210 - Added preliminary MIDI instrument mapping support.
211 * Thu Jun 01 2006 Rui Nuno Capela <rncbc@rncbc.org>
212 - Take a chance for a new 0.1.3 release.
213 - Changed deprecated copyright attribute to license.
214 * Wed Aug 24 2005 Rui Nuno Capela <rncbc@rncbc.org>
215 - Prepared auto-generation from configure.
216 * Tue Aug 16 2005 Rui Nuno Capela <rncbc@rncbc.org>
217 - Get in sync with latest offerings from liblscp (0.3.1) and
218 specially libgig (2.0.2) which broke previous ABI, somewhat.
219 * Thu Jun 23 2005 Rui Nuno Capela <rncbc@rncbc.org>
220 - Even minor workings needs a rest.
221 * Mon Jun 13 2005 Rui Nuno Capela <rncbc@rncbc.org>
222 - The mantra of bugfixes.
223 * Mon May 23 2005 Rui Nuno Capela <rncbc@rncbc.org>
224 - Device configuration breakthrough.
225 * Fri Mar 4 2005 Rui Nuno Capela <rncbc@rncbc.org>
226 - Fifth alpha-release.
227 * Tue Nov 16 2004 Rui Nuno Capela <rncbc@rncbc.org>
228 - Prepared for the fourth alpha release.
229 * Tue Nov 16 2004 Rui Nuno Capela <rncbc@rncbc.org>
230 - Prepared for the fourth alpha release.
231 * Wed Jun 2 2004 Rui Nuno Capela <rncbc@rncbc.org>
232 - Created initial qsampler.spec

  ViewVC Help
Powered by ViewVC