Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:aiges:nss_db
nss_updatedb
nss_updatedb.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nss_updatedb.spec of Package nss_updatedb
# # spec file for package nss_updatedb (Version 1) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Summary: NSS update DB tool Name: nss_updatedb Version: 10 Release: 3.5 Source: http://www.padl.com/download/%{name}.tgz Patch2: nss_updatedb-updatedb.h.in.patch URL: http://www.padl.com/ License: GPL Group: Productivity/Networking/Other BuildRoot: %{_tmppath}/%{name}-%{version}-build #Requires: libnss_db2 BuildRequires: gzip make pam-modules tar gcc glibc-devel binutils db-devel #Obsoletes: nss_updatedb %define _localstatedir /var/cache/nss_db %description The nss_updatedb utility maintains a local cache of network directory user and group information. Used in conjunction with the pam_ccreds module, it provides a mechanism for disconnected use of network directories. These tools are designed to work with pam_ldap and nss_ldap, also available from PADL. %prep %setup -q # updatedb.h.in patch to modify DBDIR by $(localstatedir) during configure %patch2 #cp $RPM_SOURCE_DIR/nss_updatedb-updatedb.h.in updatedb.h.in echo %suse_version %build aclocal automake -a libtoolize -f autoconf CFLAGS="$RPM_OPT_FLAGS" \ CPPFLAGS="" \ ./configure --prefix=%{_prefix} --libdir=/%{_lib} --mandir=%{_mandir} --localstatedir=%{_localstatedir} make %install make install-strip DESTDIR=$RPM_BUILD_ROOT %if %suse_version <= 1010 gzip $RPM_BUILD_ROOT/%{_mandir}/man8/nss_updatedb.8 %endif %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %attr(0755,root,root) %{_sbindir}/nss_updatedb %doc AUTHORS COPYING README ChangeLog %doc %{_mandir}/man8/nss_updatedb.8.gz %changelog -n nss_updatedb * Mon Sep 21 2009 - zimmerschied@aiges.de - rename man file for older SuSE versions like SLE 10 * Tue Sep 10 2009 - zimmerschied@aiges.de - added updatedb.h.in: define DBDIR by localstatedir variable * Wed Sep 09 2009 - zimmerschied@aiges.de - initial version of this spec copied from opensuse buildservice home:stevenharms
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor