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

Diff of /qsampler/trunk/rpm/qsampler.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4055 by capela, Wed Dec 28 08:58:18 2022 UTC revision 4056 by capela, Thu Mar 23 10:03:02 2023 UTC
# Line 1  Line 1 
1  #  #
2  # spec file for package qsampler  # spec file for package qsampler
3  #  #
4  # Copyright (C) 2004-2022, rncbc aka Rui Nuno Capela. All rights reserved.  # Copyright (C) 2004-2023, rncbc aka Rui Nuno Capela. All rights reserved.
5  # Copyright (C) 2007,2008,2015 Christian Schoenebeck  # Copyright (C) 2007,2008,2015 Christian Schoenebeck
6  #  #
7  # All modifications and additions to the file contributed by third parties  # All modifications and additions to the file contributed by third parties
# Line 17  Line 17 
17  #  #
18    
19  %define name    qsampler  %define name    qsampler
20  %define version 0.9.8  %define version 0.9.9
21  %define release 52.1  %define release 53.1
22    
23  %define _prefix /usr  %define _prefix /usr
24    
# Line 47  BuildRoot:     %{_tmppath}/%{name}-%{version Line 47  BuildRoot:     %{_tmppath}/%{name}-%{version
47  BuildRequires:  coreutils  BuildRequires:  coreutils
48  BuildRequires:  pkgconfig  BuildRequires:  pkgconfig
49  BuildRequires:  glibc-devel  BuildRequires:  glibc-devel
50    BuildRequires:  cmake >= 3.15
51  %if %{defined fedora} || 0%{?suse_version} > 1500  %if 0%{?sle_version} >= 150200 && 0%{?is_opensuse}
52  BuildRequires:  gcc-c++ >= 8  BuildRequires:  gcc10 >= 10
53  %define CXX             /usr/bin/g++  BuildRequires:  gcc10-c++ >= 10
54    %define _GCC    /usr/bin/gcc-10
55    %define _GXX    /usr/bin/g++-10
56  %else  %else
57  BuildRequires:  gcc8-c++ >= 8  BuildRequires:  gcc >= 10
58  %define CXX             /usr/bin/g++-8  BuildRequires:  gcc-c++ >= 10
59    %define _GCC    /usr/bin/gcc
60    %define _GXX    /usr/bin/g++
61  %endif  %endif
   
 BuildRequires:  cmake >= 3.15  
62  %if 0%{qt_major_version} == 6  %if 0%{qt_major_version} == 6
63  %if 0%{?sle_version} == 150200 && 0%{?is_opensuse}  %if 0%{?sle_version} == 150200 && 0%{?is_opensuse}
64  BuildRequires:  qtbase6-static >= 6.1  BuildRequires:  qtbase6-static >= 6.1
65  BuildRequires:  qttools6-static  BuildRequires:  qttools6-static
66  BuildRequires:  qttranslations6-static  BuildRequires:  qttranslations6-static
67  BuildRequires:  qtsvg6-static  BuildRequires:  qtsvg6-static
68    BuildRequires:  qtwayland6-static
69  %else  %else
70  BuildRequires:  cmake(Qt6LinguistTools)  BuildRequires:  cmake(Qt6LinguistTools)
71  BuildRequires:  pkgconfig(Qt6Core)  BuildRequires:  pkgconfig(Qt6Core)
# Line 94  interface of LinuxSampler Control Protoc Line 97  interface of LinuxSampler Control Protoc
97  %if 0%{?sle_version} == 150200 && 0%{?is_opensuse}  %if 0%{?sle_version} == 150200 && 0%{?is_opensuse}
98  source /opt/qt6.4-static/bin/qt6.4-static-env.sh  source /opt/qt6.4-static/bin/qt6.4-static-env.sh
99  %endif  %endif
100  CXX=%{CXX} \  CXX=%{_GXX} CC=%{_GCC} \
101  cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -Wno-dev -B build  cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} -Wno-dev -B build
102  cmake --build build %{?_smp_mflags}  cmake --build build %{?_smp_mflags}
103    
# Line 107  cmake --install build Line 110  cmake --install build
110    
111  %files  %files
112  %defattr(-,root,root)  %defattr(-,root,root)
113  %doc README LICENSE TRANSLATORS ChangeLog  %license LICENSE
114    %doc README TRANSLATORS ChangeLog
115  #dir %{_datadir}/mime  #dir %{_datadir}/mime
116  #dir %{_datadir}/mime/packages  #dir %{_datadir}/mime/packages
117  #dir %{_datadir}/applications  #dir %{_datadir}/applications
# Line 138  cmake --install build Line 142  cmake --install build
142  %{_datadir}/man/fr/man1/%{name}.1.gz  %{_datadir}/man/fr/man1/%{name}.1.gz
143    
144  %changelog  %changelog
145    * Thu Mar 23 2023 Rui Nuno Capela <rncbc@rncbc.org> 0.9.9
146    - An Early-Spring'23 Release.
147  * Wed Dec 28 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.9.8  * Wed Dec 28 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.9.8
148  - An End-of-Year'22 Release.  - An End-of-Year'22 Release.
149  * Mon Oct  3 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.9.7  * Mon Oct  3 2022 Rui Nuno Capela <rncbc@rncbc.org> 0.9.7

Legend:
Removed from v.4055  
changed lines
  Added in v.4056

  ViewVC Help
Powered by ViewVC