[dexter] Import package.

Thomas Moschny thm at fedoraproject.org
Mon Mar 28 20:48:51 UTC 2011


commit 25df76b9d32a673bf6748ffec96292ef3aa08a94
Author: Thomas Moschny <thm at fedoraproject.org>
Date:   Mon Mar 28 22:48:14 2011 +0200

    Import package.

 .gitignore  |    1 +
 dexter.spec |   82 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 84 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..6bb5e9d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/dexter_0.18.tar.gz
diff --git a/dexter.spec b/dexter.spec
new file mode 100644
index 0000000..5eff5ac
--- /dev/null
+++ b/dexter.spec
@@ -0,0 +1,82 @@
+Name:           dexter
+Version:        0.18
+Release:        2%{?dist}
+Summary:        Address Book that goes hand in hand with Postler
+Group:          Applications/Internet
+License:        GPLv3
+URL:            http://launchpad.net/dexter-rolodex
+Source0:        http://launchpad.net/dexter-rolodex/0.x/%{version}/+download/%{name}_%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+BuildRequires:  python-devel
+BuildRequires:  python-distutils-extra
+BuildRequires:  pygtk2 python-storm python-vobject 
+BuildRequires:  dbus-python pygobject2 python-enchant
+BuildRequires:  intltool
+BuildRequires:  Xvfb xauth
+BuildRequires:  desktop-file-utils
+Requires:       pygtk2 python-storm python-vobject
+Requires:       dbus-python pygobject2 python-enchant
+
+
+%description
+Dexter is a very simple, easy to use address book, designed with the
+home user in mind. This personal contact manager integrates with
+Postler, and can import and export contacts in vCard format.
+
+
+%prep
+%setup -q -n dexter-rolodex
+
+# apport is ubuntu-specific
+rm -rf apport etc/apport
+
+# remove shebangs and fix permissions
+find . -type f -a \( -name '*.py' -o -name 'py.*' \) \
+   -exec sed -i '1{/^#!/d}' {} \; \
+   -exec chmod u=rw,go=r {} \;
+
+
+%build
+xvfb-run -a -w 1 %{__python} setup.py build
+
+
+%install
+rm -rf %{buildroot}
+# --skip-build prevents message catalogs from being installed
+xvfb-run -a -w 1 %{__python} setup.py install -O1  --root %{buildroot}
+
+desktop-file-validate %{buildroot}%{_datadir}/applications/dexter.desktop
+
+%find_lang %{name}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%post
+update-desktop-database &>/dev/null || :
+
+
+%postun
+update-desktop-database &> /dev/null || :
+
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc AUTHORS COPYING
+%{_bindir}/dexter
+%{_bindir}/dexter-server
+%{_datadir}/dexter
+%{python_sitelib}/dexter*
+%{_datadir}/dbus-1/services/org.elementary.dexterserver.service
+%{_datadir}/applications/dexter.desktop
+
+
+%changelog
+* Mon Mar 28 2011 Thomas Moschny <thomas.moschny at gmx.de> - 0.18-2
+- Update Summary tag.
+
+* Fri Mar 18 2011 Thomas Moschny <thomas.moschny at gmx.de> - 0.18-1
+- New package.
diff --git a/sources b/sources
index e69de29..67f1678 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+740a7781477afad1492f9aa362ff2cee  dexter_0.18.tar.gz


More information about the scm-commits mailing list