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