Fri, 09 Sep 2011 16:57:46 +0200
Update version to development branches and adapt package file index.
1 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
3 Name: liveusb-creator
4 Version: 3.11.1
5 Release: MSvB_1
6 Summary: A liveusb creator
8 Group: Applications/System
9 License: GPLv2
10 URL: https://www.fedorahosted.org/liveusb-creator
11 Source0: https://www.fedorahosted.org/releases/l/i/liveusb-creator/%{name}-%{version}.tar.bz2
12 BuildRoot: %{_tmppath}/%{name}-%{version}-build
14 BuildArch: noarch
15 ExcludeArch: ppc
16 ExcludeArch: ppc64
18 BuildRequires: python-setuptools, desktop-file-utils gettext
19 Requires: syslinux, python-qt4, isomd5sum
20 Requires: python-urlgrabber
21 Requires: python-parted >= 2.0
23 %description
24 A liveusb creator from Live Fedora images
26 %prep
27 %setup -q
28 %{__sed} -i.orig -e 's;^\(Icon *=.*\)\.png;\1;' data/liveusb-creator.desktop
29 %{__sed} -i.orig -e "s;^\(locale.setlocale(locale.LC_ALL,\).*;\1 'fr_FR.UTF-8');" liveusb/__init__.py
31 %build
32 %{__python} setup.py build
33 make mo
34 make mo
36 %install
37 rm -rf %{buildroot}
38 %{__python} setup.py install -O1 --skip-build --prefix /usr --root %{buildroot}
39 %{__rm} -r liveusb/urlgrabber
41 # Adjust for console-helper magic
42 mkdir -p %{buildroot}%{_sbindir}
43 mv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_sbindir}/%{name}
44 mkdir -p %{buildroot}%{_sysconfdir}/pam.d
45 cp %{name}.pam %{buildroot}%{_sysconfdir}/pam.d/%{name}
46 mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps
47 cp %{name}.console %{buildroot}%{_sysconfdir}/security/console.apps/%{name}
49 desktop-file-install --vendor="fedora" \
50 --dir=%{buildroot}%{_datadir}/applications \
51 %{buildroot}/%{_datadir}/applications/liveusb-creator.desktop
52 rm -rf %{buildroot}/%{_datadir}/applications/liveusb-creator.desktop
54 %find_lang %{name}
56 %clean
57 rm -rf %{buildroot}
59 %files -f %{name}.lang
60 %defattr(-,root,root,-)
61 %doc README.txt LICENSE.txt
62 %{python_sitelib}/*
63 %{_sbindir}/%{name}
64 %{_datadir}/applications/fedora-liveusb-creator.desktop
65 %{_datadir}/pixmaps/fedorausb.png
66 #%{_datadir}/locale/*/LC_MESSAGES/liveusb-creator.mo
67 %config(noreplace) %{_sysconfdir}/pam.d/%{name}
68 %config(noreplace) %{_sysconfdir}/security/console.apps/%{name}
70 %changelog
71 * Thu May 26 2011 Michael Schloh von Bennewitz <michael@schloh.com> - 3.11.1-MSvB_1
72 - Port to OpenSUSE RPM build structure
74 * Tue May 24 2011 Luke Macken <lmacken@redhat.com> - 3.11.1-1
75 - Bump to support downloading Fedora 15
77 * Mon Apr 25 2011 Luke Macken <lmacken@redhat.com> - 3.11.0-1
78 - Latest upstream release
80 * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.3-2
81 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
83 * Mon Jan 10 2011 Luke Macken <lmacken@redhat.com> - 3.9.3-1
84 - Update to 3.9.3
85 - Require syslinux-extlinux (#664093, #665002)
87 * Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.9.2-2
88 - Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
90 * Tue Jun 15 2010 Luke Macken <lmacken@redhat.com> - 3.9.2-1
91 - 3.9.2
93 * Tue Dec 08 2009 Luke Macken <lmacken@redhat.com> - 3.9.1-1
94 - 3.9.1 bugfix release
96 * Tue Dec 01 2009 Luke Macken <lmacken@redhat.com> - 3.9-1
97 - 3.9 release
99 * Tue Dec 01 2009 Luke Macken <lmacken@redhat.com> - 3.8.9-1
100 - 3.8.9, fixes bug #540255
102 * Tue Dec 01 2009 Luke Macken <lmacken@redhat.com> - 3.8.8-1
103 - 3.8.8, bugfix release
105 * Tue Nov 17 2009 Luke Macken <lmacken@redhat.com> - 3.8.7-1
106 - 3.8.7, containing the F12 release
108 * Sat Nov 07 2009 Luke Macken <lmacken@redhat.com> - 3.8.6-1
109 - 3.8.6
111 * Thu Aug 27 2009 Luke Macken <lmacken@redhat.com> - 3.7.3-1
112 - 3.7.3
114 * Wed Aug 05 2009 Luke Macken <lmacken@redhat.com> - 3.7.2-1
115 - 3.7.2
117 * Sat Jun 27 2009 Luke Macken <lmacken@redhat.com> - 3.7.1-1
118 - 3.7.1
120 * Wed Jun 24 2009 Luke Macken <lmacken@redhat.com> - 3.7
121 - Latest upstream bugfix release
123 * Fri Jun 12 2009 Luke Macken <lmacken@redhat.com> - 3.6.8-1
124 - Latest upstream bugfix release
126 * Tue Jun 09 2009 Luke Macken <lmacken@redhat.com> - 3.6.7-1
127 - Fix a bug with ext formatted sticks
129 * Tue Jun 09 2009 Luke Macken <lmacken@redhat.com> - 3.6.6-1
130 - Update to v3.6.6
131 - Merge the dcon-unfreeze patch upstream
132 - Add Fedora 11 to the release list
134 * Wed May 20 2009 Christoph Wickert <cwickert@fedoraproject.org> - 3.6.5-3
135 - Make olpc.fth unfreeze disply for newer BIOSes than Q2E30 (#501688)
137 * Thu Apr 09 2009 Luke Macken <lmacken@redhat.com> 3.6.5-2
138 - Fix the checksum verification to support sha256
140 * Thu Apr 09 2009 Luke Macken <lmacken@redhat.com> 3.6.5-1
141 - Update to v3.6.5, which supports F11 beta, and the latest SoaS releases
143 * Wed Mar 18 2009 Luke Macken <lmacken@redhat.com> 3.6.4-1
144 - Update to v3.6.4, which works with the PyParted 2.0 API
146 * Thu Mar 12 2009 Luke Macken <lmacken@redhat.com> 3.6.3-1
147 - Update to v3.6.3
149 * Mon Mar 07 2009 Luke Macken <lmacken@redhat.com> 3.6-1
150 - Require pyparted
151 - Update to v3.6
153 * Fri Mar 06 2009 wwp <subscript@free.fr> 3.5-2
154 - Fix dd commands when output path contain whitespaces
156 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 3.5-3
157 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
159 * Fri Jan 16 2009 Luke Macken <lmacken@redhat.com> 3.5-1
160 - Update to v3.5
162 * Fri Jan 16 2009 Luke Macken <lmacken@redhat.com> 3.4-1
163 - Update to 3.4.
165 * Fri Jan 16 2009 Luke Macken <lmacken@redhat.com> 3.3-2
166 - Require python-urlgrabber
168 * Fri Jan 15 2009 Luke Macken <lmacken@redhat.com> 3.3-1
169 - Update to 3.3
171 * Fri Jan 02 2009 Luke Macken <lmacken@redhat.com> 3.2-1
172 - Fixed some syslinux-related issues (#167)
173 - Fixed some windows-related logging problems (#337)
174 - Mitigate a DBus/HAL-related segfault by unmounting upon termination
176 * Thu Jan 01 2009 Luke Macken <lmacken@redhat.com> 3.1-1
177 - Latest upstream release, containing some windows-specific
178 optimizations and fixes.
180 * Mon Dec 29 2008 Luke Macken <lmacken@redhat.com> 3.0-4
181 - Latest upstream release.
182 - Fedora 10 support
183 - Update to the latest sugar spin
184 - Lots of bug fixes and code improvements
185 - Improved OLPC support with the --xo flag
186 - Translation improvements
187 - Greek translation (Nikos Charonitakis)
188 - Slovak translation (Ondrej Sulek)
189 - Catalan translation (Xavier Conde)
190 - French translation (PabloMartin-Gomez)
191 - Serbian (Milos Komarcevic)
192 - Chinese (sainrysec)
194 * Fri Oct 03 2008 Luke Macken <lmacken@redhat.com> 3.0-2
195 - Exclude ppc and ppc64, as syslinux will not work on those architectures.
197 * Fri Aug 29 2008 Luke Macken <lmacken@redhat.com> 3.0-1
198 - Latest upstream release, containing various bugfixes
199 - Fedora 10 Beta support
200 - Brazilian Portuguese translation (Igor Pires Soares)
201 - Spanish translation (Domingo Becker)
202 - Malay translation (Sharuzzaman Ahmat Raslan)
203 - German Translation (Marcus Nitzschke, Fabian Affolter)
204 - Polish translation (Piotr Drąg)
205 - Portuguese translation (Valter Fukuoka)
206 - Czech translation (Adam Pribyl)
208 * Tue Aug 12 2008 Kushal Das <kushal@fedoraproject.org> 2.7-1
209 - Initial release