1 |
%define name smeserver-gitweb-theme |
2 |
%define version 1.1.0 |
3 |
%define release 0 |
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 >= 9.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 |
* Fri Jan 30 2015 Marco Hess <marco.hess@through-ip.com> 1.1.0-0 |
27 |
- Package rebuild for SME9 |
28 |
- Updated to latest CSS for gitweb-theme. |
29 |
- Updated icons to latest git types. |
30 |
- Removed own gitweb.js |
31 |
|
32 |
* Mon Jul 23 2012 Marco Hess <marco.hess@through-ip.com> 1.0.0-3 |
33 |
- initial release |
34 |
|
35 |
%prep |
36 |
%setup |
37 |
%build |
38 |
|
39 |
%install |
40 |
rm -rf $RPM_BUILD_ROOT |
41 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
42 |
rm -f %{name}-%{version}-filelist |
43 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
44 |
|
45 |
%clean |
46 |
rm -rf $RPM_BUILD_ROOT |
47 |
|
48 |
%post |
49 |
echo "Expanding gitweb.conf template ..." |
50 |
/sbin/e-smith/expand-template /etc/gitweb.conf |
51 |
echo "Expanding web server template ..." |
52 |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
53 |
/etc/rc7.d/S86httpd-e-smith sighup |
54 |
|
55 |
%files -f %{name}-%{version}-filelist |
56 |
%defattr(-,root,root) |