liveusb-creator/liveusb-creator.spec

Thu, 26 May 2011 15:49:15 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 26 May 2011 15:49:15 +0200
changeset 14
bc3cd9a53ab5
child 15
5ae423a55bed
permissions
-rw-r--r--

Import package vendor original specs for necessary manipulations.

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

mercurial