summaryrefslogtreecommitdiffstats
path: root/desktop
diff options
context:
space:
mode:
authorMichel Salim <salimma@fedoraproject.org>2011-04-06 00:40:28 +0200
committerMichel Salim <salimma@fedoraproject.org>2011-04-06 00:40:28 +0200
commit548ab928d53af69ce4a622f555fb3d3b6b76e906 (patch)
tree552347129b954a968226b3c4dcdd50082852441e /desktop
parent7a08de0323c6f2df334c07613f4e5feacfd5e7e6 (diff)
downloadspecs-548ab928d53af69ce4a622f555fb3d3b6b76e906.tar.gz
specs-548ab928d53af69ce4a622f555fb3d3b6b76e906.tar.xz
specs-548ab928d53af69ce4a622f555fb3d3b6b76e906.zip
dexter: queue for review
Diffstat (limited to 'desktop')
-rw-r--r--desktop/dexter.spec63
1 files changed, 63 insertions, 0 deletions
diff --git a/desktop/dexter.spec b/desktop/dexter.spec
new file mode 100644
index 0000000..a1fa859
--- /dev/null
+++ b/desktop/dexter.spec
@@ -0,0 +1,63 @@
+Name: dexter
+Version: 0.18
+Release: 1%{?dist}
+Summary: A simple address book for end users
+
+Group: Applications/Internet
+License: GPLv3
+URL: https://launchpad.net/dexter-rolodex
+Source0: http://launchpad.net/dexter-rolodex/0.x/%{version}/+download/dexter_%{version}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python-distutils-extra
+BuildRequires: intltool
+BuildRequires: desktop-file-utils
+BuildRequires: python-storm
+BuildRequires: python-vobject
+Requires: dbus
+Requires: python-storm
+Requires: python-vobject
+
+%description
+A user-friendly contact management application that is intended to be
+used with the Postler email client.
+
+
+%prep
+%setup -q -n dexter-rolodex
+# remove shebang
+sed -i '1d' dexter/backend/models.py
+
+
+%build
+# see below; the build script currently does not allow
+# build and install to be cleanly separated
+#{__python} setup.py build
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+# not using --skip-build as doing that causes desktop file
+# not to be generated and installed
+%{__python} setup.py install -O1 --root $RPM_BUILD_ROOT
+desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/dexter.desktop
+%find_lang %{name}
+
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{_bindir}/dexter*
+# Ubuntu-specific
+%exclude %{_sysconfdir}/apport/crashdb.conf.d/dexter-crashdb.conf
+%exclude %{_datadir}/apport/package-hooks/*
+%{_datadir}/applications/dexter.desktop
+%{_datadir}/dbus-1/services/org.elementary.dexterserver.service
+%{_datadir}/dexter
+%{python_sitelib}/*
+
+
+%changelog
+* Tue Mar 15 2011 Michel Salim <salimma@fedoraproject.org> - 0.18-1
+- Initial package
+