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