77d9698
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
77d9698
77d9698
Name:           liveusb-creator
Luke Macken 9c10355
Version:        3.11.6
Luke Macken 76f139b
Release:        1%{?dist}
77d9698
Summary:        A liveusb creator
77d9698
77d9698
Group:          Applications/System
77d9698
License:        GPLv2
77d9698
URL:            https://fedorahosted.org/liveusb-creator
8c55ef1
Source0:        https://fedorahosted.org/releases/l/i/liveusb-creator/%{name}-%{version}.tar.bz2
77d9698
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
77d9698
77d9698
BuildArch:      noarch
a0577a6
ExcludeArch:    ppc
a0577a6
ExcludeArch:    ppc64
a0577a6
8c55ef1
BuildRequires:  python-devel, python-setuptools, PyQt4-devel, desktop-file-utils gettext
bbba2f0
Requires:       syslinux, PyQt4, usermode, isomd5sum
00ff01e
Requires:       python-urlgrabber
79c3426
Requires:       pyparted >= 2.0
Luke Macken d316bbd
Requires:       syslinux-extlinux
77d9698
77d9698
%description
77d9698
A liveusb creator from Live Fedora images
77d9698
77d9698
%prep
77d9698
%setup -q
77d9698
77d9698
%build
77d9698
%{__python} setup.py build
8c55ef1
make mo
5fc2e0f
make mo
77d9698
77d9698
%install
8c55ef1
rm -rf %{buildroot}
8c55ef1
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
00ff01e
%{__rm} -r liveusb/urlgrabber
77d9698
77d9698
# Adjust for console-helper magic
8c55ef1
mkdir -p %{buildroot}%{_sbindir}
8c55ef1
mv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_sbindir}/%{name}
8c55ef1
ln -s ../bin/consolehelper %{buildroot}%{_bindir}/%{name}
8c55ef1
mkdir -p %{buildroot}%{_sysconfdir}/pam.d
8c55ef1
cp %{name}.pam %{buildroot}%{_sysconfdir}/pam.d/%{name}
8c55ef1
mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps
8c55ef1
cp %{name}.console %{buildroot}%{_sysconfdir}/security/console.apps/%{name}
77d9698
77d9698
desktop-file-install --vendor="fedora"                    \
8c55ef1
--dir=%{buildroot}%{_datadir}/applications           \
77d9698
%{buildroot}/%{_datadir}/applications/liveusb-creator.desktop
77d9698
rm -rf %{buildroot}/%{_datadir}/applications/liveusb-creator.desktop
77d9698
8c55ef1
%find_lang %{name}
77d9698
8c55ef1
%clean
8c55ef1
rm -rf %{buildroot}
77d9698
8c55ef1
%files -f %{name}.lang
77d9698
%defattr(-,root,root,-)
77d9698
%doc README.txt LICENSE.txt
77d9698
%{python_sitelib}/*
8c55ef1
%{_bindir}/%{name}
8c55ef1
%{_sbindir}/%{name}
8c55ef1
%{_datadir}/applications/fedora-liveusb-creator.desktop
8c55ef1
%{_datadir}/pixmaps/fedorausb.png
8c55ef1
#%{_datadir}/locale/*/LC_MESSAGES/liveusb-creator.mo
77d9698
%config(noreplace) %{_sysconfdir}/pam.d/%{name}
77d9698
%config(noreplace) %{_sysconfdir}/security/console.apps/%{name}
77d9698
77d9698
%changelog
Luke Macken 9c10355
* Tue Nov 08 2011 Luke Macken <lmacken@redhat.com> - 3.11.6-1
Luke Macken 9c10355
- Update to 3.11.6
Luke Macken 9c10355
Luke Macken 5fc1eb8
* Wed Nov 02 2011 Luke Macken <lmacken@redhat.com> - 3.11.5-1
Luke Macken 5fc1eb8
- Update to 3.11.5
Luke Macken 5fc1eb8
Luke Macken 6995d0f
* Tue Jun 21 2011 Luke Macken <lmacken@redhat.com> - 3.11.4-1
Luke Macken 6995d0f
- 3.11.4 bugfix release
Luke Macken 6995d0f
Luke Macken eaa1ac9
* Tue Jun 21 2011 Luke Macken <lmacken@redhat.com> - 3.11.3-1
Luke Macken eaa1ac9
- 3.11.3 bugfix release
Luke Macken eaa1ac9
Luke Macken 2d02b30
* Sun Jun 12 2011 Luke Macken <lmacken@redhat.com> - 3.11.2-1
Luke Macken 2d02b30
- Fix traceback that occurs when extlinux is not installed (#712722)
Luke Macken 2d02b30
Luke Macken d7da30f
* Tue May 24 2011 Luke Macken <lmacken@redhat.com> - 3.11.1-1
Luke Macken d7da30f
- Bump to support downloading Fedora 15
Luke Macken d7da30f
Luke Macken 76f139b
* Mon Apr 25 2011 Luke Macken <lmacken@redhat.com> - 3.11.0-1
Luke Macken 76f139b
- Latest upstream release
Luke Macken 76f139b
8f32761
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.3-2
8f32761
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8f32761
Luke Macken d316bbd
* Mon Jan 10 2011 Luke Macken <lmacken@redhat.com> - 3.9.3-1
Luke Macken d316bbd
- Update to 3.9.3
Luke Macken d316bbd
- Require syslinux-extlinux (#664093, #665002)
Luke Macken d316bbd
ee544fb
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.9.2-2
ee544fb
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
ee544fb
1ab84ef
* Tue Jun 15 2010 Luke Macken <lmacken@redhat.com> - 3.9.2-1
1ab84ef
- 3.9.2
1ab84ef
a17d4b2
* Tue Dec 08 2009 Luke Macken <lmacken@redhat.com> - 3.9.1-1
a17d4b2
- 3.9.1 bugfix release
a17d4b2
21ed8aa
* Tue Dec 01 2009 Luke Macken <lmacken@redhat.com> - 3.9-1
21ed8aa
- 3.9 release
21ed8aa
fa0bd98
* Tue Dec 01 2009 Luke Macken <lmacken@redhat.com> - 3.8.9-1
fa0bd98
- 3.8.9, fixes bug #540255
fa0bd98
a940959
* Tue Dec 01 2009 Luke Macken <lmacken@redhat.com> - 3.8.8-1
a940959
- 3.8.8, bugfix release
a940959
b4f6e44
* Tue Nov 17 2009 Luke Macken <lmacken@redhat.com> - 3.8.7-1
b4f6e44
- 3.8.7, containing the F12 release
b4f6e44
02e0470
* Sat Nov 07 2009 Luke Macken <lmacken@redhat.com> - 3.8.6-1
02e0470
- 3.8.6
02e0470
7897ae5
* Thu Aug 27 2009 Luke Macken <lmacken@redhat.com> - 3.7.3-1
7897ae5
- 3.7.3
7897ae5
16da481
* Wed Aug 05 2009 Luke Macken <lmacken@redhat.com> - 3.7.2-1
16da481
- 3.7.2
16da481
16da481
* Sat Jun 27 2009 Luke Macken <lmacken@redhat.com> - 3.7.1-1
16da481
- 3.7.1
43d9e93
5735b4c
* Wed Jun 24 2009 Luke Macken <lmacken@redhat.com> - 3.7
5735b4c
- Latest upstream bugfix release
5735b4c
731c338
* Fri Jun 12 2009 Luke Macken <lmacken@redhat.com> - 3.6.8-1
731c338
- Latest upstream bugfix release
731c338
5cc6cd3
* Tue Jun 09 2009 Luke Macken <lmacken@redhat.com> - 3.6.7-1
5cc6cd3
- Fix a bug with ext formatted sticks
5cc6cd3
5db6af0
* Tue Jun 09 2009 Luke Macken <lmacken@redhat.com> - 3.6.6-1
5db6af0
- Update to v3.6.6
5db6af0
- Merge the dcon-unfreeze patch upstream
5db6af0
- Add Fedora 11 to the release list
5db6af0
0d5a881
* Wed May 20 2009 Christoph Wickert <cwickert@fedoraproject.org> - 3.6.5-3
0d5a881
- Make olpc.fth unfreeze disply for newer BIOSes than Q2E30 (#501688)
0d5a881
aedf361
* Thu Apr 09 2009 Luke Macken <lmacken@redhat.com> 3.6.5-2
aedf361
- Fix the checksum verification to support sha256
aedf361
8660c58
* Thu Apr 09 2009 Luke Macken <lmacken@redhat.com> 3.6.5-1
8660c58
- Update to v3.6.5, which supports F11 beta, and the latest SoaS releases
8660c58
79c3426
* Wed Mar 18 2009 Luke Macken <lmacken@redhat.com> 3.6.4-1
79c3426
- Update to v3.6.4, which works with the PyParted 2.0 API
79c3426
5dc3268
* Thu Mar 12 2009 Luke Macken <lmacken@redhat.com> 3.6.3-1
5dc3268
- Update to v3.6.3
5dc3268
5fc2e0f
* Mon Mar 07 2009 Luke Macken <lmacken@redhat.com> 3.6-1
8462b64
- Require pyparted
5fc2e0f
- Update to v3.6
5fc2e0f
5fc2e0f
* Fri Mar 06 2009 wwp <subscript@free.fr> 3.5-2
5fc2e0f
- Fix dd commands when output path contain whitespaces
5fc2e0f
79c3426
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 3.5-3
5fc2e0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
8462b64
936f88d
* Fri Jan 16 2009 Luke Macken <lmacken@redhat.com> 3.5-1
936f88d
- Update to v3.5
936f88d
00ff01e
* Fri Jan 16 2009 Luke Macken <lmacken@redhat.com> 3.4-1
00ff01e
- Update to 3.4.
00ff01e
00ff01e
* Fri Jan 16 2009 Luke Macken <lmacken@redhat.com> 3.3-2
00ff01e
- Require python-urlgrabber
00ff01e
3755c99
* Fri Jan 15 2009 Luke Macken <lmacken@redhat.com> 3.3-1
3755c99
- Update to 3.3
3755c99
e2e1773
* Fri Jan 02 2009 Luke Macken <lmacken@redhat.com> 3.2-1
e2e1773
- Fixed some syslinux-related issues (#167)
e2e1773
- Fixed some windows-related logging problems (#337)
e2e1773
- Mitigate a DBus/HAL-related segfault by unmounting upon termination
e2e1773
47f5ccf
* Thu Jan 01 2009 Luke Macken <lmacken@redhat.com> 3.1-1
47f5ccf
- Latest upstream release, containing some windows-specific
47f5ccf
  optimizations and fixes.
506c181
bbba2f0
* Mon Dec 29 2008 Luke Macken <lmacken@redhat.com> 3.0-4
bbba2f0
- Latest upstream release.
bbba2f0
- Fedora 10 support
bbba2f0
- Update to the latest sugar spin
bbba2f0
- Lots of bug fixes and code improvements
bbba2f0
- Improved OLPC support with the --xo flag
bbba2f0
- Translation improvements
bbba2f0
    - Greek translation (Nikos Charonitakis)
bbba2f0
    - Slovak translation (Ondrej Sulek)
bbba2f0
    - Catalan translation (Xavier Conde)
bbba2f0
    - French translation (PabloMartin-Gomez)
bbba2f0
    - Serbian (Milos Komarcevic)
bbba2f0
    - Chinese (sainrysec)
69f6b92
a0577a6
* Fri Oct 03 2008 Luke Macken <lmacken@redhat.com> 3.0-2
a0577a6
- Exclude ppc and ppc64, as syslinux will not work on those architectures.
a0577a6
8c55ef1
* Fri Aug 29 2008 Luke Macken <lmacken@redhat.com> 3.0-1
8c55ef1
- Latest upstream release, containing various bugfixes
8c55ef1
- Fedora 10 Beta support
8c55ef1
- Brazilian Portuguese translation (Igor Pires Soares)
8c55ef1
- Spanish translation (Domingo Becker)
8c55ef1
- Malay translation (Sharuzzaman Ahmat Raslan)
8c55ef1
- German Translation (Marcus Nitzschke, Fabian Affolter)
8c55ef1
- Polish translation (Piotr Drąg)
8c55ef1
- Portuguese translation (Valter Fukuoka)
68f0e84
- Czech translation (Adam Pribyl)
8c55ef1
77d9698
* Tue Aug 12 2008 Kushal Das <kushal@fedoraproject.org> 2.7-1
77d9698
- Initial release