unetbootin/unetbootin.spec

113 lines
3.9 KiB
RPMSpec

Name: unetbootin
Version: 702
Release: 1mamba
Summary: Create bootable Live Linux USB drives without burning a CD
Group: Graphical Desktop/Applications/Utilities
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://unetbootin.github.io/
Source: http://downloads.sourceforge.net/project/unetbootin/UNetbootin/%{version}/unetbootin-source-%{version}.tar.gz
#Source: http://downloads.sourceforge.net/project/unetbootin/UNetbootin/625/unetbootin-source-625.tar.gz
Patch0: unetbootin-583-extlinux-path.patch
Patch1: unetbootin-583-openmamba-2.patch
Patch2: unetbootin-584-syslinux-5.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
## AUTOBUILDREQ-END
Requires: syslinux
Requires: util-linux
Requires: e2fsprogs
Requires: p7zip
Requires: gnome-keyring
%description
UNetbootin allows you to create bootable Live USB drives for many Linux distributions without burning a CD.
%debug_package
%prep
%setup -q -c %{name}-%{version}
#%patch0 -p1
#%patch1 -p1
%build
lrelease-qt5 unetbootin.pro
qmake-qt5
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m0755 unetbootin %{buildroot}%{_bindir}/unetbootin
install -D -m0644 unetbootin.desktop %{buildroot}%{_datadir}/applications/unetbootin.desktop
install -d -m0755 %{buildroot}%{_datadir}/unetbootin
cp unetbootin_*.qm %{buildroot}%{_datadir}/unetbootin/
install -d -m0755 %{buildroot}%{_datadir}/pixmaps
cp unetbootin_64.png %{buildroot}%{_datadir}/pixmaps/unetbootin.png
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/unetbootin
%{_datadir}/applications/unetbootin.desktop
%{_datadir}/pixmaps/unetbootin.png
%dir %{_datadir}/unetbootin
%{_datadir}/unetbootin/unetbootin_*.qm
%changelog
* Wed Aug 17 2022 Automatic Build System <autodist@mambasoft.it> 702-1mamba
- automatic version update by autodist
* Sun Nov 19 2017 Automatic Build System <autodist@mambasoft.it> 657-1mamba
- automatic update by autodist
* Fri Aug 11 2017 Automatic Build System <autodist@mambasoft.it> 655-1mamba
- automatic version update by autodist
* Thu May 19 2016 Automatic Build System <autodist@mambasoft.it> 625-1mamba
- update to 625
* Wed Aug 05 2015 Automatic Build System <autodist@mambasoft.it> 613-1mamba
- automatic version update by autodist
* Wed Sep 17 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 608-2mamba
- require gnome-keyring
* Fri Jun 06 2014 Automatic Build System <autodist@mambasoft.it> 608-1mamba
- automatic version update by autodist
* Mon May 19 2014 Automatic Build System <autodist@mambasoft.it> 603-1mamba
- automatic version update by autodist
* Tue Jul 09 2013 Automatic Build System <autodist@mambasoft.it> 585-1mamba
- automatic version update by autodist
* Mon Jul 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 584-2mamba
- add a patch to install libutil.c32 required by syslinux 5
* Fri Jun 21 2013 Automatic Build System <autodist@mambasoft.it> 584-1mamba
- automatic version update by autodist
* Wed Feb 13 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 583-5mamba
- openmamba patch update: add support for x86_64 livecd
* Mon Feb 04 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 583-4mamba
- openmamba patch update: force overwrite of files extracted from bootusb archive
* Sun Feb 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 583-3mamba
- openmamba patch refined; only support linux builds for now because of ext* fs requirement
* Tue Jan 29 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 583-2mamba
- added a preliminary patch for openmamba support
* Mon Jan 28 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 583-1mamba
- package created by silvan using the webbuild interface