/[smecontribs]/rpms/smeserver-gitweb/contribs8/smeserver-gitweb.spec
ViewVC logotype

Annotation of /rpms/smeserver-gitweb/contribs8/smeserver-gitweb.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (hide annotations) (download)
Fri Jun 10 15:09:38 2016 UTC (8 years, 4 months ago) by unnilennium
Branch: MAIN
Changes since 1.2: +10 -1 lines
* Fri Jun 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-16.sme
-  fix short url to repo not working  [SME: 9202]

1 vip-ire 1.1 %define name smeserver-gitweb
2     %define version 1.0.0
3 unnilennium 1.3 %define release 16
4 vip-ire 1.1 Summary: GitWeb is a web based Git repository viewer on SME Server
5     Name: %{name}
6     Version: %{version}
7     Release: %{release}%{?dist}
8     Distribution: SME Server
9     License: GNU GPL version 2
10     URL: http://www.through-ip.com
11     Group: SMEserver/addon
12     Source: smeserver-gitweb-%{version}.tar.gz
13 unnilennium 1.2 Patch1: smeserver-gitweb-1.1.0-remove_unused_linefeed_from_auth_error.patch
14     Patch2: smeserver-gitweb-1.1.0-remove_runtime_access_to_networks_db.patch
15     patch3: smeserver-gitweb-1.1.0-runtime_search_for_pwauth.patch
16 unnilennium 1.3 Patch4: smeserver-gitweb-1.0.0-defineURI.patch
17 vip-ire 1.1 Packager: Marco Hess <marco.hess@through-ip.com>
18     BuildArchitectures: noarch
19     BuildRoot: /var/tmp/%{name}-%{version}
20     BuildRequires: e-smith-devtools
21     Requires: e-smith-release >= 8.0
22     Requires: smeserver-git
23     Requires: gitweb
24     Requires: highlight
25     AutoReqProv: no
26    
27     %description
28     HTTP access to https://git.host.com provides a gitweb view of the repositories.
29    
30     %changelog
31 unnilennium 1.3 * Fri Jun 10 2016 Jean-Philipe Pialasse <tests@pialasse.com> 1.0.0-16.sme
32     - fix short url to repo not working [SME: 9202]
33    
34 unnilennium 1.2 * Thu Feb 18 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-4
35     - backport SME9 changes [SME: 9217]
36     - Removed chmod 644 /home/e-smith/db/networks from spec file as
37     it is no longer required for gitweb.conf
38     - Changed the trypass function in 60ExportAuthHook to dynamically
39     check for the location of pwauth so this becomes universal for
40     SME8 and SME9.
41     - Remove runtime access to NetworkDB [SME: 9217]
42     - Some trailing whitespace cleanup
43    
44 vip-ire 1.1 * Tue Feb 2 2015 Marco Hess <marco.hess@through-ip.com> 1.0.0-15
45     - pwauth is in /usr/lib/httpd/modules/pwauth for this SME.
46    
47     * Tue Feb 2 2015 Marco Hess <marco.hess@through-ip.com> 1.0.0-14
48     - Fixed test in user authorisation check for perl 5.8.
49    
50     * Tue Feb 2 2015 Marco Hess <marco.hess@through-ip.com> 1.0.0-13
51     - Backport changes from 1.1.
52     - Fixed user authorisation for repositories viewable from internet
53    
54     * Fri Jan 24 2014 Marco Hess <marco.hess@through-ip.com> 1.0.0-12
55     - Added support for displaying a clone URL.
56    
57     * Mon Jul 23 2012 Marco Hess <marco.hess@through-ip.com> 1.0.0-3
58     - Setup default config parameters for gitweb as a service
59     - Removed HTTP template as this is shared with smeserver-git
60     - Added require on gitweb rpm
61    
62     * Sun Jun 17 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-2
63     - Remove all smeserver-git related files in order to split the packages
64    
65     * Sun Apr 29 2012 Marco Hess <marco.hess@through-ip.com> 1.0.0-1
66     - initial release
67    
68     %prep
69     %setup
70 unnilennium 1.3 %patch1 -p1
71     %patch2 -p1
72     %patch3 -p1
73     %patch4 -p1
74    
75 vip-ire 1.1 %build
76    
77     %install
78     rm -rf $RPM_BUILD_ROOT
79     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
80     rm -f %{name}-%{version}-filelist
81     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
82    
83     %clean
84     rm -rf $RPM_BUILD_ROOT
85    
86     %post
87     echo "Ensuring git database is accessible to GitWeb ..."
88     touch /home/e-smith/db/git
89     chmod 644 /home/e-smith/db/git
90 unnilennium 1.2 #echo "Ensuring networks database is accessible to GitWeb ..."
91     #chmod 644 /home/e-smith/db/networks
92 vip-ire 1.1 echo "Expanding gitweb.conf template ..."
93     /sbin/e-smith/expand-template /etc/gitweb.conf
94     echo "Expanding GitWeb home page text template ..."
95     /sbin/e-smith/expand-template /etc/e-smith/web/common/gitweb/home_text.html
96     echo "Expanding web server template ..."
97     /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
98     /etc/rc7.d/S86httpd-e-smith sighup
99    
100     %files -f %{name}-%{version}-filelist
101     %defattr(-,root,root)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed