77d9698
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
77d9698
77d9698
Name:           liveusb-creator
5735b4c
Version:        3.7
43d9e93
Release:        2%{?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
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
43d9e93
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7-2
43d9e93
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
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