Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.2
ldapcpplib
ldapcpplib.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ldapcpplib.spec of Package ldapcpplib
# # spec file for package ldapcpplib (Version 0.1.2) # # 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 Name: ldapcpplib BuildRequires: doxygen gcc-c++ openldap2-devel License: BSD 3-clause (or similar) ; OpenLDAP Public License 2.7 Group: Development/Libraries/C and C++ Summary: C++ API for LDAPv3 Version: 0.1.2 Release: 3 Source: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Patch: ldapcpplib-0.1.2-gcc44.patch Patch1: ldifreader-errormsg.dif %description C++ API for LDAPv3. Documentation is in /usr/share/doc/packages/ldapcpplib/srcdoc. Authors: -------- Ralf Haferkamp <rhafer@suse.de> %package -n libldapcpp1 License: BSD 3-clause (or similar) ; OpenLDAP Public License 2.7 Summary: C++ API for LDAPv3 AutoReqProv: on Provides: ldapcpplib = %{version}-%{release} Obsoletes: ldapcpplib <= 0.0.5 Group: Development/Libraries/C and C++ %description -n libldapcpp1 This package provides a C++ library for accessing LDAP (Version 3) Servers Authors: -------- Ralf Haferkamp <rhafer@suse.de> %package -n libldapcpp-devel License: BSD 3-clause (or similar) ; OpenLDAP Public License 2.7 Summary: Files for Developing libldapcpp Applications AutoReqProv: on Provides: ldapcpplib-devel = %{version} Obsoletes: ldapcpplib-devel <= 0.0.5 Requires: libldapcpp1 = %{version} openldap2-devel libstdc++-devel Group: Development/Libraries/C and C++ %description -n libldapcpp-devel This package contains files needed for development with the LDAP C++ library. Authors: -------- Ralf Haferkamp <rhafer@suse.de> %prep %setup -q %patch %patch1 %build export CFLAGS="$RPM_OPT_FLAGS" export CXXFLAGS="$RPM_OPT_FLAGS" %{?suse_update_config:%{suse_update_config -l -f build}} autoreconf -fiv %configure --disable-static --with-pic \ --enable-shared --with-libldap=%{_libdir} \ --with-ldap-includes=/usr/include make CXXFLAGS="$RPM_OPT_FLAGS" %{?jobs:-j%jobs} rm -rf srcdoc/CVS doxygen doxygen.rc %install make DESTDIR=$RPM_BUILD_ROOT install install -d $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/html install -m644 srcdoc/html/* $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/html/ install -m644 LICENSE $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/LICENSE install -m644 README $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/README install -m644 COPYRIGHT $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/COPYRIGHT %{__rm} -f %{buildroot}%{_libdir}/*.la %post -n libldapcpp1 -p /sbin/ldconfig %postun -n libldapcpp1 -p /sbin/ldconfig %files -n libldapcpp1 %defattr(-,root,root) %{_libdir}/libldapcpp.so.* %files -n libldapcpp-devel %defattr(-,root,root) /usr/include/Ldif*.h /usr/include/LDAP*.h /usr/include/Sasl*.h /usr/include/StringList.h %{_libdir}/libldapcpp.so %{_defaultdocdir}/%{name}/html %dir %{_defaultdocdir}/%{name} %{_defaultdocdir}/%{name}/LICENSE %{_defaultdocdir}/%{name}/README %{_defaultdocdir}/%{name}/COPYRIGHT %changelog
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