[libntlm/f19: 2/3] New version with cleanup.
Christopher Meng
cicku at fedoraproject.org
Mon Aug 26 03:07:35 UTC 2013
commit dee12b4f18564a2bfd99d5f93457b7f84a49aea7
Author: Koji <koji at fedoraproject.org>
Date: Mon Aug 26 11:05:47 2013 +0800
New version with cleanup.
.gitignore | 1 +
libntlm.spec | 53 +++++++++++++++++++++--------------------------------
sources | 2 +-
3 files changed, 23 insertions(+), 33 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 3faa576..37dc8fb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
libntlm-1.2.tar.gz
/libntlm-1.3.tar.gz
+/libntlm-1.4.tar.gz
diff --git a/libntlm.spec b/libntlm.spec
index 951a3d7..ca0c7ae 100644
--- a/libntlm.spec
+++ b/libntlm.spec
@@ -1,15 +1,12 @@
Name: libntlm
-Version: 1.3
-Release: 5%{?dist}
-Summary: NTLM authentication library
-
-Group: System Environment/Libraries
+Version: 1.4
+Release: 1%{?dist}
+Summary: NTLMv1 authentication library
License: LGPLv2+
-URL: http://nongnu.org/libntlm/
+URL: http://nongnu.org/libntlm
Source0: http://nongnu.org/libntlm/releases/%{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
BuildRequires: pkgconfig
+Provides: bundled(gnulib)
%description
A library for authenticating with Microsoft NTLM challenge-response,
@@ -17,54 +14,46 @@ derived from Samba sources.
%package devel
Summary: Development files for %{name}
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-Requires: pkgconfig
+Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
-
%prep
%setup -q
-
%build
%configure --disable-static
make %{?_smp_mflags}
-
-
+NTLM
%install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT
-touch -r NEWS $RPM_BUILD_ROOT%{_includedir}/ntlm.h
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
+make install DESTDIR=%{buildroot}
+touch -r %{buildroot}%{_includedir}/ntlm.h
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
-
%files
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING README THANKS
-%{_libdir}/libntlm.so.*
+%doc AUTHORS ChangeLog COPYING README THANKS
+%{_libdir}/%{name}.so.*
%files devel
-%defattr(-,root,root,-)
%doc COPYING
%{_includedir}/ntlm.h
-%{_libdir}/libntlm.so
-%{_libdir}/pkgconfig/libntlm.pc
-
+%{_libdir}/%{name}.so
+%{_libdir}/pkgconfig/%{name}.pc
%changelog
+* Mon Aug 26 2013 Christopher Meng <rpm at cicku.me> - 1.4-1
+- New release(BZ#1000496).
+- Add gnulib virtual provides(BZ#821770).
+- Add AArch64 support(BZ#925829).
+- Devel package explicit arch requires.
+- Correct summary as it only supports V1 protocol.
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 785db93..92d127d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-fd2419e4d1b7b70244c56c285e2a37a0 libntlm-1.3.tar.gz
+54793488450e9085c57e0d859ff3bc8c libntlm-1.4.tar.gz
More information about the scm-commits
mailing list