From 548ab928d53af69ce4a622f555fb3d3b6b76e906 Mon Sep 17 00:00:00 2001 From: Michel Salim Date: Wed, 6 Apr 2011 00:40:28 +0200 Subject: dexter: queue for review --- desktop/dexter.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 desktop/dexter.spec (limited to 'desktop') 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 - 0.18-1 +- Initial package + -- cgit