1 |
# $Id$ |
2 |
# Authority: dungog |
3 |
# Name: Stephen Noble |
4 |
|
5 |
Summary: Social Bookmarks, scuttle installed in /opt/scuttle |
6 |
%define name scuttle |
7 |
Name: %{name} |
8 |
%define version 0.7.2 |
9 |
%define release 1 |
10 |
Version: %{version} |
11 |
Release: %{release}%{?dist} |
12 |
License: GPL |
13 |
URL: http://www.dungog.net/sme |
14 |
Group: SMEserver/addon |
15 |
Source: %{name}-%{version}.tar.gz |
16 |
BuildArchitectures: noarch |
17 |
BuildRoot: /var/tmp/%{name}-%{version} |
18 |
Requires: e-smith-release >= 7.0 |
19 |
BuildRequires: e-smith-devtools |
20 |
AutoReqProv: no |
21 |
|
22 |
%description |
23 |
scuttle.org/wiki |
24 |
Scuttle is a web-based social bookmarks manager that enables you to: |
25 |
*Store all your favourite links in one place, accessible from anywhere. |
26 |
*Share your bookmarks with everyone, with friends or just keep them private. |
27 |
*Tag your bookmarks with as many labels, instead of wrestling with folders. |
28 |
|
29 |
|
30 |
%changelog |
31 |
* Tue Nov 28 2006 Stephen Noble <support@dungog.net> |
32 |
- initial release |
33 |
- [0.7.2-1] |
34 |
|
35 |
%prep |
36 |
%setup |
37 |
|
38 |
%build |
39 |
#touch root/opt/scuttle/settings.php |
40 |
|
41 |
%install |
42 |
rm -rf $RPM_BUILD_ROOT |
43 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
44 |
rm -f %{name}-%{version}-filelist |
45 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
46 |
--dir '/opt/scuttle/cache' 'attr(777,www,www)' \ |
47 |
> %{name}-%{version}-filelist |
48 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
49 |
|
50 |
%clean |
51 |
cd .. |
52 |
rm -rf %{name}-%{version} |
53 |
|
54 |
%pre |
55 |
|
56 |
%preun |
57 |
%post |
58 |
%postun |
59 |
|
60 |
%files -f %{name}-%{version}-filelist |
61 |
%defattr(-,root,root) |
62 |
|