[mgarepo] import mgarepo

misc misc at fedoraproject.org
Tue Jan 31 20:06:00 UTC 2012


commit 08401c74d037855aa718144fcb90bafbdc732cd0
Author: Michael Scherer <mscherer at redhat.com>
Date:   Tue Jan 31 21:01:18 2012 +0100

    import mgarepo

 .gitignore   |    1 +
 mgarepo.spec |  136 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |    1 +
 3 files changed, 138 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8f20d12 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/mgarepo-1.10.2.tar.bz2
diff --git a/mgarepo.spec b/mgarepo.spec
new file mode 100644
index 0000000..c294316
--- /dev/null
+++ b/mgarepo.spec
@@ -0,0 +1,136 @@
+%define Uname MgaRepo
+
+Name: mgarepo
+Version: 1.10.2
+Release: 1
+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 :
+<http://wiki.mandriva.com/en/Development/Packaging/Tools/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 Nov 26 2011 Michael Scherer <misc at fedoraproject.org> 1.10.2-1
+* Adapt to Fedora
+
+* Thu Nov 24 2011 boklm <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 <boklm> 1.9.11-1.mga2
++ Revision: 123440
+- Version 1.9.11: add maintdb command
+
+  + ahmad <ahmad>
+    - Fix the URL tag
+
+* Wed May 25 2011 boklm <boklm> 1.9.10-1.mga1
++ Revision: 100367
+- version 1.9.10
+
+  + misc <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 <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 <boklm> 1.9.9-1.mga1
++ Revision: 60148
+- version 1.9.9
+
+* Fri Jan 28 2011 boklm <boklm> 1.9.8-1.mga1
++ Revision: 42505
+- version 1.9.8
+
+* Thu Jan 27 2011 boklm <boklm> 1.9.7-1.mga1
++ Revision: 42188
+- version 1.9.7
+
+* Mon Jan 17 2011 blino <blino> 1.9.6-2.mga1
++ Revision: 20916
+- rebuild with new python
+
+* Thu Jan 13 2011 boklm <boklm> 1.9.6-1.mga1
++ Revision: 7984
+- version 1.9.6
+
+* Wed Jan 12 2011 blino <blino> 1.9.5-1.mga1
++ Revision: 6829
+- install as mgarepo, not repsys
+- do not conflict with repsys anymore
+- 1.9.5
+
+  + boklm <boklm>
+    - mgarepo version 1.9.4
+    - add conflict with repsys
+    - cleaning
+    - repsys package renamed to mgarepo
+    - version 1.9.2
+
+  + misc <misc>
+    - remove rest of Mandriva reference
+
+* Tue Jan 04 2011 boklm <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
+
diff --git a/sources b/sources
index e69de29..c3b2457 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5d4cf1e4891bf1184c04bb7c14cae903  mgarepo-1.10.2.tar.bz2


More information about the scm-commits mailing list