liveusb-creator/liveusb-creator.spec

Fri, 09 Sep 2011 16:57:46 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 09 Sep 2011 16:57:46 +0200
changeset 18
1ae0aa395adf
parent 14
bc3cd9a53ab5
permissions
-rw-r--r--

Update version to development branches and adapt package file index.

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

mercurial