/[smeserver]/rpms/smeserver-samba/sme9/smeserver-samba.spec
ViewVC logotype

Annotation of /rpms/smeserver-samba/sme9/smeserver-samba.spec

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


Revision 1.1 - (hide annotations) (download)
Sun Feb 15 15:35:03 2015 UTC (9 years, 8 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-samba-0_1_0-1_el6_sme
Initial import of smeserver-samba

1 vip-ire 1.1 Summary: SME Server specific Samba configuration files and templates
2     %define name smeserver-samba
3     Name: %{name}
4     %define version 0.1.0
5     %define release 1
6     Version: %{version}
7     Release: %{release}%{?dist}
8     License: GPL
9     Group: Networking/Daemons
10     Source: %{name}-%{version}.tgz
11     Obsoletes: e-smith-netlogon
12     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
13     BuildArchitectures: noarch
14    
15     ##Obsolete e-smith-samba
16     Provides: e-smith-samba
17     Obsoletes: e-smith-samba
18     ##Obsolete e-smith-ldap
19     Obsoletes: e-smith-ldap
20     Provides: e-smith-ldap
21    
22     BuildRequires: e-smith-devtools >= 1.13.1-03
23     Requires: e-smith-lib >= 2.2.0-2
24     Requires: e-smith-formmagick >= 1.4.0-9
25     Requires: e-smith-LPRng >= 2.4.0-2
26     Requires: sernet-samba >= 4.1.12
27     Requires: sernet-samba-ad >= 4.1.12
28     Requires: sernet-samba-client >= 4.1.12
29     Requires: sernet-samba-common >= 4.1.12
30     Requires: sernet-samba-libs >= 4.1.12
31     Requires: sernet-samba-libsmbclient0 >= 4.1.12
32     Requires: sernet-samba-winbind >= 4.1.12
33     Obsoletes: samba3x
34     Obsoletes: samba3x-client
35     Obsoletes: samba3x-common
36     Obsoletes: samba3x-winbind
37     Obsoletes: libsmbclient <= 3.0.33
38     # Obsolete SerNet packages
39     Obsoletes: libsmbclient0
40     Obsoletes: libwbclient0
41     Obsoletes: samba3
42     Obsoletes: samba3-cifsmount
43     Obsoletes: samba3-client
44     Obsoletes: samba3-doc
45     Obsoletes: samba3-utils
46     Obsoletes: samba3-winbind
47     Requires: /usr/bin/tdbbackup
48     AutoReqProv: no
49    
50     %changelog
51     * Thu Feb 12 2015 Greg Zartman <gzartman@koozali.org> 0.1.0-1
52     - Roll new smeserver alpha package for Samba4 [SME:8075]
53    
54    
55     %description
56     Configuration files and templates for Samba 4 services.
57    
58     %prep
59     %setup
60    
61     %build
62     perl createlinks
63    
64     %install
65     rm -rf $RPM_BUILD_ROOT
66     (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
67     /sbin/e-smith/genfilelist \
68     --dir '/var/service/smb' 'attr(1755,root,root)' \
69     --file '/var/service/smb/down' 'attr(0644,root,root)' \
70     --file '/var/service/smb/run' 'attr(0755,root,root)' \
71     --dir '/var/service/smb/supervise' 'attr(0700,root,root)' \
72     --dir '/var/service/smb/log' 'attr(1755,root,root)' \
73     --file '/var/service/smb/log/run' 'attr(0755,root,root)' \
74     --file '/sbin/e-smith/samba_check_password' 'attr(0555,root,root)' \
75     $RPM_BUILD_ROOT \
76     > %{name}-%{version}-filelist
77     echo "%doc COPYING" >> %{name}-%{version}-filelist
78    
79     %clean
80     rm -rf $RPM_BUILD_ROOT
81    
82     %post
83     rm -rf /var/service/nmbd
84     rm -rf /var/service/smbd
85     rm -rf /var/log/nmbd
86     rm -rf /var/log/smbd
87    
88     %files -f %{name}-%{version}-filelist
89     %defattr(-,root,root)

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