1 |
michel |
1.1 |
%define name smeserver-tt-rss |
2 |
|
|
%define version 0.5.0 |
3 |
michel |
1.2 |
%define release 2 |
4 |
michel |
1.1 |
%define phpversion 74 |
5 |
|
|
Summary: sme server integration of tt-rss |
6 |
|
|
Name: %{name} |
7 |
|
|
Version: %{version} |
8 |
|
|
Epoch: 9 |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GNU GPL version 2 |
11 |
|
|
URL: http://www.zabbix.com/ |
12 |
|
|
Group: SMEserver/addon |
13 |
|
|
Source: %{name}-%{version}.tar.gz |
14 |
michel |
1.2 |
Patch0: smeserver-tt-rss-0.5.0-feed_log_file.patch |
15 |
michel |
1.1 |
|
16 |
|
|
BuildArchitectures: noarch |
17 |
|
|
BuildRequires: e-smith-devtools |
18 |
|
|
BuildRoot: /var/tmp/%{name}-%{version} |
19 |
|
|
Requires: e-smith-base |
20 |
|
|
Requires: e-smith-release >= 10.0 |
21 |
|
|
Requires: tt-rss >= 20211029 |
22 |
|
|
AutoReqProv: no |
23 |
|
|
|
24 |
|
|
%description |
25 |
|
|
smserver integration of TIny Tiny RSS |
26 |
|
|
Tiny Tiny RSS is a feature rich, web based feed reader |
27 |
|
|
|
28 |
|
|
%prep |
29 |
|
|
%setup |
30 |
michel |
1.2 |
%patch0 -p1 |
31 |
michel |
1.1 |
|
32 |
|
|
%build |
33 |
|
|
perl ./createlinks |
34 |
|
|
find root/ -type f | xargs grep -l __PHP_VERSION__ | xargs sed -i -e "s/__PHP_VERSION__/%{phpversion}/g" |
35 |
|
|
%{__mkdir_p} root/var/log/tt-rss |
36 |
|
|
%{__mkdir_p} root/var/log/php/tt-rss |
37 |
|
|
%{__mkdir_p} root/var/lib/php/tt-rss/{tmp,wsdlcache,opcache,session} |
38 |
|
|
|
39 |
|
|
%install |
40 |
|
|
rm -rf $RPM_BUILD_ROOT |
41 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
42 |
|
|
rm -f %{name}-%{version}-filelist |
43 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
44 |
|
|
--dir /var/log/php/tt-rss 'attr(0770,root,www)' \ |
45 |
|
|
--dir /var/lib/php/tt-rss 'attr(0770,root,www)' \ |
46 |
|
|
--dir /var/lib/php/tt-rss/tmp 'attr(0770,root,www)' \ |
47 |
|
|
--dir /var/lib/php/tt-rss/session 'attr(0770,root,www)' \ |
48 |
|
|
--dir /var/lib/php/tt-rss/wsdlcache 'attr(0770,root,www)' \ |
49 |
|
|
--dir /var/lib/php/tt-rss/opcache 'attr(0770,root,www)' \ |
50 |
|
|
--file /var/service/tt-rss/run 'attr(0755,root,root)' \ |
51 |
|
|
--file /var/service/tt-rss/log/run 'attr(0755,root,root)' \ |
52 |
|
|
--dir /var/log/tt-rss 'attr(0770,root,smelog)' \ |
53 |
|
|
> %{name}-%{version}-filelist |
54 |
|
|
|
55 |
|
|
%files -f %{name}-%{version}-filelist |
56 |
|
|
%defattr(-,root,root) |
57 |
|
|
|
58 |
|
|
%clean |
59 |
|
|
rm -rf $RPM_BUILD_ROOT |
60 |
|
|
|
61 |
|
|
%postun |
62 |
|
|
|
63 |
|
|
%changelog |
64 |
michel |
1.2 |
* Sun Nov 21 2021 Michel Begue <mab974@misouk.com> 0.5.0-2.sme |
65 |
|
|
- Fix log file not fed |
66 |
|
|
|
67 |
michel |
1.1 |
* Mon Nov 1 2021 Michel Begue <mab974@misouk.com> 0.5.0-1.sme |
68 |
|
|
- First import to sme 10 |
69 |
|
|
- systemd, update event & php-fpm |
70 |
|
|
- Support tt-rss 20211029 |
71 |
|
|
|
72 |
|
|
* Thu Jul 13 2017 Daniel Berteaud <daniel@firewall-services.com> 0.3.0-1.sme |
73 |
|
|
- Switch to php fpm, using PHP 7.1 |
74 |
|
|
- Support tt-rss 20170713 |
75 |
|
|
|
76 |
|
|
* Tue Feb 16 2016 Daniel Berteaud <daniel@firewall-services.com> 0.2.11-1.sme |
77 |
|
|
- Remove SESSION_CHECK_ADDRESS |
78 |
|
|
|
79 |
|
|
* Mon Jun 29 2015 Daniel Berteaud <daniel@firewall-services.com> 0.2.9-1.sme |
80 |
|
|
- Adapt templates for 20150629 |
81 |
|
|
|
82 |
|
|
* Mon Jun 29 2015 Daniel Berteaud <daniel@firewall-services.com> 0.2.10-1.sme |
83 |
|
|
- Adapt conf templates for 20150629 |
84 |
|
|
|
85 |
|
|
* Tue Apr 22 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.9-1.sme |
86 |
|
|
- Fix basic auth on SME9 |
87 |
|
|
|
88 |
|
|
* Thu Feb 6 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.8-1.sme |
89 |
|
|
- Fix database upgrades |
90 |
|
|
|
91 |
|
|
* Mon Jan 20 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.7-1.sme |
92 |
|
|
- Remove the default Authentication prop (but the default value is still http) |
93 |
|
|
|
94 |
|
|
* Wed Dec 18 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.6-1.sme |
95 |
|
|
- Add DETECT_ARTICLE_LANGUAGE, for tt-rss 1.11 |
96 |
|
|
- Automatically update database schema when needed |
97 |
|
|
|
98 |
|
|
* Wed Jun 12 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.5-1.sme |
99 |
|
|
- Add SMTP_SECURE, for tt-rss 1.8 |
100 |
|
|
|
101 |
|
|
* Tue May 14 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.4-1.sme |
102 |
|
|
- Support tt-rss 1.7.9 |
103 |
|
|
|
104 |
|
|
* Sun Mar 24 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.3-1.sme |
105 |
|
|
- update daemon run script to use --daemon argument |
106 |
|
|
|
107 |
|
|
* Sat Mar 23 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.2-1.sme |
108 |
|
|
- Add missing SMTP_PORT |
109 |
|
|
|
110 |
|
|
* Tue Mar 5 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1.sme |
111 |
|
|
- Support tt-rss 1.7.1 |
112 |
|
|
|
113 |
|
|
* Wed Nov 14 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1.sme |
114 |
|
|
- Support tt-rss 1.6.1 |
115 |
|
|
|
116 |
|
|
* Tue Apr 24 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.0-1.sme |
117 |
|
|
- Migrate to GIT |
118 |
|
|
|
119 |
|
|
* Fri Nov 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-8.sme |
120 |
|
|
- Define SELF_URL_PATH in config |
121 |
|
|
- Update config version to 23 (1.5.7) |
122 |
|
|
|
123 |
|
|
* Mon Jul 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-7.sme |
124 |
|
|
- Configure cache dir (prevent log noise) |
125 |
|
|
|
126 |
|
|
* Tue Jun 07 2011 Daniel B. <daniel@firewall-services.com> 0.1-6.sme |
127 |
|
|
- MySQL schema files are not doc files anymore |
128 |
|
|
|
129 |
|
|
* Tue May 17 2011 Daniel B. <daniel@firewall-services.com> 0.1-5 |
130 |
|
|
- Deny access to the /schema directory |
131 |
|
|
|
132 |
|
|
* Wed Jan 26 2011 Daniel B. <daniel@firewall-services.com> 0.1-4 |
133 |
|
|
- Add DB_PORT param in config file |
134 |
|
|
|
135 |
|
|
* Wed Jan 26 2011 Daniel B. <daniel@firewall-services.com> 0.1-3 |
136 |
|
|
- Support tt-rss 1.5.1 |
137 |
|
|
|
138 |
|
|
* Mon Jan 03 2011 Daniel B. <daniel@firewall-services.com> 0.1-2 |
139 |
|
|
- disable cron job, as feeds are updated via the daemon |
140 |
|
|
|
141 |
|
|
* Mon Jan 03 2011 Daniel B. <daniel@firewall-services.com> 0.1-1 |
142 |
|
|
- initial release |