# HG changeset patch
# User Julien Cristau <julien.cristau@logilab.fr>
# Date 1354790551 -3600
# Thu Dec 06 11:42:31 2012 +0100
# Node ID fe997d3a294c2e803e8dca8b90924c120909fcc9
# Parent 7850ebc1c99c2834a595ca190c1043e9ddb5ac32
[packaging] steal spec file from fedora (closes #113099)
# User Julien Cristau <julien.cristau@logilab.fr>
# Date 1354790551 -3600
# Thu Dec 06 11:42:31 2012 +0100
# Node ID fe997d3a294c2e803e8dca8b90924c120909fcc9
# Parent 7850ebc1c99c2834a595ca190c1043e9ddb5ac32
[packaging] steal spec file from fedora (closes #113099)
@@ -0,0 +1,168 @@
1 +%{!?_python_sitelib: %define _python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} 2 + 3 +Name: python-logilab-common 4 +Version: 0.58.2 5 +Release: 1%{?dist} 6 +Summary: Common libraries for Logilab projects 7 + 8 +Group: Development/Libraries 9 +License: GPLv2+ 10 +URL: http://www.logilab.org/projects/common 11 +Source0: ftp://ftp.logilab.org/pub/common/logilab-common-%{version}.tar.gz 12 +BuildArch: noarch 13 +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) 14 + 15 +BuildRequires: python-devel python-setuptools python-unittest2 16 +Requires: mx 17 + 18 + 19 +%description 20 +This package contains several modules providing low level functionality 21 +shared among some python projects developed by logilab. 22 + 23 + 24 +%prep 25 +%setup -q -n logilab-common-%{version} 26 + 27 + 28 +%build 29 +%{__python} setup.py build 30 + 31 + 32 +%install 33 +rm -rf $RPM_BUILD_ROOT 34 +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT 35 +rm -rf $RPM_BUILD_ROOT%{_python_sitelib}/logilab/common/test 36 + 37 +%check 38 +%{__python} setup.py test 39 + 40 +%clean 41 +rm -rf $RPM_BUILD_ROOT 42 + 43 + 44 +%files 45 +%defattr(-,root,root,-) 46 +%doc README ChangeLog COPYING 47 +%{_python_sitelib}/logilab* 48 +%{_bindir}/* 49 + 50 + 51 +%changelog 52 +* Fri Aug 03 2012 Brian C. Lane <bcl@redhat.com> 0.58.2-1 53 +- Upstream 0.58.2 54 + 55 +* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.57.1-3 56 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 57 + 58 +* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.57.1-2 59 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 60 + 61 +* Fri Nov 18 2011 Brian C. Lane <bcl@redhat.com> - 0.57.1-1 62 +- Upstream 0.57.1 63 + 64 +* Fri Jul 29 2011 Brian C. Lane <bcl@redhat.com> - 0.56.0-1 65 +- Upstream 0.56.0 66 + 67 +* Mon Mar 28 2011 Brian C. Lane <bcl@redhat.com> - 0.55.1-1 68 +- Upstream 0.55.1 69 +- Add unit tests to spec 70 + 71 +* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.53.0-2 72 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 73 + 74 +* Mon Nov 29 2010 Brian C. Lane <bcl@redhat.com> - 0.53.0-1 75 +- Upstream 0.53.0 76 + 77 +* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.50.3-2 78 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild 79 + 80 +* Thu Jul 08 2010 Brian C. Lane <bcl@brdhat.com> - 0.50.3-1 81 +- Upstream 0.50.3 82 + 83 +* Fri Mar 26 2010 Brian C. Lane <bcl@redhat.com> - 0.49.0-2 84 +- Add python-setuptools to BuildRequires 85 + 86 +* Thu Mar 25 2010 Brian C. Lane <bcl@redhat.com> - 0.49.0-1 87 +- Upstream 0.49.0 88 + 89 +* Sun Aug 30 2009 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.45.0-1 90 +- Upstream 0.45.0 (small enhancements and bugfixes) 91 + 92 +* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.41.0-3 93 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 94 + 95 +* Wed Jun 17 2009 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.41.0-2 96 +- Upstream 0.41.0 97 +- Bugfixes and a few minor new features 98 + 99 +* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.38.0-2 100 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 101 + 102 +* Wed Jan 28 2009 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.38.0-1 103 +- Upstream 0.38.0 104 + 105 +* Tue Dec 30 2008 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.37.0-1 106 +- Upstream 0.37.0 107 + 108 +* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.32.0-2 109 +- Rebuild for Python 2.6 110 + 111 +* Mon Jun 30 2008 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.32.0-1 112 +- Upstream 0.32.0 113 + 114 +* Sun Feb 17 2008 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.28.0-1 115 +- Upstream 0.28.0 116 + 117 +* Thu Jan 17 2008 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.26.1-1 118 +- Upstream 0.26.1 119 +- Package egg-info and other files. 120 + 121 +* Mon Dec 24 2007 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.25.2-1 122 +- Upstream 0.25.2 123 + 124 +* Sun Nov 18 2007 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.24.0-1 125 +- Upstream 0.24.0 126 +- Adjust license to the new standard 127 + 128 +* Sun Apr 01 2007 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.21.2-1 129 +- Upstream 0.21.2 130 + 131 +* Sun Dec 17 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.21.0-1 132 +- Upstream 0.21.0 133 +- Include COPYING with docs 134 + 135 +* Tue Sep 26 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.19.2-1 136 +- Upstream 0.19.2 137 +- Ghostbusting 138 +- Require mx 139 + 140 +* Mon May 01 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.15.0-1 141 +- Version 0.15.0 142 + 143 +* Sun Mar 12 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.14.1-2 144 +- Also handle __init__.pyc and __init__.pyo 145 + 146 +* Sun Mar 12 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.14.1-1 147 +- Version 0.14.1 148 + 149 +* Thu Jan 12 2006 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.13.0-1 150 +- Version 0.13.0 151 +- astng no longer part of the package 152 + 153 +* Thu Nov 17 2005 Konstantin Ryabitsev <icon@fedoraproject.org> - 0.12.0-1 154 +- Version 0.12.0 155 + 156 +* Mon Jun 13 2005 Konstantin Ryabitsev <icon@linux.duke.edu> - 0.10.0-1 157 +- Version 0.10.0. 158 +- Disttagging. 159 + 160 +* Thu May 05 2005 Konstantin Ryabitsev <icon@linux.duke.edu> - 0.9.3-3 161 +- Fix paths. 162 + 163 +* Tue Apr 26 2005 Konstantin Ryabitsev <icon@linux.duke.edu> - 0.9.3-2 164 +- Ghost .pyo files. 165 +- Get rid of test, which doesn't do anything. 166 + 167 +* Fri Apr 22 2005 Konstantin Ryabitsev <icon@linux.duke.edu> - 0.9.3-1 168 +- Initial packaging.