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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC