Mercurial > packages > rhel6 > feed2imap
annotate 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 |
rev | line source |
---|---|
0
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
1 %global ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']") |
3
51f7ba1cdf7c
Back out changeset f17c85a9fb8b: Does not work with Ruby 1.9
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
2
diff
changeset
|
2 %global snapshot 20130109 |
0
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
3 |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
4 Name: feed2imap |
3
51f7ba1cdf7c
Back out changeset f17c85a9fb8b: Does not work with Ruby 1.9
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
2
diff
changeset
|
5 Version: 1.0 |
51f7ba1cdf7c
Back out changeset f17c85a9fb8b: Does not work with Ruby 1.9
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
2
diff
changeset
|
6 Release: 1.%{snapshot}git%{?dist} |
0
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
7 Summary: RSS/Atom Feed Aggregator Using an IMAP Server or Maildir for Storage |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
8 |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
9 Group: Applications/Internet |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
10 License: GPLv2+ |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
11 URL: http://home.gna.org/feed2imap/ |
3
51f7ba1cdf7c
Back out changeset f17c85a9fb8b: Does not work with Ruby 1.9
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
2
diff
changeset
|
12 # git clone git://github.com/ln/feed2imap.git; tar -cjf feed2imap-$(date +%%Y%%m%%d).tar.bz2 --exclude-vcs feed2imap |
51f7ba1cdf7c
Back out changeset f17c85a9fb8b: Does not work with Ruby 1.9
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
2
diff
changeset
|
13 Source0: %{name}-%{snapshot}.tar.bz2 |
0
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
14 # make feed2imap compatible with rubygem versions of ruby-feedparser and rmail |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
15 Patch0: feed2imap-rubygem-compatibility.patch |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
17 BuildArch: noarch |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
18 |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
19 BuildRequires: ruby(abi) = 1.8 |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
20 BuildRequires: ruby |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
21 Requires: ruby(abi) = 1.8 |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
22 Requires: ruby |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
23 Requires: rubygem(ruby-feedparser) >= 0.7 |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
24 Requires: rubygem(rmail) >= 1.0.0 |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
25 |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
26 %description |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
27 feed2imap is an RSS/Atom feed aggregator. After Downloading feeds (over HTTP or |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
28 HTTPS), it uploads them to a specified folder of an IMAP mail server, or copies |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
29 them to a local maildir. The user can then access the feeds using a mail user |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
30 agent. |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
31 |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
32 %prep |
3
51f7ba1cdf7c
Back out changeset f17c85a9fb8b: Does not work with Ruby 1.9
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
2
diff
changeset
|
33 %setup -q -n %{name} |
0
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
34 %patch0 -p1 |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
35 |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
36 %build |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
37 ruby setup.rb config |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
38 |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
39 %install |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
40 rm -rf %{buildroot} |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
41 ruby setup.rb install --prefix=%{buildroot} |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
42 rm -rf %{buildroot}%{_datadir}/doc |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
43 |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
44 %clean |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
45 rm -rf %{buildroot} |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
46 |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
47 %files |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
48 %defattr(-,root,root,-) |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
49 %doc ChangeLog README COPYING data/doc/feed2imap/examples/feed2imaprc |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
50 %{_bindir}/feed2imap-opmlimport |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
51 %{_bindir}/feed2imap |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
52 %{_bindir}/feed2imap-dumpconfig |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
53 %{_bindir}/feed2imap-cleaner |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
54 %{ruby_sitelib}/feed2imap.rb |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
55 %dir %{ruby_sitelib}/feed2imap |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
56 %{ruby_sitelib}/feed2imap |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
57 %{_mandir}/man5/feed2imaprc.5* |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
58 %{_mandir}/man1/feed2imap-cleaner.1* |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
59 %{_mandir}/man1/feed2imap.1* |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
60 %{_mandir}/man1/feed2imap-dumpconfig.1* |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
61 %{_mandir}/man1/feed2imap-opmlimport.1* |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
62 |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
63 %changelog |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
64 * Wed Jan 09 2013 Guido Berhoerster <guido+packaging@berhoerster.name> - 1.0-1.20130109 |
35b72dc38da1
Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff
changeset
|
65 - Initial packaging |