Projects
home:wkazubski
qt-dab
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 49
View file
qt-dab5.spec
Changed
@@ -15,19 +15,20 @@ # Please submit bugfixes or comments via http://bugs.links2linux.org/ # +%define bname qt-dab %define branch qt-dab-s5 %define version4 4.6 %define version5 5.3 -Name: qt-dab +Name: %{bname}5 Version: %{version5} Release: 0 License: GPL-2.0-or-later Summary: Simple DAB/DAB+ receiver Url: http://www.sdr-j.tk/index.html Group: Productivity/Multimedia/Other -Source0: https://github.com/JvanKatwijk/%{name}/archive/refs/tags/%{name}-%{version4}-%{version5}.tar.gz#/%{name}-%{name}-%{version4}-%{version5}.tar.gz -Patch1: %{name}-45-use-qwt6-qt5.patch +Source0: https://github.com/JvanKatwijk/%{bname}/archive/refs/tags/%{bname}-%{version4}-%{version5}.tar.gz#/%{bname}-%{bname}-%{version4}-%{version5}.tar.gz +Patch1: %{bname}-45-use-qwt6-qt5.patch BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: libqt5-qtbase-devel @@ -54,7 +55,7 @@ %prep -%setup -q -n %{name}-%{name}-%{version4}-%{version5} +%setup -q -n %{bname}-%{bname}-%{version4}-%{version5} %patch1 -p 1 @@ -73,29 +74,29 @@ cd %{branch} %cmake_install mkdir -p %{buildroot}%{_bindir} -mv %{buildroot}/usr/%{name}-%{version} %{buildroot}%{_bindir}/%{name} +mv %{buildroot}/usr/%{bname}-%{version} %{buildroot}%{_bindir}/%{bname}-5 #install desktop file -%suse_update_desktop_file -G Qt-DAB -i %{name}-5 AudioVideo Tuner +%suse_update_desktop_file -G Qt-DAB -i %{bname}-5 AudioVideo Tuner #create and install icons -convert %{name}-5.ico %{name}.png -install -Dpm 0644 %{name}-7.png \ - %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%{name}.png -install -Dpm 0644 %{name}-6.png \ - %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/%{name}.png -install -Dpm 0644 %{name}-5.png \ - %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png -install -Dpm 0644 %{name}-4.png \ - %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png -install -Dpm 0644 %{name}-3.png \ - %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{name}.png -install -Dpm 0644 %{name}-2.png \ - %{buildroot}%{_datadir}/icons/hicolor/72x72/apps/%{name}.png -install -Dpm 0644 %{name}-1.png \ - %{buildroot}%{_datadir}/icons/hicolor/96x96/apps/%{name}.png -install -Dpm 0644 %{name}-0.png \ - %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{name}.png +convert %{bname}-5.ico %{bname}.png +install -Dpm 0644 %{bname}-7.png \ + %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%{bname}.png +install -Dpm 0644 %{bname}-6.png \ + %{buildroot}%{_datadir}/icons/hicolor/24x24/apps/%{bname}.png +install -Dpm 0644 %{bname}-5.png \ + %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{bname}.png +install -Dpm 0644 %{bname}-4.png \ + %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{bname}.png +install -Dpm 0644 %{bname}-3.png \ + %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/%{bname}.png +install -Dpm 0644 %{bname}-2.png \ + %{buildroot}%{_datadir}/icons/hicolor/72x72/apps/%{bname}.png +install -Dpm 0644 %{bname}-1.png \ + %{buildroot}%{_datadir}/icons/hicolor/96x96/apps/%{bname}.png +install -Dpm 0644 %{bname}-0.png \ + %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/%{bname}.png #fix docs permissions chmod a-x ../README.md @@ -105,8 +106,8 @@ %doc AUTHORS README.md %license COPYING %{_bindir}/* -%{_datadir}/applications/%{name}-5.desktop -%{_datadir}/icons/hicolor/*x*/apps/%{name}.png +%{_datadir}/applications/%{bname}-5.desktop +%{_datadir}/icons/hicolor/*x*/apps/%{bname}.png %changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.