rpms/kobo/F-11 kobo.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

dmach dmach at fedoraproject.org
Wed Jun 17 12:39:08 UTC 2009


Author: dmach

Update of /cvs/extras/rpms/kobo/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv18814

Modified Files:
	.cvsignore sources 
Added Files:
	kobo.spec 
Log Message:
kobo-0.1.0



--- NEW FILE kobo.spec ---
%define py_version %(%{__python} -c "import sys; v=sys.version_info[:2]; print '%%d.%%d'%%v" 2>/dev/null || echo PYTHON-NOT-FOUND)
%define py_prefix  %(%{__python} -c "import sys; print sys.prefix" 2>/dev/null || echo PYTHON-NOT-FOUND)
%define py_libdir  %{py_prefix}/lib/python%{py_version}
%define py_incdir  %{py_prefix}/include/python%{py_version}
%define py_sitedir %{py_libdir}/site-packages
%define debug_package %{nil}


%define version 0.1.0
%define release 1
# set git to %{nil} (release) or to YYYYMMDD.123456 (git build)
%define git     %{nil}

%if "%{?git}" != ""
%define release_prefix 0.
%define release_suffix .git.%{git}
%endif

Name:           kobo
Version:        %{version}
Release:        %{?release_prefix}%{release}%{?release_suffix}%{?dist}
License:        LGPLv2
Summary:        Python modules for tools development
Group:          Development/Libraries
URL:            http://fedorahosted.org/kobo/
Source0:        http://fedorahosted.org/kobo/releases/%{name}-%{version}%{?release_suffix}.tar.bz2


BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  python-devel >= 2.4


# require python-hashlib in python 2.4
%if "%{py_version}" == "2.4"
Requires:       python-hashlib
%endif


%description
Kobo is a set of python modules designed for rapid tools development.


%package django
Summary:        Django components
Group:          Development/Libraries
Requires:       kobo = %{version}-%{release}

%description django
Django components.


%package client
Summary:        CLI client
Group:          Development/Libraries
Requires:       kobo = %{version}-%{release}

%description client
CLI client.


%package worker
Summary:        Worker daemon processing tasks submitted to the hub
Group:          Development/Libraries
Requires:       kobo = %{version}-%{release}
Requires:       python-krbV

%description worker
Worker daemon processing tasks submitted to the hub.


%package hub
Summary:        Xml-rpc and web interface to a task database
Group:          Development/Libraries
Requires:       kobo = %{version}-%{release}
Requires:       Django >= 1
Requires:       httpd
Requires:       mod_auth_kerb
Requires:       postgresql-server

%description hub
Hub is a xml-rpc and web interface to a task database.


%prep
%setup -q -n %{name}-%{version}%{?release_suffix}


%build
echo OK


%install
rm -rf ${RPM_BUILD_ROOT}
python setup.py install --root=${RPM_BUILD_ROOT}

# delete the egg-info file
egg_info=$RPM_BUILD_ROOT/%{py_sitedir}/%{name}-*.egg-info
if [ -f $egg_info ]; then
  rm $egg_info
fi


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(644,root,root,755)
%{py_sitedir}/kobo/*.py*


%files django
%defattr(644,root,root,755)
%{py_sitedir}/kobo/django


%files client
%defattr(644,root,root,755)
%{py_sitedir}/kobo/client


%files worker
%defattr(644,root,root,755)
%{py_sitedir}/kobo/worker


%files hub
%defattr(644,root,root,755)
%{py_sitedir}/kobo/hub


%changelog
* Wed Jun 17 2009 Daniel Mach <dmach at redhat.com> - 0.1.0-1
- first release


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/kobo/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	11 Jun 2009 17:05:16 -0000	1.1
+++ .cvsignore	17 Jun 2009 12:38:38 -0000	1.2
@@ -0,0 +1 @@
+kobo-0.1.0.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/kobo/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	11 Jun 2009 17:05:16 -0000	1.1
+++ sources	17 Jun 2009 12:38:38 -0000	1.2
@@ -0,0 +1 @@
+54b2ffc6ed225df6c04c9140bdf12035  kobo-0.1.0.tar.bz2




More information about the fedora-extras-commits mailing list