|
|
|
@ -5,7 +5,7 @@
@@ -5,7 +5,7 @@
|
|
|
|
|
%define gitea_logdir /var/log/gitea/ |
|
|
|
|
|
|
|
|
|
Name : gitea |
|
|
|
|
Version : 1.14.2 |
|
|
|
|
Version : 1.14.5 |
|
|
|
|
Release : 1%{dist} |
|
|
|
|
License : MIT |
|
|
|
|
URL : http://gitea.io |
|
|
|
@ -62,10 +62,7 @@ sed -i 's|^TEMP_PATH = data/tmp/uploads$|TEMP_PATH = /var/lib/gitea/data/tmp/upl
@@ -62,10 +62,7 @@ sed -i 's|^TEMP_PATH = data/tmp/uploads$|TEMP_PATH = /var/lib/gitea/data/tmp/upl
|
|
|
|
|
install -p -D -m 0644 %{SOURCE0} %{buildroot}%{_unitdir}/gitea.service |
|
|
|
|
mkdir -p %{buildroot}/%{gitea_home}/conf/ |
|
|
|
|
install -p -D -m 0644 src/github.com/go-gitea/gitea/custom/conf/app.example.ini %{buildroot}%{gitea_home}/conf/app.ini |
|
|
|
|
cp -r src/github.com/go-gitea/gitea/options/locale %{buildroot}%{gitea_home}/conf/ |
|
|
|
|
cp -r src/github.com/go-gitea/gitea/options/license %{buildroot}%{gitea_home}/conf/ |
|
|
|
|
cp -r src/github.com/go-gitea/gitea/options/label %{buildroot}%{gitea_home}/conf/ |
|
|
|
|
cp -r src/github.com/go-gitea/gitea/options/readme %{buildroot}%{gitea_home}/conf/ |
|
|
|
|
cp -r src/github.com/go-gitea/gitea/options/ %{buildroot}%{gitea_home}/ |
|
|
|
|
install -p -D -m 0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/logrotate.d/gitea |
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/%{name}/templates/default/ |
|
|
|
|
cp -r src/github.com/go-gitea/gitea/templates %{buildroot}%{_datadir}/%{name}/templates/default/ |
|
|
|
@ -97,10 +94,11 @@ exit 0
@@ -97,10 +94,11 @@ exit 0
|
|
|
|
|
|
|
|
|
|
%files |
|
|
|
|
%config(noreplace) %{gitea_home}/conf/app.ini |
|
|
|
|
%{gitea_home}/conf/locale/* |
|
|
|
|
%{gitea_home}/conf/license/* |
|
|
|
|
%{gitea_home}/conf/label/* |
|
|
|
|
%{gitea_home}/conf/readme/* |
|
|
|
|
%{gitea_home}/options/locale/* |
|
|
|
|
%{gitea_home}/options/license/* |
|
|
|
|
%{gitea_home}/options/label/* |
|
|
|
|
%{gitea_home}/options/readme/* |
|
|
|
|
%{gitea_home}/options/gitignore/* |
|
|
|
|
%{_sysconfdir}/logrotate.d/%{name} |
|
|
|
|
%{_bindir}/gitea |
|
|
|
|
%{_unitdir}/gitea.service |
|
|
|
|