diff options
| author | Michel Salim <salimma@fedoraproject.org> | 2011-04-06 01:59:57 +0200 |
|---|---|---|
| committer | Michel Salim <salimma@fedoraproject.org> | 2011-04-06 01:59:57 +0200 |
| commit | 1c62a78a5a104c3d6571ef025bee3197ca018fed (patch) | |
| tree | d3b134ec298d8fcab1ec3346b8c8f412dc91711c | |
| parent | 548ab928d53af69ce4a622f555fb3d3b6b76e906 (diff) | |
| download | specs-1c62a78a5a104c3d6571ef025bee3197ca018fed.tar.gz specs-1c62a78a5a104c3d6571ef025bee3197ca018fed.tar.xz specs-1c62a78a5a104c3d6571ef025bee3197ca018fed.zip | |
postler: queue for review
| -rw-r--r-- | desktop/postler.spec | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/desktop/postler.spec b/desktop/postler.spec new file mode 100644 index 0000000..fca75a2 --- /dev/null +++ b/desktop/postler.spec @@ -0,0 +1,92 @@ +Name: postler +Version: 0.1.1 +Release: 1%{?dist} +Summary: A lean mail interface + +Group: Applications/Internet +License: GPLv2 and LGPLv2 +URL: https://launchpad.net/postler +# git clone git://git.xfce.org/apps/postler. +# (cd postler && git archive --format=tar --prefix=postler-%%{version}/ \ +# %%{version}) | xz - > postler-%%{version}.tar.xz +Source0: postler-%{version}.tar.xz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: waf +BuildRequires: vala >= 0.10.0 +BuildRequires: dexter +BuildRequires: intltool +BuildRequires: libdb-devel +BuildRequires: lynx +BuildRequires: msmtp +BuildRequires: openssl-devel +BuildRequires: pkgconfig(gio-2.0) +BuildRequires: pkgconfig(gtk+-2.0) +BuildRequires: pkgconfig(libcanberra) +BuildRequires: pkgconfig(libnotify) +BuildRequires: pkgconfig(unique-1.0) +BuildRequires: pkgconfig(webkit-1.0) +BuildRequires: desktop-file-utils +Requires: dexter +Requires: lynx +Requires: msmtp + +%description +Postler is a lean mail interface. Messages are read from Maildir +folders, HTML is rendered, composed and spell-checked with +WebKitGTK+. The application consists of independent modules, the +reader, viewer and the composer. Each module runs separately. No +network access occurs from within the user interface by default, +offline access is integral. Contact completion and address book +integration are provided by Dexter. + + +%prep +%setup -q + + +%build +export CFLAGS="%{optflags}" +waf configure \ + --prefix=%{_prefix} \ + --disable-libindicate +waf build -v %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +waf install --destdir=$RPM_BUILD_ROOT +desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/postler.desktop +mv $RPM_BUILD_ROOT%{_datadir}/doc/postler{,-%{version}} +%find_lang %{name} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post +touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : + +%postun +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor &>/dev/null + gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +fi + +%posttrans +gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + + +%files -f %{name}.lang +%defattr(-,root,root,-) +%doc %{_datadir}/doc/postler-%{version} +%{_bindir}/postler* +%{_datadir}/applications/postler.desktop +%{_datadir}/icons/hicolor/scalable/apps/internet-mail.svg + + + +%changelog +* Wed Apr 6 2011 Michel Salim <salimma@fedoraproject.org> - 0.1.1-1 +- Initial package |
