1 |
vip-ire |
1.1 |
%define name smeserver-gitweb-theme |
2 |
|
|
%define version 1.0.0 |
3 |
|
|
%define release 5 |
4 |
|
|
Summary: GitHub inspired look and feel for smeserver-gitweb |
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-theme-%{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 >= 8.0 |
18 |
|
|
Requires: smeserver-gitweb |
19 |
|
|
AutoReqProv: no |
20 |
|
|
|
21 |
|
|
%description |
22 |
|
|
Optional package for use with smeserver-gitweb to enable a more GitHub inspired |
23 |
|
|
theme for gitweb. Based on http://kogakure.github.com/gitweb-theme/ |
24 |
|
|
|
25 |
|
|
%changelog |
26 |
|
|
* Tue Feb 2 2015 Marco Hess <marco.hess@through-ip.com> 1.0.0-4 |
27 |
|
|
- Updated to latest CSS for gitweb-theme. |
28 |
|
|
- Updated icons to latest git types. |
29 |
|
|
- Removed own gitweb.js |
30 |
|
|
|
31 |
|
|
* Mon Jul 23 2012 Marco Hess <marco.hess@through-ip.com> 1.0.0-3 |
32 |
|
|
- initial release |
33 |
|
|
|
34 |
|
|
%prep |
35 |
|
|
%setup |
36 |
|
|
%build |
37 |
|
|
|
38 |
|
|
%install |
39 |
|
|
rm -rf $RPM_BUILD_ROOT |
40 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
41 |
|
|
rm -f %{name}-%{version}-filelist |
42 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
43 |
|
|
|
44 |
|
|
%clean |
45 |
|
|
rm -rf $RPM_BUILD_ROOT |
46 |
|
|
|
47 |
|
|
%post |
48 |
|
|
echo "Expanding gitweb.conf template ..." |
49 |
|
|
/sbin/e-smith/expand-template /etc/gitweb.conf |
50 |
|
|
echo "Expanding web server template ..." |
51 |
|
|
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
52 |
|
|
/etc/rc7.d/S86httpd-e-smith sighup |
53 |
|
|
|
54 |
|
|
%files -f %{name}-%{version}-filelist |
55 |
|
|
%defattr(-,root,root) |