diff options
author | Simo Sorce <simo@redhat.com> | 2013-10-14 17:19:52 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-10-17 01:26:03 -0400 |
commit | 3b20e312154f3ef09100b7613f26b2e89e47870f (patch) | |
tree | 6d93d08614936bb2a9c8b2d0e35099d9959ae129 | |
parent | 1f9b13b222239bc855606794735b0159b18cd305 (diff) | |
download | gss-ntlmssp-3b20e312154f3ef09100b7613f26b2e89e47870f.tar.gz gss-ntlmssp-3b20e312154f3ef09100b7613f26b2e89e47870f.tar.xz gss-ntlmssp-3b20e312154f3ef09100b7613f26b2e89e47870f.zip |
Streamline spec file.
Fixes as requested by Fedora review
-rw-r--r-- | contrib/gssntlmssp.spec.in | 32 |
1 files changed, 10 insertions, 22 deletions
diff --git a/contrib/gssntlmssp.spec.in b/contrib/gssntlmssp.spec.in index 9f91ee6..1d46360 100644 --- a/contrib/gssntlmssp.spec.in +++ b/contrib/gssntlmssp.spec.in @@ -4,18 +4,11 @@ Release: 0@PRERELEASE_VERSION@%{?dist} Summary: GSSAPI NTLMSSP Mechanism Group: System Environment/Libraries -License: MIT +License: LGPLv3+ URL: http://ssimo.org/code/gss-ntlmssp Source0: http://ssimo.org/code/gss-ntlmssp/%{name}-%{version}.tar.gz -BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) -### Patches ### - -### Dependencies ### - -Requires: krb5-libs >= 1.11.2 - -### Build Dependencies ### +Requires: krb5-libs.%{?_isa} >= 1.11.2 BuildRequires: autoconf BuildRequires: automake @@ -28,7 +21,6 @@ BuildRequires: doxygen BuildRequires: gettext-devel BuildRequires: pkgconfig BuildRequires: krb5-devel >= 1.11.2 -BuildRequires: findutils BuildRequires: libunistring-devel BuildRequires: openssl-devel @@ -39,32 +31,28 @@ A GSSAPI Mechanism that implements NTLMSSP %prep %setup -q - %build -autoreconf -f -i +autoreconf -fiv %configure \ --disable-static \ --disable-rpath make %{?_smp_mflags} all -make test_gssntlmssp %install -rm -rf %{buildroot} -make install DESTDIR=%{buildroot} +%make_install rm -f %{buildroot}%{_libdir}/gssntlmssp/gssntlmssp.la install -d -m755 %{buildroot}%{_sysconfdir}/gss -install -m644 examples/mech.ntlmssp %{buildroot}%{_sysconfdir}/gss/mech.ntlmssp - -%clean -rm -rf %{buildroot} +install -pm644 examples/mech.ntlmssp %{buildroot}%{_sysconfdir}/gss/mech.ntlmssp +%check +make test_gssntlmssp %files -%defattr(-,root,root,-) -%attr(0644,root,root) %config(noreplace) /%{_sysconfdir}/gss/mech.ntlmssp -%{_libdir}/gssntlmssp/gssntlmssp.so +%config(noreplace) %{_sysconfdir}/gss/mech.ntlmssp +%{_libdir}/gssntlmssp/ %{_mandir}/man8/gssntlmssp.8* +%doc COPYING %changelog * Sat Jun 22 2013 Simo Sorce <simo@samba.org> - @PACKAGE_VERSION@-0@PRERELEASE_VERSION@ |