summaryrefslogtreecommitdiffstats
path: root/pykolab.spec.in
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-02-21 21:51:04 +0000
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2011-02-21 21:51:04 +0000
commitd4bbdffe03f54c98ffd34c3a2faeca375f57a6ee (patch)
tree4e1dd9c07d0b9c293b866f1cb0dc4453d58d3235 /pykolab.spec.in
parentcd89058ed3fa4b1def41b6ca97c398c8de6ed1c2 (diff)
downloadpykolab-d4bbdffe03f54c98ffd34c3a2faeca375f57a6ee.tar.gz
Add semantics for packaging and localization
Diffstat (limited to 'pykolab.spec.in')
-rw-r--r--pykolab.spec.in56
1 files changed, 56 insertions, 0 deletions
diff --git a/pykolab.spec.in b/pykolab.spec.in
new file mode 100644
index 0000000..9087949
--- /dev/null
+++ b/pykolab.spec.in
@@ -0,0 +1,56 @@
+%{!?python_sitelib: %define python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+Summary: Kolab Groupware Solution
+Name: pykolab
+Version: @VERSION@
+Release: @RELEASE@%{?dist}
+License: GPLv2
+Group: Applications/System
+URL: http://kolab.org/
+Source0: http://files.kolab.org/releases/%{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildArch: noarch
+Requires: kolab-python = %{version}-%{release}
+
+%description
+Kolab enables you to easily build a groupware server as part of a
+collaborative environment.
+
+##
+## Kolab CLI
+##
+%package -n kolab-cli
+Summary: Kolab CLI components
+Group: Applications/System
+BuildRequires: intltool, gettext, python
+
+%description -n kolab-cli
+Kolab CLI utilities
+
+%prep
+%setup -q
+
+%build
+%configure
+
+%install
+rm -rf %{buildroot}
+make install DESTDIR=%{buildroot}
+
+%find_lang pykolab
+
+%clean
+rm -rf %{buildroot}
+
+%files -f pykolab.lang
+%defattr(-,root,root,-)
+%doc AUTHORS ChangeLog COPYING README README.tests
+%{_bindir}/*
+%{_sbindir}/*
+%config(noreplace) %{_sysconfdir}/kolab/kolab.conf
+%{_datadir}/pykolab/
+
+%changelog
+* @DATESTAMP@ Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> @VERSION@-@RELEASE@
+- Initial package of new upstream version
+