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

Contents of /qsampler/trunk/qsampler.spec.in

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC