smeserver-tt-rss/smeserver-tt-rss.spec

156 lines
5.1 KiB
RPMSpec
Raw Normal View History

%define name smeserver-tt-rss
%define version 0.5.0
2024-09-08 09:59:18 +02:00
%define release 5
%define phpversion 74
Summary: sme server integration of tt-rss
Name: %{name}
Version: %{version}
Epoch: 9
Release: %{release}%{?dist}
License: GNU GPL version 2
URL: http://www.zabbix.com/
Group: SMEserver/addon
Source: %{name}-%{version}.tar.xz
BuildArchitectures: noarch
2024-09-08 09:59:18 +02:00
BuildRequires: smeserver-devtools
BuildRoot: /var/tmp/%{name}-%{version}
2024-09-08 09:59:18 +02:00
Requires: smeserver-base
Requires: smeserver-release >= 10.0
Requires: smeserver-apache >= 2.6.0-19
Requires: smeserver-php >= 3.0.0-43
Requires: tt-rss >= 20211029
AutoReqProv: no
%description
smserver integration of TIny Tiny RSS
Tiny Tiny RSS is a feature rich, web based feed reader
%prep
%setup
%build
perl ./createlinks
find root/ -type f | xargs grep -l __PHP_VERSION__ | xargs sed -i -e "s/__PHP_VERSION__/%{phpversion}/g"
%{__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}
%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)' \
--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
%changelog
2024-09-08 09:59:18 +02:00
* Sun Sep 08 2024 fix-e-smith-pkg.sh by Trevor Batley <trevor@batley.id.au> 0.5.0-5.sme
- Fix e-smith references in smeserver-tt-rss [SME: 12732]
* Sat Sep 07 2024 cvs2git.sh aka Brian Read <brianr@koozali.org> 0.5.0-4.sme
- Roll up patches and move to git repo [SME: 12338]
* Sat Sep 07 2024 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
by assuming the date is correct and changing the weekday.
* Thu Jun 30 2022 Michel Begue <mab974@misouk.com> 0.5.0-3.sme
- update to httpd 2.4 syntax [SME: 12062]
* Sun Nov 21 2021 Michel Begue <mab974@misouk.com> 0.5.0-2.sme
- Fix log file not fed
* Mon Nov 1 2021 Michel Begue <mab974@misouk.com> 0.5.0-1.sme
- First import to sme 10
- systemd, update event & php-fpm
- Support tt-rss 20211029
* 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
* Tue Feb 16 2016 Daniel Berteaud <daniel@firewall-services.com> 0.2.11-1.sme
- Remove SESSION_CHECK_ADDRESS
* Mon Jun 29 2015 Daniel Berteaud <daniel@firewall-services.com> 0.2.9-1.sme
- Adapt templates for 20150629
* Mon Jun 29 2015 Daniel Berteaud <daniel@firewall-services.com> 0.2.10-1.sme
- Adapt conf templates for 20150629
* Tue Apr 22 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.9-1.sme
- Fix basic auth on SME9
* Thu Feb 6 2014 Daniel Berteaud <daniel@firewall-services.com> 0.2.8-1.sme
- Fix database upgrades
* 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)
* 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
* Wed Jun 12 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.5-1.sme
- Add SMTP_SECURE, for tt-rss 1.8
* Tue May 14 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.4-1.sme
- Support tt-rss 1.7.9
* Sun Mar 24 2013 Daniel Berteaud <daniel@firewall-services.com> 0.2.3-1.sme
- update daemon run script to use --daemon argument
* 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
* Wed Nov 14 2012 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1.sme
- Support tt-rss 1.6.1
* 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