[mailnag] update to 1.0.0

Thorsten Leemhuis thl at fedoraproject.org
Sun Jun 29 16:38:30 UTC 2014


commit 6631f3d3629a3c1e8d6078549272bc9768f065ff
Author: Thorsten Leemhuis <fedora at leemhuis.info>
Date:   Sun Jun 29 18:39:01 2014 +0200

    update to 1.0.0
    
    - drop patches

 mailnag.spec |   34 ++++++++++++----------------------
 sources      |    1 +
 2 files changed, 13 insertions(+), 22 deletions(-)
---
diff --git a/mailnag.spec b/mailnag.spec
index dc52e29..c06b35b 100644
--- a/mailnag.spec
+++ b/mailnag.spec
@@ -1,22 +1,11 @@
 Name:           mailnag
-Version:        0.5.2
-Release:        5%{?dist}
-Summary:        Mail notification daemon for GNOME 3
+Version:        1.0.0
+Release:        1%{?dist}
+Summary:        Mail notification daemon
 
 License:        GPLv2
-URL:            https://github.com/pulb/mailnag
-Source0:        https://github.com/downloads/pulb/%{name}/%{name}-%{version}.tar.gz
-
-# submitted during review; will send it upstream soon
-Patch0:         mailnag-imaplib2.patch
-
-# backgroud: https://bugzilla.redhat.com/show_bug.cgi?id=1015900
-# based on upstream patch https://github.com/pulb/mailnag/commit/8661a7236a791255bc379a106eed52cf55471845
-Patch1:         mailnag-addaction_apichange.patch
-
-# backgroud: https://bugzilla.redhat.com/show_bug.cgi?id=1015900#4
-# upstream is working on a rewrite, no need to sent it there
-Patch2:         mailnag-sound.patch
+URL:            https://github.com/pulb/%{name}
+Source0:        https://github.com/pulb/%{name}/archive/%{name}-%{version}.tar.gz
 
 # python3 won't work (as of 0.4.2)
 Requires:       python2  
@@ -39,12 +28,9 @@ creates a proper GNOME 3 notification that mentions sender and subject.
 
 %prep
 %setup -q 
-%patch0 -b .patch0
-%patch1 -b .patch1 -p1
-%patch2 -b .patch2 -p1
 
 # avoid rpmlint error wrong-script-end-of-line-encoding for these files
-sed -i -e 's/\r//' Mailnag/{config,mailnag,configuration/accountdialog}.py
+sed -i -e 's/\r//' Mailnag/{config,mailnag,configuration/accountdialog,configuration/plugindialog}.py
 
 # sooner or later python3 might be the default in Fedora; be prepared
 sed -i 's_#!.*/usr/bin/env.*python_#!%{_bindir}/env python2_' $(find . -name '*.py')
@@ -55,7 +41,7 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
 %install
 rm -rf %{buildroot}
 %{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
-desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/mailnag_config.desktop
+desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/mailnag-config.desktop
 
 %find_lang %{name}
 
@@ -80,9 +66,13 @@ fi
 %{python_sitelib}/Mailnag
 %{python_sitelib}/%{name}-%{version}-*.egg-info
 %{_datadir}/applications/*
-
+%{_datadir}/icons/hicolor/*/apps/%{name}*png
 
 %changelog
+* Sun Jun 29 2014 Thorsten Leemhuis <fedora at leemhuis.info> - 1.0.0-1
+- update to 1.0.0
+- drop patches
+
 * Sat Jun 07 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.2-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
 
diff --git a/sources b/sources
index 8a231c1..1bb2271 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
 58850cd1412a8d589048dc5e3eba9842  mailnag-0.5.2.tar.gz
+f3c0df790a2f5e6b615ef804ee0e5a91  mailnag-1.0.0.tar.gz


More information about the scm-commits mailing list