f8a7929
Name:		unetbootin
71e7968
Version:	657
920d1eb
Release:	2%{?dist}
f8a7929
Summary:	Create bootable Live USB drives for a variety of Linux distributions
f8a7929
Group:		System Environment/Base
f8a7929
License:	GPLv2+
88c9b47
URL:		https://unetbootin.github.io/
f507d6d
Source0:	http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
88c9b47
#Source0:	https://github.com/%{name}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
6d86400
# Syslinux is only available on x86 architectures
c287c31
ExclusiveArch:	%{ix86} x86_64
f8a7929
f8a7929
BuildRequires:	desktop-file-utils
f8a7929
BuildRequires:	qt4-devel
f8a7929
# Not picked up automatically, required for operation
f8a7929
Requires:	p7zip-plugins
f8a7929
Requires:	syslinux
fcf58b9
Requires:	syslinux-extlinux
f8a7929
f8a7929
%description
f8a7929
UNetbootin allows you to create bootable Live USB drives for a variety of
f8a7929
Linux distributions from Windows or Linux, without requiring you to burn a CD.
f8a7929
You can either let it download one of the many distributions supported
f8a7929
out-of-the-box for you, or supply your own Linux .iso file if you've already
f8a7929
downloaded one or your preferred distribution isn't on the list.
f8a7929
88c9b47
f8a7929
%prep
88c9b47
%setup -q
f8a7929
# Fix desktop file
88c9b47
pushd src/unetbootin
88c9b47
  sed -i '/^Version/d' unetbootin.desktop
88c9b47
  sed -i '/\[en_US\]/d' unetbootin.desktop
88c9b47
  sed -i 's|/usr/bin/unetbootin|unetbootin|g' unetbootin.desktop
88c9b47
popd
f8a7929
4aad79d
88c9b47
%build
88c9b47
pushd src/unetbootin
88c9b47
  lupdate-qt4 unetbootin.pro
88c9b47
  lrelease-qt4 unetbootin.pro
88c9b47
  %{?qmake_qt4}%{!?qmake_qt4:qmake-qt4}}
88c9b47
  make %{?_smp_mflags}
