annotate feed2imap.spec @ 2:f17c85a9fb8b

Update to version 1.2.2
author Guido Berhoerster <guido+packaging@berhoerster.name>
date Mon, 28 Apr 2014 17:34:11 +0200
parents 35b72dc38da1
children 51f7ba1cdf7c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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']")
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
2
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
3 Name: feed2imap
2
f17c85a9fb8b Update to version 1.2.2
Guido Berhoerster <guido+packaging@berhoerster.name>
parents: 0
diff changeset
4 Version: 1.2.2
f17c85a9fb8b Update to version 1.2.2
Guido Berhoerster <guido+packaging@berhoerster.name>
parents: 0
diff changeset
5 Release: 1%{?dist}
0
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
6 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
7
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
8 Group: Applications/Internet
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
9 License: GPLv2+
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
10 URL: http://home.gna.org/feed2imap/
2
f17c85a9fb8b Update to version 1.2.2
Guido Berhoerster <guido+packaging@berhoerster.name>
parents: 0
diff changeset
11 Source0: https://github.com/feed2imap/feed2imap/archive/%{name}_%{version}.tar.gz
0
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
12 # make feed2imap compatible with rubygem versions of ruby-feedparser and rmail
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
13 Patch0: feed2imap-rubygem-compatibility.patch
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
14 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
15 BuildArch: noarch
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
16
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
17 BuildRequires: ruby(abi) = 1.8
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
18 BuildRequires: ruby
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
19 Requires: ruby(abi) = 1.8
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
20 Requires: ruby
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
21 Requires: rubygem(ruby-feedparser) >= 0.7
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
22 Requires: rubygem(rmail) >= 1.0.0
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
23
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
24 %description
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
25 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
26 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
27 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
28 agent.
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
29
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
30 %prep
2
f17c85a9fb8b Update to version 1.2.2
Guido Berhoerster <guido+packaging@berhoerster.name>
parents: 0
diff changeset
31 %setup -q -n %{name}-%{name}_%{version}
0
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
32 %patch0 -p1
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
33
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
34 %build
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
35 ruby setup.rb config
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
36
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
37 %install
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
38 rm -rf %{buildroot}
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
39 ruby setup.rb install --prefix=%{buildroot}
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
40 rm -rf %{buildroot}%{_datadir}/doc
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
41
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
42 %clean
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
43 rm -rf %{buildroot}
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
44
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
45 %files
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
46 %defattr(-,root,root,-)
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
47 %doc ChangeLog README COPYING data/doc/feed2imap/examples/feed2imaprc
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
48 %{_bindir}/feed2imap-opmlimport
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
49 %{_bindir}/feed2imap
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
50 %{_bindir}/feed2imap-dumpconfig
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
51 %{_bindir}/feed2imap-cleaner
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
52 %{ruby_sitelib}/feed2imap.rb
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
53 %dir %{ruby_sitelib}/feed2imap
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
54 %{ruby_sitelib}/feed2imap
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
55 %{_mandir}/man5/feed2imaprc.5*
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
56 %{_mandir}/man1/feed2imap-cleaner.1*
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
57 %{_mandir}/man1/feed2imap.1*
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
58 %{_mandir}/man1/feed2imap-dumpconfig.1*
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
59 %{_mandir}/man1/feed2imap-opmlimport.1*
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
60
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
61 %changelog
2
f17c85a9fb8b Update to version 1.2.2
Guido Berhoerster <guido+packaging@berhoerster.name>
parents: 0
diff changeset
62 * Mon Apr 28 2014 Guido Berhoerster <guido+packaging@berhoerster.name> - 1.2.2-1
f17c85a9fb8b Update to version 1.2.2
Guido Berhoerster <guido+packaging@berhoerster.name>
parents: 0
diff changeset
63 - Update to version 1.2.2
f17c85a9fb8b Update to version 1.2.2
Guido Berhoerster <guido+packaging@berhoerster.name>
parents: 0
diff changeset
64
0
35b72dc38da1 Initial revision
Guido Berhoerster <guido+packaging@berhoerster.name>
parents:
diff changeset
65 * 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
66 - Initial packaging