Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:MaxxedSUSE:Emulators
rosa-imagewriter
rosa-imagewriter.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File rosa-imagewriter.spec of Package rosa-imagewriter
# # spec file for package rosa-imagewriter # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define _name RosaImageWriter Name: rosa-imagewriter Version: 2.6.2.0 Release: 0 Summary: Utility for writing raw disk images and hybrid isos to USB keys License: GPL-3.0 Group: System/X11/Utilities Url: https://abf.io/soft/rosa-imagewriter Source: %{name}-%{version}.tar.gz BuildRequires: cmake BuildRequires: cmake(Qt5LinguistTools) BuildRequires: gcc-c++ BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(libudev) %if 0%{?sle_version} == 150100 BuildRequires: rsvg-view %endif %if 0%{?sle_version} == 150200 BuildRequires: rsvg-convert %endif %if 0%{?sle_version} >= 150300 BuildRequires: rsvg-convert %endif %if 0%{?suse_version} >= 1550 BuildRequires: rsvg-convert %endif BuildRequires: update-desktop-files Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Utility for writing raw disk images and hybrid isos to USB keys. Based on SUSE Studio Imagewriter. %lang_package %prep %setup -q %build lrelease-qt5 %{_name}.pro %qmake5 make %{?_smp_mflags} %install install -Dm 0755 %{_name} %{buildroot}%{_libexecdir}/%{name}/%{name} install -dm 0755 %{buildroot}%{_bindir} ln -sf %{_libexecdir}/%{name}/%{name} %{buildroot}%{_bindir}/%{name} install -Dm 0644 res/icon-rosa.svg %{buildroot}%{_datadir}/pixmaps/%{name}.svg rsvg-convert -h 48 -w 48 res/icon-rosa.svg -o %{buildroot}%{_datadir}/pixmaps/%{name}.png install -dm 0755 %{buildroot}%{_libexecdir}/%{name}/lang install -Dm 0644 lang/*.qm %{buildroot}%{_libexecdir}/%{name}/lang/ %suse_update_desktop_file -c %{name} "Rosa ImageWriter" "ROSA Image Writer" %{name} %{name} System Utility Archiving echo -e 'Keywords=iso;disk;usb;dvd;\nMimeType=application/x-cd-image;application/x-raw-disk-image;' >> \ %{buildroot}%{_datadir}/applications/%{name}.desktop %files %defattr(-,root,root) %doc doc/*.html %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.??g %dir %{_libexecdir}/%{name} %{_libexecdir}/%{name}/%{name} %files lang %defattr(-,root,root) %dir %{_libexecdir}/%{name} %dir %{_libexecdir}/%{name}/lang %{_libexecdir}/%{name}/lang/*.qm %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor