comparison feed2imap.spec @ 3:51f7ba1cdf7c default tip

Back out changeset f17c85a9fb8b: Does not work with Ruby 1.9
author Guido Berhoerster <guido+packaging@berhoerster.name>
date Wed, 30 Apr 2014 10:37:12 +0200
parents f17c85a9fb8b
children
comparison
equal deleted inserted replaced
2:f17c85a9fb8b 3:51f7ba1cdf7c
1 %global ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']") 1 %global ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
2 %global snapshot 20130109
2 3
3 Name: feed2imap 4 Name: feed2imap
4 Version: 1.2.2 5 Version: 1.0
5 Release: 1%{?dist} 6 Release: 1.%{snapshot}git%{?dist}
6 Summary: RSS/Atom Feed Aggregator Using an IMAP Server or Maildir for Storage 7 Summary: RSS/Atom Feed Aggregator Using an IMAP Server or Maildir for Storage
7 8
8 Group: Applications/Internet 9 Group: Applications/Internet
9 License: GPLv2+ 10 License: GPLv2+
10 URL: http://home.gna.org/feed2imap/ 11 URL: http://home.gna.org/feed2imap/
11 Source0: https://github.com/feed2imap/feed2imap/archive/%{name}_%{version}.tar.gz 12 # git clone git://github.com/ln/feed2imap.git; tar -cjf feed2imap-$(date +%%Y%%m%%d).tar.bz2 --exclude-vcs feed2imap
13 Source0: %{name}-%{snapshot}.tar.bz2
12 # make feed2imap compatible with rubygem versions of ruby-feedparser and rmail 14 # make feed2imap compatible with rubygem versions of ruby-feedparser and rmail
13 Patch0: feed2imap-rubygem-compatibility.patch 15 Patch0: feed2imap-rubygem-compatibility.patch
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15 BuildArch: noarch 17 BuildArch: noarch
16 18
26 HTTPS), it uploads them to a specified folder of an IMAP mail server, or copies 28 HTTPS), it uploads them to a specified folder of an IMAP mail server, or copies
27 them to a local maildir. The user can then access the feeds using a mail user 29 them to a local maildir. The user can then access the feeds using a mail user
28 agent. 30 agent.
29 31
30 %prep 32 %prep
31 %setup -q -n %{name}-%{name}_%{version} 33 %setup -q -n %{name}
32 %patch0 -p1 34 %patch0 -p1
33 35
34 %build 36 %build
35 ruby setup.rb config 37 ruby setup.rb config
36 38
57 %{_mandir}/man1/feed2imap.1* 59 %{_mandir}/man1/feed2imap.1*
58 %{_mandir}/man1/feed2imap-dumpconfig.1* 60 %{_mandir}/man1/feed2imap-dumpconfig.1*
59 %{_mandir}/man1/feed2imap-opmlimport.1* 61 %{_mandir}/man1/feed2imap-opmlimport.1*
60 62
61 %changelog 63 %changelog
62 * Mon Apr 28 2014 Guido Berhoerster <guido+packaging@berhoerster.name> - 1.2.2-1
63 - Update to version 1.2.2
64
65 * Wed Jan 09 2013 Guido Berhoerster <guido+packaging@berhoerster.name> - 1.0-1.20130109 64 * Wed Jan 09 2013 Guido Berhoerster <guido+packaging@berhoerster.name> - 1.0-1.20130109
66 - Initial packaging 65 - Initial packaging