|
|
b4201c2 |
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
|
|
b4201c2 |
%{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
|
|
|
b4201c2 |
|
|
|
b4201c2 |
Name: bodhi
|
|
|
478d893 |
Version: 0.4.5
|
|
|
9dbb58e |
Release: 2%{?dist}
|
|
|
b4201c2 |
Summary: A modular framework that facilitates publishing software updates
|
|
|
b4201c2 |
Group: Applications/Internet
|
|
|
b4201c2 |
License: GPLv2+
|
|
|
b4201c2 |
URL: https://hosted.fedoraproject.org/projects/bodhi
|
|
|
b4201c2 |
Source0: bodhi-%{version}.tar.bz2
|
|
|
b4201c2 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
b4201c2 |
BuildArch: noarch
|
|
|
b4201c2 |
|
|
|
9dbb58e |
BuildRequires: python-setuptools-devel TurboGears python-genshi
|
|
|
b4201c2 |
|
|
|
b4201c2 |
%description
|
|
|
85e7f4e |
Bodhi is a modular framework that facilitates the process of publishing
|
|
|
b4201c2 |
updates for a software distribution.
|
|
|
b4201c2 |
|
|
|
85e7f4e |
A modular piece of the Fedora Infrastructure stack
|
|
|
85e7f4e |
* Utilizes the Koji Buildsystem for tracking RPMs
|
|
|
85e7f4e |
* Creates the update repositories using Mash, which composes a repository based
|
|
|
85e7f4e |
on tagged builds in Koji.
|
|
|
85e7f4e |
|
|
|
b4201c2 |
%package client
|
|
|
b4201c2 |
Summary: Bodhi Client
|
|
|
b4201c2 |
Group: Applications/Internet
|
|
|
85e7f4e |
Requires: python-simplejson python-fedora koji yum
|
|
|
b4201c2 |
|
|
|
b4201c2 |
%description client
|
|
|
b4201c2 |
Client tools for interacting with bodhi
|
|
|
b4201c2 |
|
|
|
b4201c2 |
|
|
|
b4201c2 |
%package server
|
|
|
b4201c2 |
Summary: A modular framework that facilitates publishing software updates
|
|
|
b4201c2 |
Group: Applications/Internet
|
|
|
b4201c2 |
Requires: TurboGears createrepo python-TurboMail intltool mash cvs python-fedora
|
|
|
b4201c2 |
# We need the --repofrompath option from yum-utils
|
|
|
b4201c2 |
Requires: yum-utils >= 1.1.7
|
|
|
b4201c2 |
|
|
|
b4201c2 |
%description server
|
|
|
b4201c2 |
Bodhi is a modular framework that facilitates the process of publishing
|
|
|
b4201c2 |
updates for a software distribution.
|
|
|
b4201c2 |
|
|
|
b4201c2 |
%prep
|
|
|
b4201c2 |
%setup -q
|
|
|
b4201c2 |
rm -rf bodhi/tests bodhi/tools/test-bodhi.py
|
|
|
b4201c2 |
|
|
|
b4201c2 |
%build
|
|
|
b4201c2 |
%{__python} setup.py build --install-conf=%{_sysconfdir} \
|
|
|
b4201c2 |
--install-data=%{_datadir}
|
|
|
b4201c2 |
|
|
|
b4201c2 |
%install
|
|
|
b4201c2 |
rm -rf $RPM_BUILD_ROOT
|
|
|
b4201c2 |
%{__python} setup.py install --skip-build --install-conf=%{_sysconfdir} \
|
|
|
b4201c2 |
--install-data=%{_datadir} --root %{buildroot}
|
|
|
85e7f4e |
%{__install} -D bodhi/tools/bodhi_client.py $RPM_BUILD_ROOT/usr/bin/bodhi
|
|
|
85e7f4e |
chmod +x $RPM_BUILD_ROOT/%{_datadir}/%{name}/bodhi/tools/{bodhi_client,init,dev_init,pickledb}.py
|
|
|
b4201c2 |
|
|
|
b4201c2 |
|
|
|
b4201c2 |
%clean
|
|
|
b4201c2 |
rm -rf $RPM_BUILD_ROOT
|
|
|
b4201c2 |
|
|
|
b4201c2 |
|
|
|
b4201c2 |
%files server
|
|
|
b4201c2 |
%defattr(-,root,root,-)
|
|
|
b4201c2 |
%doc README COPYING
|
|
|
b4201c2 |
%{_datadir}/%{name}
|
|
|
b4201c2 |
%{_bindir}/start-bodhi
|
|
|
b4201c2 |
%config(noreplace) %{_sysconfdir}/%{name}.cfg
|
|
|
b4201c2 |
|
|
|
b4201c2 |
%files client
|
|
|
b4201c2 |
%doc COPYING README
|
|
|
b4201c2 |
%{_bindir}/bodhi
|
|
|
b4201c2 |
|
|
|
b4201c2 |
|
|
|
b4201c2 |
%changelog
|
|
|
9dbb58e |
* Sun Nov 18 2007 Luke Macken <lmacken@redhat.com> - 0.4.5-2
|
|
|
9dbb58e |
- Add python-genshi to BuildRequires
|
|
|
9dbb58e |
|
|
|
478d893 |
* Sat Nov 17 2007 Luke Macken <lmacken@redhat.com> - 0.4.5-1
|
|
|
478d893 |
- 0.4.5
|
|
|
478d893 |
|
|
|
7265a56 |
* Wed Nov 14 2007 Luke Macken <lmacken@redhat.com> - 0.4.4-1
|
|
|
7265a56 |
- 0.4.4
|
|
|
7265a56 |
|
|
|
1b469a7 |
* Mon Nov 12 2007 Luke Macken <lmacken@redhat.com> - 0.4.3-1
|
|
|
1b469a7 |
- 0.4.3
|
|
|
1b469a7 |
|
|
|
59dbb10 |
* Mon Nov 12 2007 Luke Macken <lmacken@redhat.com> - 0.4.2-1
|
|
|
59dbb10 |
- 0.4.2
|
|
|
59dbb10 |
|
|
|
0c2dcb6 |
* Mon Nov 12 2007 Luke Macken <lmacken@redhat.com> - 0.4.1-1
|
|
|
0c2dcb6 |
- 0.4.1
|
|
|
0c2dcb6 |
|
|
|
85e7f4e |
* Sun Nov 11 2007 Luke Macken <lmacken@redhat.com> - 0.4.0-1
|
|
|
85e7f4e |
- Lots of bodhi-client features
|
|
|
85e7f4e |
|
|
|
85e7f4e |
* Wed Nov 7 2007 Luke Macken <lmacken@redhat.com> - 0.3.3-1
|
|
|
85e7f4e |
- 0.3.3
|
|
|
85e7f4e |
|
|
|
b4201c2 |
* Thu Oct 18 2007 Luke Macken <lmacken@redhat.com> - 0.3.2-2
|
|
|
b4201c2 |
- Add TurboGears to BuildRequires
|
|
|
b4201c2 |
- Make some scripts executable to silence rpmlint
|
|
|
b4201c2 |
|
|
|
b4201c2 |
* Sat Oct 16 2007 Luke Macken <lmacken@redhat.com> - 0.3.2-1
|
|
|
b4201c2 |
- 0.3.2
|
|
|
b4201c2 |
- Add COPYING file
|
|
|
b4201c2 |
- s/python-json/python-simplejson/
|
|
|
b4201c2 |
|
|
|
b4201c2 |
* Sat Oct 6 2007 Luke Macken <lmacken@redhat.com> - 0.3.1-1
|
|
|
b4201c2 |
- 0.3.1
|
|
|
b4201c2 |
|
|
|
b4201c2 |
* Wed Oct 3 2007 Luke Macken <lmacken@redhat.com> - 0.2.0-5
|
|
|
b4201c2 |
- Add python-fedora to bodhi-client Requires
|
|
|
b4201c2 |
|
|
|
b4201c2 |
* Mon Sep 17 2007 Luke Macken <lmacken@redhat.com> - 0.2.0-4
|
|
|
b4201c2 |
- Add python-json to bodhi-client Requires
|
|
|
b4201c2 |
|
|
|
b4201c2 |
* Sun Sep 16 2007 Luke Macken <lmacken@redhat.com> - 0.2.0-3
|
|
|
b4201c2 |
- Add cvs to bodhi-server Requires
|
|
|
b4201c2 |
|
|
|
b4201c2 |
* Thu Sep 15 2007 Luke Macken <lmacken@redhat.com> - 0.2.0-2
|
|
|
b4201c2 |
- Handle python-setuptools-devel changes in Fedora 8
|
|
|
b4201c2 |
- Update license to GPLv2+
|
|
|
b4201c2 |
|
|
|
b4201c2 |
* Thu Sep 13 2007 Luke Macken <lmacken@redhat.com> - 0.2.0-1
|
|
|
b4201c2 |
- Split spec file into client/server subpackages
|