Michael Scherer 08401c7
%define Uname MgaRepo
Michael Scherer 08401c7
Michael Scherer 08401c7
Name: mgarepo
8aa830f
Version: 1.12.3
2ee80c8
Release: 1%{?dist}
Michael Scherer 08401c7
Summary: Tools for Mageia repository access and management
2ee80c8
Group:   Development/Tools
3569dcd
# tarball needs to be created manually, since tags don't generate releases
3569dcd
# git clone git://git.mageia.org/software/build-system/mgarepo; cd mgarepo; git reset --hard %{version} && make dist
3569dcd
Source:  %{name}-%{version}.tar.xz
Michael Scherer 08401c7
License: GPLv2+
3569dcd
URL: http://gitweb.mageia.org/software/build-system/mgarepo/
3569dcd
BuildRequires: python3-devel
Michael Scherer 08401c7
Requires: subversion
Michael Scherer 08401c7
Requires: openssh-clients
3569dcd
Requires: rpm-python3
3569dcd
Requires: python3-httplib2
Michael Scherer 08401c7
Requires: wget
Michael Scherer 08401c7
BuildArch: noarch
Michael Scherer 08401c7
Michael Scherer 08401c7
%description
Michael Scherer 08401c7
Tools for Mageia repository access and management.
Michael Scherer 08401c7
Michael Scherer 08401c7
It is a fork of repsys :
Michael Scherer 08401c7
<http://wiki.mandriva.com/en/Development/Packaging/Tools/repsys>
Michael Scherer 08401c7
2ee80c8
%package ldap
2ee80c8
Group:   Development/Tools
2ee80c8
Summary: Plugin for retrieving maintainer information from LDAP for mgarepo
8aa830f
Requires: %{name} = %{version}-%{release}
2ee80c8
Requires: python3-ldap3
2ee80c8
2ee80c8
%description ldap
2ee80c8
A mgarepo plugin that allows retrieving maintainer information shown in
2ee80c8
changelogs from a LDAP server.
2ee80c8
2ee80c8
See mgarepo --help-plugin ldapusers for more information.
2ee80c8
2ee80c8
Michael Scherer 08401c7
%prep
Michael Scherer 08401c7
%setup -q
Michael Scherer 08401c7
Michael Scherer 08401c7
%build
3569dcd
%py3_build
Michael Scherer 08401c7
Michael Scherer 08401c7
%install
3569dcd
%py3_install
Michael Scherer 08401c7
Michael Scherer 08401c7
%files
8aa830f
%doc README.BINREPO CHANGES %{name}-example.conf
2ee80c8
%attr(0644,-,-) %config(noreplace) %{_sysconfdir}/%{name}.conf
Michael Scherer 08401c7
%{_bindir}/%{name}
Michael Scherer 08401c7
%{_bindir}/%{name}-ssh
Michael Scherer 08401c7
%{_datadir}/%{name}
Michael Scherer 08401c7
%{_mandir}/*/*
3569dcd
%{python3_sitelib}/%{Uname}
3569dcd
%exclude %{python3_sitelib}/%{Uname}/plugins/ldapusers.py*
3569dcd
%exclude %{python3_sitelib}/%{Uname}/plugins/__pycache__/__init__*
3569dcd
%exclude %{python3_sitelib}/%{Uname}/plugins/__pycache__/ldapusers*
3569dcd
%{python3_sitelib}/*.egg-info
3569dcd
%{_datadir}/bash-completion/completions/%{name}
3569dcd
2ee80c8
%files ldap
2ee80c8
%doc README.LDAP
2ee80c8
%{python3_sitelib}/%{Uname}/plugins/ldapusers.py*
2ee80c8
%{python3_sitelib}/%{Uname}/plugins/__pycache__/__init__*
2ee80c8
%{python3_sitelib}/%{Uname}/plugins/__pycache__/ldapusers*
2ee80c8
Michael Scherer 08401c7
Michael Scherer 08401c7
%changelog
8aa830f
* Tue Jun 14 2016 Neal Gompa <ngompa13@gmail.com> - 1.12.3-1
8aa830f
- Update to 1.12.3
8aa830f
2ee80c8
* Sat Feb 20 2016 Neal Gompa <ngompa13{%}gmail{*}com> - 1.11.9-1
2ee80c8
- Update to 1.11.9
2ee80c8
- Remove redundant actions in install section
2ee80c8
- Add mgarepo-ldap subpackage since plugin has been ported
2ee80c8
8db2d19
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.6-2
8db2d19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8db2d19
3569dcd
* Fri Jan 08 2016 Neal Gompa <ngompa13{%}gmail{*}com> - 1.11.6-1
3569dcd
- Update to 1.11.6 (switches to Python 3)
3569dcd
2f0279d
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.2-6
2f0279d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2f0279d
9430e62
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.2-5
9430e62
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9430e62
98cfef5
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.2-4
98cfef5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
98cfef5
8b81388
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.2-3
8b81388
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
8b81388
935b138
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10.2-2
935b138
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
935b138
Michael Scherer 08401c7
* Sat Nov 26 2011 Michael Scherer <misc@fedoraproject.org> 1.10.2-1
Michael Scherer 08401c7
* Adapt to Fedora
Michael Scherer 08401c7
Michael Scherer 08401c7
* Thu Nov 24 2011 boklm <boklm> 1.10.2-1.mga2
Michael Scherer 08401c7
+ Revision: 171653
Michael Scherer 08401c7
- version 1.10.2
Michael Scherer 08401c7
- add require on wget
Michael Scherer 08401c7
- version 1.10.1
Michael Scherer 08401c7
- fix require on python-httplib
Michael Scherer 08401c7
- add require on httplib2
Michael Scherer 08401c7
- add python-devel as build require
Michael Scherer 08401c7
- version 1.10.0
Michael Scherer 08401c7
Michael Scherer 08401c7
* Tue Jul 12 2011 boklm <boklm> 1.9.11-1.mga2
Michael Scherer 08401c7
+ Revision: 123440
Michael Scherer 08401c7
- Version 1.9.11: add maintdb command
Michael Scherer 08401c7
Michael Scherer 08401c7
  + ahmad <ahmad>
Michael Scherer 08401c7
    - Fix the URL tag
Michael Scherer 08401c7
Michael Scherer 08401c7
* Wed May 25 2011 boklm <boklm> 1.9.10-1.mga1
Michael Scherer 08401c7
+ Revision: 100367
Michael Scherer 08401c7
- version 1.9.10
Michael Scherer 08401c7
Michael Scherer 08401c7
  + misc <misc>
Michael Scherer 08401c7
    - add source url
Michael Scherer 08401c7
    - remove requires on python-devel ( should not be needed )
Michael Scherer 08401c7
    - do not add version requires on mgarepo ( as all version should be ok )
Michael Scherer 08401c7
    - fix missing defattr on ldap plugin ( rpmlint )
Michael Scherer 08401c7
Michael Scherer 08401c7
* Thu Mar 10 2011 misc <misc> 1.9.9-2.mga1
Michael Scherer 08401c7
+ Revision: 67691
Michael Scherer 08401c7
- fix License
Michael Scherer 08401c7
- use newer and upstream python macros
Michael Scherer 08401c7
- clean the spec by removing mention of old mandriva hack
Michael Scherer 08401c7
- remove old python macros
Michael Scherer 08401c7
Michael Scherer 08401c7
* Sat Feb 26 2011 boklm <boklm> 1.9.9-1.mga1
Michael Scherer 08401c7
+ Revision: 60148
Michael Scherer 08401c7
- version 1.9.9
Michael Scherer 08401c7
Michael Scherer 08401c7
* Fri Jan 28 2011 boklm <boklm> 1.9.8-1.mga1
Michael Scherer 08401c7
+ Revision: 42505
Michael Scherer 08401c7
- version 1.9.8
Michael Scherer 08401c7
Michael Scherer 08401c7
* Thu Jan 27 2011 boklm <boklm> 1.9.7-1.mga1
Michael Scherer 08401c7
+ Revision: 42188
Michael Scherer 08401c7
- version 1.9.7
Michael Scherer 08401c7
Michael Scherer 08401c7
* Mon Jan 17 2011 blino <blino> 1.9.6-2.mga1
Michael Scherer 08401c7
+ Revision: 20916
Michael Scherer 08401c7
- rebuild with new python
Michael Scherer 08401c7
Michael Scherer 08401c7
* Thu Jan 13 2011 boklm <boklm> 1.9.6-1.mga1
Michael Scherer 08401c7
+ Revision: 7984
Michael Scherer 08401c7
- version 1.9.6
Michael Scherer 08401c7
Michael Scherer 08401c7
* Wed Jan 12 2011 blino <blino> 1.9.5-1.mga1
Michael Scherer 08401c7
+ Revision: 6829
Michael Scherer 08401c7
- install as mgarepo, not repsys
Michael Scherer 08401c7
- do not conflict with repsys anymore
Michael Scherer 08401c7
- 1.9.5
Michael Scherer 08401c7
Michael Scherer 08401c7
  + boklm <boklm>
Michael Scherer 08401c7
    - mgarepo version 1.9.4
Michael Scherer 08401c7
    - add conflict with repsys
Michael Scherer 08401c7
    - cleaning
Michael Scherer 08401c7
    - repsys package renamed to mgarepo
Michael Scherer 08401c7
    - version 1.9.2
Michael Scherer 08401c7
Michael Scherer 08401c7
  + misc <misc>
Michael Scherer 08401c7
    - remove rest of Mandriva reference
Michael Scherer 08401c7
Michael Scherer 08401c7
* Tue Jan 04 2011 boklm <boklm> 1:1.9.1-1mdv2010.0
Michael Scherer 08401c7
+ Revision: 120
Michael Scherer 08401c7
- version 1.9.1
Michael Scherer 08401c7
- version 1.9
Michael Scherer 08401c7
- add patch from blino to enable binrepo in create-srpm
Michael Scherer 08401c7
- imported package repsys
Michael Scherer 08401c7