- add libtool as buildrequire to avoid implicit dependency
OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-ldap?expand=0&rev=21
This commit is contained in:
parent
a880b9fdb2
commit
76c49a11db
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:50c6017e9dcf86aa8366b2fdc7a8debc57672392224ed6beddc41ef27798e4e8
|
||||
size 268851
|
||||
oid sha256:27a872b5bfe883cafdaeb8ea8b1ac771c62877af8c3f1ec68c17a3dcc8768a90
|
||||
size 269897
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 25 12:21:42 UTC 2011 - coolo@suse.com
|
||||
|
||||
- add libtool as buildrequire to avoid implicit dependency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 31 15:42:11 CEST 2011 - jsuchome@suse.cz
|
||||
|
||||
|
@ -1,23 +1,39 @@
|
||||
#
|
||||
# spec file for package yast2-ldap (Version 2.21.1)
|
||||
# spec file for package yast2-ldap
|
||||
#
|
||||
# norootforbuild
|
||||
# Copyright (c) 2011 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.
|
||||
|
||||
Name: yast2-ldap
|
||||
Version: 2.21.1
|
||||
Release: 0
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: yast2-ldap
|
||||
Version: 2.21.1
|
||||
Release: 0
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source0: yast2-ldap-2.21.1.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source0: yast2-ldap-%{version}.tar.bz2
|
||||
|
||||
prefix: /usr
|
||||
|
||||
Group: System/YaST
|
||||
License: GPL v2 or later
|
||||
BuildRequires: gcc-c++ libldapcpp-devel libxcrypt-devel yast2-devtools doxygen yast2-core-devel yast2
|
||||
Summary: YaST2 - LDAP Agent
|
||||
Requires: ldapcpplib yast2
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: libldapcpp-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: libxcrypt-devel
|
||||
BuildRequires: yast2
|
||||
BuildRequires: yast2-core-devel
|
||||
BuildRequires: yast2-devtools
|
||||
Summary: YaST2 - LDAP Agent
|
||||
License: GPL-2.0+
|
||||
Group: System/YaST
|
||||
Requires: ldapcpplib yast2
|
||||
|
||||
%description
|
||||
This agent is used by various YaST2 modules to work with LDAP. It
|
||||
@ -25,31 +41,30 @@ enables searching the LDAP tree and adding/deleting/modifying items on
|
||||
an LDAP server.
|
||||
|
||||
%prep
|
||||
%setup -n yast2-ldap-2.21.1
|
||||
%setup -n yast2-ldap-%{version}
|
||||
|
||||
%build
|
||||
%{prefix}/bin/y2tool y2autoconf
|
||||
%{prefix}/bin/y2tool y2automake
|
||||
%{_prefix}/bin/y2tool y2autoconf
|
||||
%{_prefix}/bin/y2tool y2automake
|
||||
autoreconf --force --install
|
||||
|
||||
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
|
||||
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
|
||||
|
||||
%{?suse_update_config:%{suse_update_config -f}}
|
||||
./configure --libdir=%{_libdir} --prefix=%{prefix} --mandir=%{_mandir}
|
||||
./configure --libdir=%{_libdir} --prefix=%{_prefix} --mandir=%{_mandir}
|
||||
# V=1: verbose build in case we used AM_SILENT_RULES(yes)
|
||||
# so that RPM_OPT_FLAGS check works
|
||||
make %{?jobs:-j%jobs} V=1
|
||||
|
||||
%install
|
||||
make install DESTDIR="$RPM_BUILD_ROOT"
|
||||
[ -e "%{prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK" ] || Y2DIR="$RPM_BUILD_ROOT/usr/share/YaST2" make check DESTDIR="$RPM_BUILD_ROOT"
|
||||
for f in `find $RPM_BUILD_ROOT/%{prefix}/share/applications/YaST2/ -name "*.desktop"` ; do
|
||||
[ -e "%{_prefix}/share/YaST2/data/devtools/NO_MAKE_CHECK" ] || Y2DIR="$RPM_BUILD_ROOT/usr/share/YaST2" make check DESTDIR="$RPM_BUILD_ROOT"
|
||||
for f in `find $RPM_BUILD_ROOT/%{_prefix}/share/applications/YaST2/ -name "*.desktop"` ; do
|
||||
d=${f##*/}
|
||||
%suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop}
|
||||
done
|
||||
|
||||
|
||||
%clean
|
||||
rm -rf "$RPM_BUILD_ROOT"
|
||||
|
||||
@ -60,4 +75,6 @@ rm -rf "$RPM_BUILD_ROOT"
|
||||
%{_libdir}/YaST2/plugin/libpy2ag_ldap.so.*
|
||||
%{_libdir}/YaST2/plugin/libpy2ag_ldap.so
|
||||
%{_libdir}/YaST2/plugin/libpy2ag_ldap.la
|
||||
%doc %{prefix}/share/doc/packages/yast2-ldap
|
||||
%doc %{_prefix}/share/doc/packages/yast2-ldap
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user