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