88c9b47
popd
b85551d
f8a7929
f8a7929
%install
88c9b47
pushd src/unetbootin
f8a7929
install -D -p -m 755 unetbootin %{buildroot}%{_bindir}/unetbootin
f8a7929
# Install desktop file
237a642
desktop-file-install --vendor="" --remove-category=Application --dir=%{buildroot}%{_datadir}/applications unetbootin.desktop
b85551d
# Install localization files
b85551d
install -d %{buildroot}%{_datadir}/unetbootin
b85551d
install -c -p -m 644 unetbootin_*.qm %{buildroot}%{_datadir}/unetbootin/
3bee4ad
# Install pixmap
3bee4ad
install -D -p -m 644 unetbootin_512.png %{buildroot}%{_datadir}/pixmaps/unetbootin.png
3bee4ad
f8a7929
f8a7929
%files
88c9b47
%doc readme.md
f8a7929
%{_bindir}/unetbootin
b85551d
%{_datadir}/unetbootin/
f8a7929
%{_datadir}/applications/unetbootin.desktop
3bee4ad
%{_datadir}/pixmaps/unetbootin.png
f8a7929
f8a7929
%changelog
920d1eb
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 657-2
920d1eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
920d1eb
71e7968
* Thu Jan 18 2018 Filipe Rosset <rosset.filipe@gmail.com> - 657-1
71e7968
- Rebuilt for new upstream release 657, fixes rhbz #1508431
71e7968
9be0e03
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 655-3
9be0e03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
9be0e03
8b89cdf
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 655-2
8b89cdf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
8b89cdf
6d617b5
* Thu Jul 20 2017 Filipe Rosset <rosset.filipe@gmail.com> - 655-1
6d617b5
- Rebuilt for new upstream release 655, fixes rhbz #1471101
6d617b5
c287c31
* Tue May 02 2017 Filipe Rosset <rosset.filipe@gmail.com> - 647-1
c287c31
- Rebuilt for new upstream release 647, fixes rhbz #1444678
c287c31
273fa04
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 625-2
273fa04
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
273fa04
88c9b47
* Sat Dec 10 2016 Filipe Rosset <rosset.filipe@gmail.com> - 625-1
88c9b47
- clean up the spec, attempt to fix FTBFS rhbz #1308209
88c9b47
7aeb311
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 619-3
7aeb311
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
7aeb311
Rex Dieter 2675209
* Mon Feb 01 2016 Rex Dieter <rdieter@fedoraproject.org> - 619-2
Rex Dieter 2675209
- use %%qmake_qt4 macro to ensure proper build flags
Rex Dieter 2675209
0f1a251
* Sun Nov 08 2015 Kalpa Welivitigoda - 619-1
0f1a251
- Update to 619.
0f1a251
6b94ed5
* Sun Sep 13 2015 Kalpa Welivitigoda - 613-1
6b94ed5
- Update to 613.
6b94ed5
9cd9b05
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 608-5
9cd9b05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9cd9b05
770b2ed
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 608-4
770b2ed
- Rebuilt for GCC 5 C++11 ABI change
770b2ed
43e92af
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 608-3
43e92af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
43e92af
ae87e82
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 608-2
ae87e82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
ae87e82
f9b4ca4
* Mon Jun 02 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 608-1
f9b4ca4
- Update to 608.
f9b4ca4
bdb91dd
* Tue Apr 22 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 603-1
bdb91dd
- Change naming to reflect upstream versioning scheme.
bdb91dd
- Update to 603.
bdb91dd
080f0d8
* Thu Aug 22 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 0-15.585bzr
080f0d8
- Update to 585.
080f0d8
5add384
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-14.581bzr
5add384
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
5add384
2af3a0d
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-13.581bzr
2af3a0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2af3a0d
8ed1a62
* Mon Sep 17 2012 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-11.581bzr
8ed1a62
- Update to 581.
8ed1a62
5cf0692
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-12.577bzr
5cf0692
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
5cf0692
dccf06b
* Sun Jul 08 2012 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-11.577bzr
dccf06b
- Update to 577.
dccf06b
d447cb1
* Tue Jun 12 2012 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-11.575bzr
d447cb1
- Update to 575.
d447cb1
fcf58b9
* Fri Apr 06 2012 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-11.568bzr
fcf58b9
- Added missing syslinux-extlinux dependency (BZ #810411).
fcf58b9
- Update to 568.
fcf58b9
79eb6a9
* Fri Feb 03 2012 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-11.565bzr
3bee4ad
- Update to revision 565.
3bee4ad
- Added icons (BZ #787202).
3bee4ad
a22c680
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-11.555bzr
a22c680
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a22c680
ee5b9aa
* Sat Oct 01 2011 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-10.555bzr
ee5b9aa
- Update to revision 555.
ee5b9aa
2feafa3
* Mon May 09 2011 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-10.549bzr
2feafa3
- Bump spec.
2feafa3
a055a41
* Thu Apr 28 2011 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-9.549bzr
918c677
- Update to revision 549.
918c677
fde4638
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-9.494bzr
fde4638
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
fde4638
062e9cf
* Fri Oct 15 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-8.494bzr
062e9cf
- Update to revision 494. 
062e9cf
4dcce25
* Tue Jun 22 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-8.485bzr
4dcce25
- Update to revision 485.
4dcce25
ddf3ef8
* Tue Jun 22 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-8.471bzr
ddf3ef8
- Update to revision 471.
ddf3ef8
4eff081
* Mon Mar 29 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-8.419bzr
4eff081
- Update to revision 419.
4eff081
3f7c686
* Wed Feb 03 2010 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-8.393bzr
3f7c686
- Update to revision 393.
3f7c686
d9d6383
* Sun Dec 06 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-7.377bzr
d9d6383
- Update to revision 377.
d9d6383
30a5cd6
* Fri Oct 23 2009 Milos Jakubicek <xjakub@fi.muni.cz> 0-6.358bzr
30a5cd6
- Fix FTBFS: bump release to be able to tag in new branch and sync source name
30a5cd6
f0fae9d
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0-6.357bzr
f0fae9d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
f0fae9d
6d86400
* Thu Jul 16 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-6.356bzr
6d86400
- Add ExclusiveArch to prevent build on architectures lacking syslinux.
6d86400
237a642
* Fri Jul 10 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-5.356bzr
237a642
- Fix EPEL install.
237a642
7c1d49a
* Fri Jul 10 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-4.356bzr
7c1d49a
- Fix EPEL build.
7c1d49a
b85551d
* Fri Jul 10 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-3.356bzr
b85551d
- Added localizations.
b85551d
f8a7929
* Fri Jul 10 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-2.356bzr
f8a7929
- Fixed source URL.
f8a7929
- Changed Req: p7zip to p7zip-plugins.
f8a7929
- Use included desktop file.
f8a7929
f8a7929
* Fri Jul 10 2009 Jussi Lehtola <jussilehtola@fedoraproject.org> - 0-1.356bzr
f8a7929
- First release.