isoimagewriter/isoimagewriter.spec

70 lines
2.0 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: isoimagewriter
Version: 24.08.0
Release: 1mamba
Summary: Program to write hybrid ISO files onto USB disks
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org
Source: https://download.kde.org/stable/release-service/%{version}/src/isoimagewriter-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libassuan-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libgpgme-devel
BuildRequires: libkf6-karchive-devel
BuildRequires: libkf6-kcoreaddons-devel
BuildRequires: libkf6-kcrash-devel
BuildRequires: libkf6-ki18n-devel
BuildRequires: libkf6-kiconthemes-devel
BuildRequires: libkf6-kwidgetsaddons-devel
BuildRequires: libkf6-solid-devel
BuildRequires: libqgpgme-qt6-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt6-qtbase-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
%description
Program to write hybrid ISO files onto USB disks.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name} --with-qt --with-man --with-html --all-name || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/isoimagewriter
%{_datadir}/applications/org.kde.isoimagewriter.desktop
%{_datadir}/icons/hicolor/scalable/apps/org.kde.isoimagewriter.svg
%{_datadir}/isoimagewriter/arch-signing-key.gpg
%{_datadir}/isoimagewriter/neon-signing-key.gpg
%{_datadir}/isoimagewriter/ubuntu-signing-key.gpg
%{_metainfodir}/org.kde.isoimagewriter.appdata.xml
%doc LICENSES
%changelog
* Mon Aug 26 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 24.08.0-1mamba
- package created using the webbuild interface