Jan Engelhardt 2012-06-19 10:04:45 +00:00 committed by Git OBS Bridge
parent 356e5aa9af
commit 111cf12fa3
2 changed files with 27 additions and 20 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Jun 19 10:04:23 UTC 2012 - jengelh@inai.de
- Make package build on SLE_11 as well: use classic make install.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Nov 25 01:04:06 UTC 2011 - jengelh@medozas.de Fri Nov 25 01:04:06 UTC 2011 - jengelh@medozas.de

View File

@ -1,7 +1,7 @@
# #
# spec file for package libntlm # spec file for package libntlm
# #
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -15,29 +15,31 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
Name: libntlm Name: libntlm
%define lname libntlm0 %define lname libntlm0
Version: 1.3 Version: 1.3
Release: 0 Release: 0
License: LGPL-2.1+
Summary: Implementation of Microsoft's NTLM authentication Summary: Implementation of Microsoft's NTLM authentication
URL: http://www.nongnu.org/libntlm/ License: LGPL-2.1+
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Url: http://www.nongnu.org/libntlm/
#DL-URL: http://www.nongnu.org/libntlm/releases/ #DL-URL: http://www.nongnu.org/libntlm/releases/
Source: %name-%version.tar.xz Source: %name-%version.tar.xz
BuildRequires: pkgconfig, xz BuildRequires: pkgconfig
BuildRoot: %_tmppath/%name-%version-build BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
Libntlm is a library that implements Microsoft's NTLM authentication. libntlm is a library that implements Microsoft's NTLM authentication.
%package -n %lname %package -n %lname
Summary: Implementation of Microsoft's NTLM authentication Summary: Implementation of Microsoft's NTLM authentication
Group: System/Libraries Group: System/Libraries
%description -n %lname %description -n %lname
Libntlm is a library that implements Microsoft's NTLM authentication. libntlm is a library that implements Microsoft's NTLM authentication.
%package devel %package devel
Summary: Development files for Libntlm Summary: Development files for Libntlm
@ -45,7 +47,7 @@ Group: Development/Libraries/C and C++
Requires: %lname = %version Requires: %lname = %version
%description devel %description devel
Libntlm is a library that implements Microsoft's NTLM authentication. libntlm is a library that implements Microsoft's NTLM authentication.
%prep %prep
%setup -q %setup -q
@ -55,7 +57,7 @@ Libntlm is a library that implements Microsoft's NTLM authentication.
make %{?_smp_mflags}; make %{?_smp_mflags};
%install %install
%make_install make install DESTDIR="%buildroot";
rm -f "%buildroot/%_libdir"/*.la; rm -f "%buildroot/%_libdir"/*.la;
%post -n %lname -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig