2006-12-19 00:16:55 +01:00
|
|
|
#
|
2012-02-07 16:29:42 +01:00
|
|
|
# spec file for package libnscd
|
2006-12-19 00:16:55 +01:00
|
|
|
#
|
2023-11-07 09:52:27 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2006-12-19 00:16:55 +01:00
|
|
|
#
|
2009-01-08 18:39:36 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2023-11-07 09:52:27 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2006-12-19 00:16:55 +01:00
|
|
|
#
|
|
|
|
|
2008-04-10 14:31:27 +02:00
|
|
|
|
2006-12-19 00:16:55 +01:00
|
|
|
Name: libnscd
|
2013-07-07 19:41:33 +02:00
|
|
|
%define lname libnscd1
|
2006-12-19 00:16:55 +01:00
|
|
|
Version: 2.0.2
|
2012-02-07 16:29:42 +01:00
|
|
|
Release: 0
|
2006-12-19 00:16:55 +01:00
|
|
|
Summary: Library to Allow Applications to Communicate with nscd
|
2023-11-07 09:52:27 +01:00
|
|
|
License: LGPL-2.1-only
|
2013-07-07 19:41:33 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
|
|
|
Source: http://ftp.suse.com/pub/people/kukuk/libnscd/libnscd-%version.tar.bz2
|
2009-12-26 12:18:35 +01:00
|
|
|
Source2: baselibs.conf
|
2023-11-07 09:52:27 +01:00
|
|
|
Patch0: decls.patch
|
2006-12-19 00:16:55 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-07-07 19:41:33 +02:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libnscd-64bit
|
|
|
|
%endif
|
2006-12-19 00:16:55 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
This library provides an interface for applications to NSCD (Name
|
2011-06-06 11:05:13 +02:00
|
|
|
Service Cache Daemon) and allows those applications, to flush the cache
|
2008-04-10 14:31:27 +02:00
|
|
|
for special services, if they have the necessary permissions.
|
2006-12-19 00:16:55 +01:00
|
|
|
|
2013-07-07 19:41:33 +02:00
|
|
|
%package -n %lname
|
|
|
|
Summary: Library to Allow Applications to Communicate with nscd
|
2017-09-14 08:04:01 +02:00
|
|
|
# O/P added for 13.1
|
2023-11-07 09:52:27 +01:00
|
|
|
License: LGPL-2.1-only
|
2013-07-07 19:41:33 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
Obsoletes: libnscd < %version-%release
|
|
|
|
Provides: libnscd = %version-%release
|
2006-12-19 00:16:55 +01:00
|
|
|
|
2013-07-07 19:41:33 +02:00
|
|
|
%description -n %lname
|
|
|
|
This library provides an interface for applications to NSCD (Name
|
|
|
|
Service Cache Daemon) and allows those applications, to flush the
|
|
|
|
cache for special services, if they have the necessary permissions.
|
2006-12-19 00:16:55 +01:00
|
|
|
|
|
|
|
%package devel
|
2017-09-14 08:04:01 +02:00
|
|
|
Summary: Development files for libnscd
|
2023-11-07 09:52:27 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2006-12-19 00:16:55 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2013-07-07 19:41:33 +02:00
|
|
|
Requires: %lname = %version
|
2009-01-08 18:39:36 +01:00
|
|
|
# bug437293
|
|
|
|
%ifarch ppc64
|
|
|
|
Obsoletes: libnscd-devel-64bit
|
|
|
|
%endif
|
|
|
|
#
|
2006-12-19 00:16:55 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that needs to communicate with a running nscd.
|
|
|
|
|
|
|
|
%prep
|
2024-03-01 10:41:51 +01:00
|
|
|
%autosetup -p1
|
2006-12-19 00:16:55 +01:00
|
|
|
|
|
|
|
%build
|
2017-09-14 08:04:01 +02:00
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
2009-05-15 21:34:27 +02:00
|
|
|
|
|
|
|
%check
|
2006-12-19 00:16:55 +01:00
|
|
|
make check
|
|
|
|
|
|
|
|
%install
|
2017-09-14 08:04:01 +02:00
|
|
|
%make_install
|
2012-02-07 16:29:42 +01:00
|
|
|
rm -fv %{buildroot}%{_libdir}/*.la
|
2006-12-19 00:16:55 +01:00
|
|
|
|
2013-07-07 19:41:33 +02:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
2006-12-19 00:16:55 +01:00
|
|
|
|
2013-07-07 19:41:33 +02:00
|
|
|
%files -n %lname
|
2006-12-19 00:16:55 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING.LIB README NEWS
|
2012-02-07 16:29:42 +01:00
|
|
|
%{_libdir}/libnscd.so.*
|
2006-12-19 00:16:55 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2009-05-15 21:34:27 +02:00
|
|
|
%{_includedir}/*.h
|
2006-12-19 00:16:55 +01:00
|
|
|
%{_libdir}/libnscd.so
|
|
|
|
%{_mandir}/man3/nscd_flush_cache.3*
|
|
|
|
|
2008-04-10 14:31:27 +02:00
|
|
|
%changelog
|