/[smecontribs]/rpms/smeserver-shared-folders/contribs7/smeserver-shared-folders.spec
ViewVC logotype

Contents of /rpms/smeserver-shared-folders/contribs7/smeserver-shared-folders.spec

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


Revision 1.1 - (show annotations) (download)
Sun May 3 14:23:26 2009 UTC (15 years, 6 months ago) by slords
Branch: MAIN
Initial import of smeserver-shared-folders

1 # $Id: e-smith-shared-folders.spec,v 1.0 2009/04/08 20:02:28 VIP-ire Exp $
2
3 Summary: sme server shared folders module
4 %define name smeserver-shared-folders
5 Name: %{name}
6 %define version 0.1
7 %define release 0.beta3
8 Version: %{version}
9 Release: %{release}%{?dist}
10 License: GPL
11 Group: Networking/Daemons
12 Source: %{name}-%{version}.tar.gz
13
14 Patch0: smeserver-shared-folders-0.1-maxShareNameLength.patch
15 Patch1: smeserver-shared-folders-0.1-add_acl_in_fstab.patch
16
17 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
18 BuildArchitectures: noarch
19 Requires: e-smith-base >= 4.13.15-76
20 Requires: perl(CGI::FormMagick)
21 Requires: e-smith-formmagick >= 1.4.0-12
22
23 Requires: acl
24 BuildRequires: perl
25 BuildRequires: e-smith-devtools >= 1.11.0-03
26
27
28 %description
29 This module allows you to create network shares (only samba is supported for now)
30 with more flexibility than ibay as it supports ACLs
31
32 %changelog
33 * Tue Apr 28 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta3]
34 - Add acl option in fstab via the template system
35 (just like usrquota and grpquota)
36
37 * Thu Apr 16 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta2]
38 - Rename spec file
39
40 * Wed Apr 08 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta1]
41 - Rename maxIbayNameLength to maxShareNameLength
42
43 * Wed Apr 08 2009 Daniel B. <daniel@firewall-services.com> [0.1-0.beta0]
44 - Initial release.
45
46 %prep
47 %setup
48
49 %patch0 -p1
50 %patch1 -p1
51
52 %pre
53 %post
54
55 %build
56 # Force creation of potentially empty directories
57 mkdir -p root/etc/e-smith/web/{common,functions}
58 mkdir -p root/etc/e-smith/web/panels/manager/{cgi-bin,common,html}
59 mkdir -p root/home/e-smith/files/shares
60
61 perl createlinks
62
63 %install
64 rm -rf $RPM_BUILD_ROOT
65 (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
66 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
67 > %{name}-%{version}-%{release}-filelist
68 echo "%doc COPYING" >> %{name}-%{version}-%{release}-filelist
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %files -f %{name}-%{version}-%{release}-filelist
74 %defattr(-,root,root)

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