1 |
%define name smeserver-git |
%define name smeserver-git |
2 |
%define version 1.2.0 |
%define version 1.2.0 |
3 |
%define release 5 |
%define release 10 |
4 |
Summary: Centralised Git repositories with setup and configuration through SME Server admin panels. |
Summary: Centralised Git repositories with setup and configuration through SME Server admin panels. |
5 |
Name: %{name} |
Name: %{name} |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
Distribution: SME Server |
Distribution: SME Server |
9 |
License: GNU GPL version 2 |
License: GNU GPL version 2 |
10 |
URL: http://www.through-ip.com |
URL: https://wiki.koozali.org/Git |
11 |
Group: SMEserver/addon |
Group: SMEserver/addon |
12 |
Source: smeserver-git-%{version}.tar.gz |
Source: smeserver-git-%{version}.tar.gz |
13 |
Packager: Marco Hess <marco.hess@through-ip.com> |
Packager: Marco Hess <marco.hess@through-ip.com> |
14 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
15 |
BuildRoot: /var/tmp/%{name}-%{version} |
BuildRoot: /var/tmp/%{name}-%{version} |
16 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
17 |
Requires: e-smith-release >= 9.0 |
Requires: e-smith-release >= 10.0 |
18 |
|
Requires: e-smith-apache >= 2.6.0-19 |
19 |
Requires: git |
Requires: git |
20 |
AutoReqProv: no |
AutoReqProv: no |
21 |
Patch1: smeserver-git-1.2.0.bz10464-warn-on-missing-files.patch |
Patch1: smeserver-git-1.2.0.bz10464-warn-on-missing-files.patch |
22 |
Patch2: smeserver-git-1.2.0-Set-debugging-disabled.patch |
Patch2: smeserver-git-1.2.0-Set-debugging-disabled.patch |
23 |
Patch3: smeserver-git-1.2.0-Add-Update-event-to-createlinks.patch |
Patch3: smeserver-git-1.2.0-Add-Update-event-to-createlinks.patch |
24 |
Patch4: smeserver-git-1.2.0-locale-2021-08-22.patch |
Patch4: smeserver-git-1.2.0-locale-2021-08-22.patch |
25 |
|
Patch5: smeserver-git-1.2.0-bz12048-httpd24.patch |
26 |
|
Patch6: smeserver-git-1.2.0-bz11665-debug.patch |
27 |
|
Patch7: smeserver-git-1.2.0-bz12163.patch |
28 |
|
|
29 |
%description |
%description |
30 |
smeserver-git enables centralised git repositories on an SME server and enables |
smeserver-git enables centralised git repositories on an SME server and enables |
33 |
to the repositories based on the existing SME users and groups. The package |
to the repositories based on the existing SME users and groups. The package |
34 |
installs and enables the git server on the current host like in |
installs and enables the git server on the current host like in |
35 |
host.com/git. Repositories are then available as https://host.com/git/gitrepo.git. |
host.com/git. Repositories are then available as https://host.com/git/gitrepo.git. |
36 |
|
Originally brought by Marco Hess http://www.through-ip.com |
37 |
|
|
38 |
%changelog |
%changelog |
39 |
|
* Fri Mar 24 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-10.sme |
40 |
|
- fix not allowing dot in repo name [SME: 12163] |
41 |
|
|
42 |
|
* Fri Mar 24 2023 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-9.sme |
43 |
|
- fix debug loglevel [SME: 11665] |
44 |
|
|
45 |
|
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-8.sme |
46 |
|
- update to httpd 2.4 syntax [SME: 12048] |
47 |
|
fix Argument for 'Require all' must be 'granted' or 'denied' |
48 |
|
|
49 |
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 1.2.0-5.sme |
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 1.2.0-5.sme |
50 |
- apply locale 2021-08-22.patch |
- apply locale 2021-08-22.patch |
51 |
|
|
162 |
%patch2 -p1 |
%patch2 -p1 |
163 |
%patch3 -p1 |
%patch3 -p1 |
164 |
%patch4 -p1 |
%patch4 -p1 |
165 |
|
%patch5 -p1 |
166 |
|
%patch6 -p1 |
167 |
|
%patch7 -p1 |
168 |
|
|
169 |
mkdir -p root/home/e-smith/files/git/ |
mkdir -p root/home/e-smith/files/git/ |
170 |
%build |
%build |