Thu, 26 May 2011 15:49:15 +0200
Import package vendor original specs for necessary manipulations.
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/liveusb-creator/liveusb-creator.spec Thu May 26 15:49:15 2011 +0200 1.3 @@ -0,0 +1,207 @@ 1.4 +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} 1.5 + 1.6 +Name: liveusb-creator 1.7 +Version: 3.11.1 1.8 +Release: 1%{?dist} 1.9 +Summary: A liveusb creator 1.10 + 1.11 +Group: Applications/System 1.12 +License: GPLv2 1.13 +URL: https://fedorahosted.org/liveusb-creator 1.14 +Source0: https://fedorahosted.org/releases/l/i/liveusb-creator/%{name}-%{version}.tar.bz2 1.15 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 1.16 + 1.17 +BuildArch: noarch 1.18 +ExcludeArch: ppc 1.19 +ExcludeArch: ppc64 1.20 + 1.21 +BuildRequires: python-devel, python-setuptools, PyQt4-devel, desktop-file-utils gettext 1.22 +Requires: syslinux, PyQt4, usermode, isomd5sum 1.23 +Requires: python-urlgrabber 1.24 +Requires: pyparted >= 2.0 1.25 +Requires: syslinux-extlinux 1.26 + 1.27 +%description 1.28 +A liveusb creator from Live Fedora images 1.29 + 1.30 +%prep 1.31 +%setup -q 1.32 + 1.33 +%build 1.34 +%{__python} setup.py build 1.35 +make mo 1.36 +make mo 1.37 + 1.38 +%install 1.39 +rm -rf %{buildroot} 1.40 +%{__python} setup.py install -O1 --skip-build --root %{buildroot} 1.41 +%{__rm} -r liveusb/urlgrabber 1.42 + 1.43 +# Adjust for console-helper magic 1.44 +mkdir -p %{buildroot}%{_sbindir} 1.45 +mv %{buildroot}%{_bindir}/%{name} %{buildroot}%{_sbindir}/%{name} 1.46 +ln -s ../bin/consolehelper %{buildroot}%{_bindir}/%{name} 1.47 +mkdir -p %{buildroot}%{_sysconfdir}/pam.d 1.48 +cp %{name}.pam %{buildroot}%{_sysconfdir}/pam.d/%{name} 1.49 +mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps 1.50 +cp %{name}.console %{buildroot}%{_sysconfdir}/security/console.apps/%{name} 1.51 + 1.52 +desktop-file-install --vendor="fedora" \ 1.53 +--dir=%{buildroot}%{_datadir}/applications \ 1.54 +%{buildroot}/%{_datadir}/applications/liveusb-creator.desktop 1.55 +rm -rf %{buildroot}/%{_datadir}/applications/liveusb-creator.desktop 1.56 + 1.57 +%find_lang %{name} 1.58 + 1.59 +%clean 1.60 +rm -rf %{buildroot} 1.61 + 1.62 +%files -f %{name}.lang 1.63 +%defattr(-,root,root,-) 1.64 +%doc README.txt LICENSE.txt 1.65 +%{python_sitelib}/* 1.66 +%{_bindir}/%{name} 1.67 +%{_sbindir}/%{name} 1.68 +%{_datadir}/applications/fedora-liveusb-creator.desktop 1.69 +%{_datadir}/pixmaps/fedorausb.png 1.70 +#%{_datadir}/locale/*/LC_MESSAGES/liveusb-creator.mo 1.71 +%config(noreplace) %{_sysconfdir}/pam.d/%{name} 1.72 +%config(noreplace) %{_sysconfdir}/security/console.apps/%{name} 1.73 + 1.74 +%changelog 1.75 +* Tue May 24 2011 Luke Macken <lmacken@redhat.com> - 3.11.1-1 1.76 +- Bump to support downloading Fedora 15 1.77 + 1.78 +* Mon Apr 25 2011 Luke Macken <lmacken@redhat.com> - 3.11.0-1 1.79 +- Latest upstream release 1.80 + 1.81 +* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.3-2 1.82 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 1.83 + 1.84 +* Mon Jan 10 2011 Luke Macken <lmacken@redhat.com> - 3.9.3-1 1.85 +- Update to 3.9.3 1.86 +- Require syslinux-extlinux (#664093, #665002) 1.87 + 1.88 +* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 3.9.2-2 1.89 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild 1.90 + 1.91 +* Tue Jun 15 2010 Luke Macken <lmacken@redhat.com> - 3.9.2-1 1.92 +- 3.9.2 1.93 + 1.94 +* Tue Dec 08 2009 Luke Macken <lmacken@redhat.com> - 3.9.1-1 1.95 +- 3.9.1 bugfix release 1.96 + 1.97 +* Tue Dec 01 2009 Luke Macken <lmacken@redhat.com> - 3.9-1 1.98 +- 3.9 release 1.99 + 1.100 +* Tue Dec 01 2009 Luke Macken <lmacken@redhat.com> - 3.8.9-1 1.101 +- 3.8.9, fixes bug #540255 1.102 + 1.103 +* Tue Dec 01 2009 Luke Macken <lmacken@redhat.com> - 3.8.8-1 1.104 +- 3.8.8, bugfix release 1.105 + 1.106 +* Tue Nov 17 2009 Luke Macken <lmacken@redhat.com> - 3.8.7-1 1.107 +- 3.8.7, containing the F12 release 1.108 + 1.109 +* Sat Nov 07 2009 Luke Macken <lmacken@redhat.com> - 3.8.6-1 1.110 +- 3.8.6 1.111 + 1.112 +* Thu Aug 27 2009 Luke Macken <lmacken@redhat.com> - 3.7.3-1 1.113 +- 3.7.3 1.114 + 1.115 +* Wed Aug 05 2009 Luke Macken <lmacken@redhat.com> - 3.7.2-1 1.116 +- 3.7.2 1.117 + 1.118 +* Sat Jun 27 2009 Luke Macken <lmacken@redhat.com> - 3.7.1-1 1.119 +- 3.7.1 1.120 + 1.121 +* Wed Jun 24 2009 Luke Macken <lmacken@redhat.com> - 3.7 1.122 +- Latest upstream bugfix release 1.123 + 1.124 +* Fri Jun 12 2009 Luke Macken <lmacken@redhat.com> - 3.6.8-1 1.125 +- Latest upstream bugfix release 1.126 + 1.127 +* Tue Jun 09 2009 Luke Macken <lmacken@redhat.com> - 3.6.7-1 1.128 +- Fix a bug with ext formatted sticks 1.129 + 1.130 +* Tue Jun 09 2009 Luke Macken <lmacken@redhat.com> - 3.6.6-1 1.131 +- Update to v3.6.6 1.132 +- Merge the dcon-unfreeze patch upstream 1.133 +- Add Fedora 11 to the release list 1.134 + 1.135 +* Wed May 20 2009 Christoph Wickert <cwickert@fedoraproject.org> - 3.6.5-3 1.136 +- Make olpc.fth unfreeze disply for newer BIOSes than Q2E30 (#501688) 1.137 + 1.138 +* Thu Apr 09 2009 Luke Macken <lmacken@redhat.com> 3.6.5-2 1.139 +- Fix the checksum verification to support sha256 1.140 + 1.141 +* Thu Apr 09 2009 Luke Macken <lmacken@redhat.com> 3.6.5-1 1.142 +- Update to v3.6.5, which supports F11 beta, and the latest SoaS releases 1.143 + 1.144 +* Wed Mar 18 2009 Luke Macken <lmacken@redhat.com> 3.6.4-1 1.145 +- Update to v3.6.4, which works with the PyParted 2.0 API 1.146 + 1.147 +* Thu Mar 12 2009 Luke Macken <lmacken@redhat.com> 3.6.3-1 1.148 +- Update to v3.6.3 1.149 + 1.150 +* Mon Mar 07 2009 Luke Macken <lmacken@redhat.com> 3.6-1 1.151 +- Require pyparted 1.152 +- Update to v3.6 1.153 + 1.154 +* Fri Mar 06 2009 wwp <subscript@free.fr> 3.5-2 1.155 +- Fix dd commands when output path contain whitespaces 1.156 + 1.157 +* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> 3.5-3 1.158 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 1.159 + 1.160 +* Fri Jan 16 2009 Luke Macken <lmacken@redhat.com> 3.5-1 1.161 +- Update to v3.5 1.162 + 1.163 +* Fri Jan 16 2009 Luke Macken <lmacken@redhat.com> 3.4-1 1.164 +- Update to 3.4. 1.165 + 1.166 +* Fri Jan 16 2009 Luke Macken <lmacken@redhat.com> 3.3-2 1.167 +- Require python-urlgrabber 1.168 + 1.169 +* Fri Jan 15 2009 Luke Macken <lmacken@redhat.com> 3.3-1 1.170 +- Update to 3.3 1.171 + 1.172 +* Fri Jan 02 2009 Luke Macken <lmacken@redhat.com> 3.2-1 1.173 +- Fixed some syslinux-related issues (#167) 1.174 +- Fixed some windows-related logging problems (#337) 1.175 +- Mitigate a DBus/HAL-related segfault by unmounting upon termination 1.176 + 1.177 +* Thu Jan 01 2009 Luke Macken <lmacken@redhat.com> 3.1-1 1.178 +- Latest upstream release, containing some windows-specific 1.179 + optimizations and fixes. 1.180 + 1.181 +* Mon Dec 29 2008 Luke Macken <lmacken@redhat.com> 3.0-4 1.182 +- Latest upstream release. 1.183 +- Fedora 10 support 1.184 +- Update to the latest sugar spin 1.185 +- Lots of bug fixes and code improvements 1.186 +- Improved OLPC support with the --xo flag 1.187 +- Translation improvements 1.188 + - Greek translation (Nikos Charonitakis) 1.189 + - Slovak translation (Ondrej Sulek) 1.190 + - Catalan translation (Xavier Conde) 1.191 + - French translation (PabloMartin-Gomez) 1.192 + - Serbian (Milos Komarcevic) 1.193 + - Chinese (sainrysec) 1.194 + 1.195 +* Fri Oct 03 2008 Luke Macken <lmacken@redhat.com> 3.0-2 1.196 +- Exclude ppc and ppc64, as syslinux will not work on those architectures. 1.197 + 1.198 +* Fri Aug 29 2008 Luke Macken <lmacken@redhat.com> 3.0-1 1.199 +- Latest upstream release, containing various bugfixes 1.200 +- Fedora 10 Beta support 1.201 +- Brazilian Portuguese translation (Igor Pires Soares) 1.202 +- Spanish translation (Domingo Becker) 1.203 +- Malay translation (Sharuzzaman Ahmat Raslan) 1.204 +- German Translation (Marcus Nitzschke, Fabian Affolter) 1.205 +- Polish translation (Piotr Drąg) 1.206 +- Portuguese translation (Valter Fukuoka) 1.207 +- Czech translation (Adam Pribyl) 1.208 + 1.209 +* Tue Aug 12 2008 Kushal Das <kushal@fedoraproject.org> 2.7-1 1.210 +- Initial release
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/python-parted/python-parted.spec Thu May 26 15:49:15 2011 +0200 2.3 @@ -0,0 +1,65 @@ 2.4 +%define modname pyparted 2.5 +Name: python-parted 2.6 +%if %suse_version > 1020 2.7 +Version: 1.8.9 2.8 +%else 2.9 +Version: 1.7.3 2.10 +%endif 2.11 +Release: 10.1 2.12 +Summary: Python Module for GNU Parted 2.13 +URL: http://people.redhat.com/dcantrel/pyparted 2.14 +License: GNU General Public License (GPL) 2.15 +Group: Development/Libraries/Python 2.16 +Source: %{modname}-%{version}.tar.bz2 2.17 +BuildRoot: %{_tmppath}/%{name}-buildroot 2.18 +%{py_requires} 2.19 +BuildRequires: e2fsprogs-devel parted-devel python-devel 2.20 +%if %suse_version > 1000 2.21 +BuildRequires: pkg-config 2.22 +%else 2.23 +BuildRequires: pkgconfig 2.24 +%endif 2.25 + 2.26 +%description 2.27 +Python interface to GNU parted. 2.28 + 2.29 +GNU Parted is a program for creating, destroying, resizing, checking, 2.30 +and copying partitions, and the file systems on them. 2.31 + 2.32 +Authors: 2.33 +-------- 2.34 + David Cantrell <dcantrell@redhat.com> 2.35 + Matt Wilson <msw@redhat.com> 2.36 + Jeremy Katz <katzj@redhat.com> 2.37 + Peter Jones <pjones@redhat.com> 2.38 + Chris Lumens <clumens@redhat.com> 2.39 + 2.40 +%prep 2.41 +%setup -q -n %{modname}-%{version} 2.42 + 2.43 +%build 2.44 +export CFLAGS="$RPM_OPT_FLAGS" 2.45 +%if %suse_version < 1030 2.46 +%configure ||: 2.47 +cat config.log 2.48 +%endif 2.49 +make 2.50 + 2.51 +%install 2.52 +%makeinstall 2.53 + 2.54 +%clean 2.55 +rm -rf %{buildroot} 2.56 + 2.57 +%files 2.58 +%defattr(-,root,root) 2.59 +%doc README COPYING AUTHORS ChangeLog 2.60 +%{py_sitedir}/partedmodule.so 2.61 + 2.62 +%changelog 2.63 + 2.64 +* Wed Jun 25 2008 - James Oakley <jfunk@funktronics.ca> - 1.8.9-1 2.65 +- Update to 1.8.9 2.66 + 2.67 +* Thu May 31 2007 - James Oakley <jfunk@funktronics.ca> - 1.8.6-1 2.68 +- Initial release