Tiny Tiny RSS integration on SME Server
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

135 lines
4.2 KiB

13 years ago
# Authority: vip-ire
# Name: Daniel Berteaud
%define name smeserver-tt-rss
%define version 0.3.0
%define release 0.beta1
13 years ago
Summary: sme server integration of tt-rss
Name: %{name}
Version: %{version}
11 years ago
Epoch: 9
13 years ago
Release: %{release}%{?dist}
License: GNU GPL version 2
URL: http://www.zabbix.com/
Group: SMEserver/addon
Source: %{name}-%{version}.tar.gz
BuildArchitectures: noarch
BuildRequires: e-smith-devtools
BuildRoot: /var/tmp/%{name}-%{version}
Requires: e-smith-release
9 years ago
Requires: tt-rss >= 20150629
13 years ago
Requires: smeserver-webapps-common
Requires: smeserver-php-fpm
13 years ago
AutoReqProv: no
%description
smserver integration of TIny Tiny RSS
Tiny Tiny RSS is a feature rich, web based feed reader
13 years ago
%changelog
* Thu Jul 13 2017 Daniel Berteaud <daniel@firewall-services.com> 0.3.0-1.sme
- Switch to php fpm, using PHP 7.1
- Support tt-rss 20170713
9 years ago
* Tue Feb 16 2016 Daniel Berteaud <daniel@firewall-services.com> 0.2.11-1.sme
- Remove SESSION_CHECK_ADDRESS
9 years ago
9 years ago
* Mon Jun 29 2015 Daniel Berteaud <daniel@firewall-services.com> 0.2.9-1.sme
- Adapt templates for 20150629
9 years ago
* Mon Jun 29 2015 Daniel Berteaud <daniel@firewall-services.com> 0.2.10-1.sme
- Adapt conf templates for 20150629
11 years ago
* Tue Apr 22 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.9-1.sme
- Fix basic auth on SME9
11 years ago
* Thu Feb 6 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.8-1.sme
- Fix database upgrades
11 years ago
* Mon Jan 20 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.7-1.sme
- Remove the default Authentication prop (but the default value is still http)
11 years ago
* Wed Dec 18 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.6-1.sme
- Add DETECT_ARTICLE_LANGUAGE, for tt-rss 1.11
- Automatically update database schema when needed
12 years ago
* Wed Jun 12 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.5-1.sme
12 years ago
- Add SMTP_SECURE, for tt-rss 1.8
12 years ago
* Tue May 14 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.4-1.sme
- Support tt-rss 1.7.9
12 years ago
* Sun Mar 24 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.3-1.sme
- update daemon run script to use --daemon argument
12 years ago
* Sat Mar 23 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.2-1.sme
- Add missing SMTP_PORT
* Tue Mar 5 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1.sme
- Support tt-rss 1.7.1
12 years ago
* Wed Nov 14 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1.sme
- Support tt-rss 1.6.1
13 years ago
* Tue Apr 24 2012 Daniel Berteaud <daniel@firewall-services.com> 0.1.0-1.sme
- Migrate to GIT
* Fri Nov 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-8.sme
- Define SELF_URL_PATH in config
- Update config version to 23 (1.5.7)
* Mon Jul 25 2011 Daniel Berteaud <daniel@firewall-services.com> 0.1-7.sme
- Configure cache dir (prevent log noise)
* Tue Jun 07 2011 Daniel B. <daniel@firewall-services.com> 0.1-6.sme
- MySQL schema files are not doc files anymore
* Tue May 17 2011 Daniel B. <daniel@firewall-services.com> 0.1-5
- Deny access to the /schema directory
* Wed Jan 26 2011 Daniel B. <daniel@firewall-services.com> 0.1-4
- Add DB_PORT param in config file
* Wed Jan 26 2011 Daniel B. <daniel@firewall-services.com> 0.1-3
- Support tt-rss 1.5.1
* Mon Jan 03 2011 Daniel B. <daniel@firewall-services.com> 0.1-2
- disable cron job, as feeds are updated via the daemon
* Mon Jan 03 2011 Daniel B. <daniel@firewall-services.com> 0.1-1
- initial release
%prep
%setup
%build
perl ./createlinks
%{__mkdir_p} root/var/log/tt-rss
%{__mkdir_p} root/var/log/php/tt-rss
%{__mkdir_p} root/var/lib/php/tt-rss/{tmp,wsdlcache,opcache,session}
13 years ago
%install
rm -rf $RPM_BUILD_ROOT
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
rm -f %{name}-%{version}-filelist
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
--dir /var/log/php/tt-rss 'attr(0770,root,www)' \
--dir /var/lib/php/tt-rss 'attr(0770,root,www)' \
--dir /var/lib/php/tt-rss/tmp 'attr(0770,root,www)' \
--dir /var/lib/php/tt-rss/session 'attr(0770,root,www)' \
--dir /var/lib/php/tt-rss/wsdlcache 'attr(0770,root,www)' \
--dir /var/lib/php/tt-rss/opcache 'attr(0770,root,www)' \
13 years ago
--file /var/service/tt-rss/run 'attr(0755,root,root)' \
--file /var/service/tt-rss/log/run 'attr(0755,root,root)' \
--dir /var/log/tt-rss 'attr(0770,root,smelog)' \
> %{name}-%{version}-filelist
%files -f %{name}-%{version}-filelist
%defattr(-,root,root)
%clean
rm -rf $RPM_BUILD_ROOT
%postun