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.

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

mercurial