mech_eap.spec: new redhat packaging
[mech_eap.git] / mech_eap.spec.in
1 Name:           moonshot-gss-eap
2 Version:        @VERSION@
3 Release:        1%{?dist}
4 Summary:        Moonshot GSS-API Mechanism
5
6 Group:          Security Tools
7 License:        BSD
8 URL:            http://www.project-moonshot.org/
9 Source0:        mech_eap-%{version}.tar.gz
10 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
11
12 BuildRequires:   krb5-libs >= 1.9.1
13 BuildRequires:   moonshot-ui-devel
14 Requires:       moonshot-ui
15
16 %description
17 Project Moonshot provides federated access management.
18
19
20 %prep
21 %setup -q -n mech_eap-%{version}
22
23
24 %build
25 %configure --disable-acceptor --with-libmoonshot=%{_prefix} --with-krb5=%{_prefix}
26 make %{?_smp_mflags}
27
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 make install DESTDIR=$RPM_BUILD_ROOT
32
33
34 %clean
35 rm -rf $RPM_BUILD_ROOT
36
37
38 %files
39 %defattr(-,root,root,-)
40 %doc mech_eap/README
41 %{_libdir}/gss/mech_eap.so
42 %exclude %{_libdir}/gss/mech_eap.la
43 %{_includedir}/gssapi/*.h
44
45
46
47
48 %changelog