2006-12-20 10:31:21 +01:00
|
|
|
#
|
2011-07-19 14:09:42 +02:00
|
|
|
# spec file for package yast2-users
|
2010-02-18 17:17:19 +01:00
|
|
|
#
|
2013-01-17 14:29:09 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2011-07-19 14:09:42 +02: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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2010-02-26 14:48:29 +01:00
|
|
|
|
2011-07-19 14:09:42 +02:00
|
|
|
Name: yast2-users
|
2013-02-06 16:22:31 +01:00
|
|
|
Version: 2.23.3
|
2011-09-22 11:05:04 +02:00
|
|
|
Release: 0
|
2010-02-26 14:48:29 +01:00
|
|
|
|
2011-07-19 14:09:42 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2011-09-26 16:04:47 +02:00
|
|
|
Source0: yast2-users-%{version}.tar.bz2
|
2010-02-26 14:48:29 +01:00
|
|
|
|
2012-03-29 16:26:47 +02:00
|
|
|
BuildRequires: cracklib-devel
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libtool
|
|
|
|
BuildRequires: perl-Digest-SHA1
|
|
|
|
BuildRequires: perl-XML-Writer
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: yast2
|
|
|
|
BuildRequires: yast2-core-devel
|
|
|
|
BuildRequires: yast2-devtools
|
|
|
|
BuildRequires: yast2-ldap-client
|
|
|
|
BuildRequires: yast2-perl-bindings
|
|
|
|
BuildRequires: yast2-security
|
|
|
|
BuildRequires: yast2-testsuite
|
|
|
|
|
|
|
|
Requires: cracklib
|
|
|
|
Requires: perl-Digest-SHA1
|
|
|
|
Requires: perl-X500-DN
|
|
|
|
Requires: perl-gettext
|
|
|
|
Requires: yast2-country
|
|
|
|
Requires: yast2-pam
|
|
|
|
Requires: yast2-security
|
|
|
|
Obsoletes: y2c_users
|
|
|
|
Obsoletes: y2t_inst-user
|
|
|
|
Obsoletes: y2t_users
|
|
|
|
Obsoletes: yast2-config-users
|
|
|
|
Obsoletes: yast2-trans-inst-user
|
|
|
|
Obsoletes: yast2-trans-users
|
|
|
|
Provides: y2c_users
|
|
|
|
Provides: y2t_inst-user
|
|
|
|
Provides: y2t_users
|
|
|
|
Provides: yast2-config-users
|
|
|
|
Provides: yast2-trans-inst-user
|
|
|
|
Provides: yast2-trans-users
|
2008-02-15 10:55:08 +01:00
|
|
|
|
2009-02-09 18:01:36 +01:00
|
|
|
# y2usernote, y2useritem
|
2011-07-19 14:09:42 +02:00
|
|
|
Requires: yast2-perl-bindings >= 2.18.0
|
2010-02-26 14:48:29 +01:00
|
|
|
|
2008-08-04 12:36:48 +02:00
|
|
|
# this forces using yast2-ldap with orrect LDAP object names (fate#303596)
|
2011-07-19 14:09:42 +02:00
|
|
|
Requires: yast2-ldap-client >= 2.17.1
|
2010-02-26 14:48:29 +01:00
|
|
|
|
2012-10-22 15:06:36 +02:00
|
|
|
# Syslog.ycp
|
|
|
|
Requires: yast2 >= 2.23.7
|
2011-04-05 11:06:20 +02:00
|
|
|
# cryptsha256, cryptsha516
|
|
|
|
Requires: yast2-core >= 2.21.0
|
|
|
|
|
2011-07-19 14:09:42 +02:00
|
|
|
Summary: YaST2 - User and Group Configuration
|
2012-03-29 16:26:47 +02:00
|
|
|
License: GPL-2.0
|
|
|
|
Group: System/YaST
|
2006-12-20 10:31:21 +01:00
|
|
|
|
|
|
|
%description
|
2008-08-04 12:36:48 +02:00
|
|
|
This package provides GUI for maintenance of linux users and groups.
|
2006-12-20 10:31:21 +01:00
|
|
|
|
|
|
|
%prep
|
2011-09-26 16:04:47 +02:00
|
|
|
%setup -n yast2-users-%{version}
|
2006-12-20 10:31:21 +01:00
|
|
|
|
|
|
|
%build
|
2011-10-24 13:04:07 +02:00
|
|
|
%{_prefix}/bin/y2tool y2autoconf
|
|
|
|
%{_prefix}/bin/y2tool y2automake
|
2006-12-20 10:31:21 +01:00
|
|
|
autoreconf --force --install
|
2010-02-26 14:48:29 +01:00
|
|
|
|
2006-12-20 10:31:21 +01:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
|
|
|
|
export CXXFLAGS="$RPM_OPT_FLAGS -DNDEBUG"
|
2010-02-26 14:48:29 +01:00
|
|
|
|
2011-10-24 13:04:07 +02:00
|
|
|
./configure --libdir=%{_libdir} --prefix=%{_prefix} --mandir=%{_mandir}
|
2009-06-29 17:23:16 +02:00
|
|
|
# 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
|
2006-12-20 10:31:21 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR="$RPM_BUILD_ROOT"
|
2011-10-24 13:04:07 +02:00
|
|
|
[ -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
|
2006-12-20 10:31:21 +01:00
|
|
|
d=${f##*/}
|
|
|
|
%suse_update_desktop_file -d ycc_${d%.desktop} ${d%.desktop}
|
|
|
|
done
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf "$RPM_BUILD_ROOT"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir /usr/share/YaST2/include/users
|
|
|
|
%dir /usr/share/YaST2/modules/YaPI
|
|
|
|
/usr/share/YaST2/clients/*.ycp
|
2011-10-24 13:04:07 +02:00
|
|
|
%{_prefix}/share/applications/YaST2/*.desktop
|
2006-12-20 10:31:21 +01:00
|
|
|
/usr/share/YaST2/modules/*.pm
|
|
|
|
/usr/share/YaST2/modules/UsersUI.y*
|
2009-09-17 00:29:48 +02:00
|
|
|
/usr/share/YaST2/modules/YaPI/*.pm
|
2006-12-20 10:31:21 +01:00
|
|
|
/usr/share/YaST2/include/users/*
|
|
|
|
/usr/share/YaST2/schema/autoyast/rnc/users.rnc
|
|
|
|
#agents:
|
|
|
|
/usr/share/YaST2/scrconf/*.scr
|
|
|
|
/usr/lib/YaST2/servers_non_y2/ag_nis
|
|
|
|
/usr/lib/YaST2/servers_non_y2/ag_uid
|
|
|
|
%{_libdir}/YaST2/plugin/libpy2ag_crack.so.*
|
|
|
|
%{_libdir}/YaST2/plugin/libpy2ag_crack.so
|
|
|
|
%{_libdir}/YaST2/plugin/libpy2ag_crack.la
|
2011-10-24 13:04:07 +02:00
|
|
|
%doc %{_prefix}/share/doc/packages/yast2-users
|
2011-09-22 11:05:04 +02:00
|
|
|
|
2011-07-19 14:09:42 +02:00
|
|
|
%changelog
|