Compare commits

...

7 Commits

Author SHA1 Message Date
Daniel Berteaud bc1bafac87 Automatic commit of package [smeserver-dokuwiki] release [0.2.2-1].
Created by command:

/usr/bin/tito tag
2018-01-22 12:15:44 +01:00
Daniel Berteaud a8f0dffe0e Fix permissions on plugin dir 2018-01-22 12:15:31 +01:00
Daniel Berteaud 86fdefbde6 Automatic commit of package [smeserver-dokuwiki] release [0.2.1-1].
Created by command:

/usr/bin/tito tag
2017-11-19 11:08:55 +01:00
Daniel Berteaud 2eac50ae7c Prepare spec file for tito 2017-11-19 11:08:43 +01:00
Daniel Berteaud 31e24819fd Configure tito 2017-11-19 11:08:07 +01:00
Daniel Berteaud 56a73d9c17 Initialized to use tito. 2017-11-19 11:07:27 +01:00
Daniel Berteaud 6c42871330 Spec file update 2017-07-26 17:52:15 +02:00
5 changed files with 27 additions and 9 deletions

3
.tito/packages/.readme Normal file
View File

@ -0,0 +1,3 @@
the .tito/packages directory contains metadata files
named after their packages. Each file has the latest tagged
version and the project's relative directory.

View File

@ -0,0 +1 @@
0.2.2-1 ./

1
.tito/releasers.conf Symbolic link
View File

@ -0,0 +1 @@
../../tito_libs/releasers.conf

6
.tito/tito.props Normal file
View File

@ -0,0 +1,6 @@
[buildconfig]
builder = tito.builder.Builder
tagger = tito.tagger.VersionTagger
changelog_do_not_remove_cherrypick = 0
changelog_format = %s (%ae)
lib_dir = ../tito_libs

View File

@ -1,13 +1,9 @@
# Authority: vip-ire
# Name: Daniel Berteaud
%define phpversion 71
%define name smeserver-dokuwiki
%define version 0.1.7
%define release 1
Summary: sme server integration of dokuwiki
Name: %{name}
Version: %{version}
Release: %{release}%{?dist}
Name: smeserver-dokuwiki
Version: 0.2.2
Release: 1%{?dist}
License: GNU GPL
URL: http://www.splitbrain.org/projects/dokuwiki
Group: SMEserver/addon
@ -26,6 +22,15 @@ smserver integration of dokuwiki
DokuWiki is a simple to use Wiki aimed at the documentation needs of a small company
%changelog
* Mon Jan 22 2018 Daniel Berteaud <daniel@firewall-services.com> 0.2.2-1
- Fix permissions on plugin dir (daniel@firewall-services.com)
* Sun Nov 19 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.1-1
- new package built with tito
* Fri Jul 14 2017 Daniel Berteaud <daniel@firewall-services.com> 0.2.0-1
- Switch to php 71 using FastCGI and FPM is available
* Wed Mar 15 2017 Daniel Berteaud <daniel@firewall-services.com> 0.1.7-1
- Add /dev/urandom to open_basedir, needed since 2017-02-19
@ -61,8 +66,9 @@ DokuWiki is a simple to use Wiki aimed at the documentation needs of a small com
%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/php/dokuwiki
%{__mkdir_p} root/var/lib/php/dokuwiki/{tmp,session,opcache
%{__mkdir_p} root/var/lib/php/dokuwiki/{tmp,session,opcache}
%install
rm -rf $RPM_BUILD_ROOT
@ -74,6 +80,7 @@ rm -f %{name}-%{version}-filelist
--dir /var/lib/php/dokuwiki/tmp 'attr(0770,root,www)' \
--dir /var/lib/php/dokuwiki/opcache 'attr(0770,root,www)' \
--dir /var/lib/php/dokuwiki/session 'attr(0770,root,www)' \
--dir /usr/share/dokuwiki/lib/plugins 'attr(0755,www,www)' \
> %{name}-%{version}-filelist
%files -f %{name}-%{version}-filelist