%define Uname MgaRepo Name: mgarepo Version: 1.10.2 Release: 5%{?dist} Summary: Tools for Mageia repository access and management Group: Applications/System Source: http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/software/%{name}/%{version}/%{name}-%{version}.tar.bz2 License: GPLv2+ URL: http://svn.mageia.org/soft/build_system/mgarepo/ BuildRequires: python2-devel Requires: python-cheetah Requires: subversion Requires: openssh-clients Requires: rpm-python Requires: python-httplib2 Requires: wget BuildArch: noarch %description Tools for Mageia repository access and management. It is a fork of repsys : %prep %setup -q %build python setup.py build %install python setup.py install --root=%{buildroot} perl -pi -e 's|#!/usr/bin/python.*||' $(find %{buildroot}/%{python_sitelib}/ -name '*.py') mkdir -p %{buildroot}%{_sysconfdir} mkdir -p %{buildroot}%{_datadir}/%{name}/ mkdir -p %{buildroot}%{_bindir}/ install -m 0755 create-srpm %{buildroot}%{_datadir}/%{name}/create-srpm install -m 0755 %{name}-ssh %{buildroot}%{_bindir}/%{name}-ssh install -m 0644 %{name}.conf %{buildroot}%{_sysconfdir} %files %doc CHANGES %{name}-example.conf %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}.conf %{_bindir}/%{name} %{_bindir}/%{name}-ssh %{_datadir}/%{name} %{_mandir}/*/* %{python_sitelib}/%{Uname} %exclude %{python_sitelib}/%{Uname}/plugins/ldapusers.py* %{python_sitelib}/*.egg-info %changelog * Sat Jun 07 2014 Fedora Release Engineering - 1.10.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.10.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.10.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jul 20 2012 Fedora Release Engineering - 1.10.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Sat Nov 26 2011 Michael Scherer 1.10.2-1 * Adapt to Fedora * Thu Nov 24 2011 boklm 1.10.2-1.mga2 + Revision: 171653 - version 1.10.2 - add require on wget - version 1.10.1 - fix require on python-httplib - add require on httplib2 - add python-devel as build require - version 1.10.0 * Tue Jul 12 2011 boklm 1.9.11-1.mga2 + Revision: 123440 - Version 1.9.11: add maintdb command + ahmad - Fix the URL tag * Wed May 25 2011 boklm 1.9.10-1.mga1 + Revision: 100367 - version 1.9.10 + misc - add source url - remove requires on python-devel ( should not be needed ) - do not add version requires on mgarepo ( as all version should be ok ) - fix missing defattr on ldap plugin ( rpmlint ) * Thu Mar 10 2011 misc 1.9.9-2.mga1 + Revision: 67691 - fix License - use newer and upstream python macros - clean the spec by removing mention of old mandriva hack - remove old python macros * Sat Feb 26 2011 boklm 1.9.9-1.mga1 + Revision: 60148 - version 1.9.9 * Fri Jan 28 2011 boklm 1.9.8-1.mga1 + Revision: 42505 - version 1.9.8 * Thu Jan 27 2011 boklm 1.9.7-1.mga1 + Revision: 42188 - version 1.9.7 * Mon Jan 17 2011 blino 1.9.6-2.mga1 + Revision: 20916 - rebuild with new python * Thu Jan 13 2011 boklm 1.9.6-1.mga1 + Revision: 7984 - version 1.9.6 * Wed Jan 12 2011 blino 1.9.5-1.mga1 + Revision: 6829 - install as mgarepo, not repsys - do not conflict with repsys anymore - 1.9.5 + boklm - mgarepo version 1.9.4 - add conflict with repsys - cleaning - repsys package renamed to mgarepo - version 1.9.2 + misc - remove rest of Mandriva reference * Tue Jan 04 2011 boklm 1:1.9.1-1mdv2010.0 + Revision: 120 - version 1.9.1 - version 1.9 - add patch from blino to enable binrepo in create-srpm - imported package repsys