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

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

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


Revision 1.2 - (hide annotations) (download)
Thu Feb 11 02:54:17 2016 UTC (8 years, 9 months ago) by marcohess
Branch: MAIN
CVS Tags: smeserver-gitweb-1_1_0-1_el6_sme
Changes since 1.1: +6 -1 lines
* Thu Feb 11 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-1
- Remove unused line feeds from auth_error messages [SME: 9217]

1 vip-ire 1.1 %define name smeserver-gitweb
2     %define version 1.1.0
3 marcohess 1.2 %define release 1
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     Packager: Marco Hess <marco.hess@through-ip.com>
14     BuildArchitectures: noarch
15     BuildRoot: /var/tmp/%{name}-%{version}
16     BuildRequires: e-smith-devtools
17     Requires: e-smith-release >= 9.0
18     Requires: smeserver-git
19     Requires: gitweb
20     Requires: highlight
21     AutoReqProv: no
22 marcohess 1.2 Patch1: smeserver-gitweb-1.1.0-remove_unused_linefeed_from_auth_error.patch
23 vip-ire 1.1
24     %description
25     HTTP access to https://git.host.com provides a gitweb view of the repositories.
26    
27     %changelog
28 marcohess 1.2 * Thu Feb 11 2016 Marco Hess <marco.hess@through-ip.com> 1.1.0-1
29     - Remove unused line feeds from auth_error messages [SME: 9217]
30    
31 vip-ire 1.1 * Fri Jan 30 2015 Marco Hess <marco.hess@through-ip.com> 1.1.0-0
32     - Split spec package to version 1.1 for SME9
33     - Fixed user authorisation for repositories viewable from internet
34    
35     * Fri Jan 24 2014 Marco Hess <marco.hess@through-ip.com> 1.0.0-12
36     - Added support for displaying a clone URL.
37    
38     * Mon Jul 23 2012 Marco Hess <marco.hess@through-ip.com> 1.0.0-3
39     - Setup default config parameters for gitweb as a service
40     - Removed HTTP template as this is shared with smeserver-git
41     - Added require on gitweb rpm
42    
43     * Sun Jun 17 2012 Jonathan Martens <smeserver-contribs@snetram.nl> 1.0.0-2
44     - Remove all smeserver-git related files in order to split the packages
45    
46     * Sun Apr 29 2012 Marco Hess <marco.hess@through-ip.com> 1.0.0-1
47     - initial release
48    
49     %prep
50     %setup
51 marcohess 1.2 %patch1 -p1
52 vip-ire 1.1 %build
53    
54     %install
55     rm -rf $RPM_BUILD_ROOT
56     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
57     rm -f %{name}-%{version}-filelist
58     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
59    
60     %clean
61     rm -rf $RPM_BUILD_ROOT
62    
63     %post
64     echo "Ensuring git database is accessible to GitWeb ..."
65     touch /home/e-smith/db/git
66     chmod 644 /home/e-smith/db/git
67     echo "Ensuring networks database is accessible to GitWeb ..."
68     chmod 644 /home/e-smith/db/networks
69     echo "Expanding gitweb.conf template ..."
70     /sbin/e-smith/expand-template /etc/gitweb.conf
71     echo "Expanding GitWeb home page text template ..."
72     /sbin/e-smith/expand-template /etc/e-smith/web/common/gitweb/home_text.html
73     echo "Expanding web server template ..."
74     /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
75     /etc/rc7.d/S86httpd-e-smith sighup
76    
77     %files -f %{name}-%{version}-filelist
78     %defattr(-,root,root)

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