unetbootin/unetbootin.spec

95 lines
3.2 KiB
RPMSpec

Name: unetbootin
Version: 608
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.sourceforge.net/
Source: http://downloads.sourceforge.net/project/unetbootin/UNetbootin/%{version}/unetbootin-source-%{version}.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: libqt4-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Requires: syslinux
Requires: util-linux
Requires: e2fsprogs
Requires: p7zip
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
#%patch2 -p1
%build
lrelease unetbootin.pro
qmake-qt4
%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
* 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