|
|
77d9698 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
77d9698 |
|
|
|
77d9698 |
Name: liveusb-creator
|
|
|
8c55ef1 |
Version: 3.0
|
|
|
bbba2f0 |
Release: 4%{?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
|
|
|
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
|
|
|
77d9698 |
|
|
|
77d9698 |
%install
|
|
|
8c55ef1 |
rm -rf %{buildroot}
|
|
|
8c55ef1 |
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
|
|
|
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
|
|
|
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
|