1 Star 0 Fork 7

yixiangzhike/yp-tools

forked from src-openEuler/yp-tools 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
yp-tools.spec 1.57 KB
一键复制 编辑 原始数据 按行查看 历史
dogsheng 提交于 2019-12-13 16:16 . Package init
%global __filter_GLIBC_PRIVATE 1
Name: yp-tools
Version: 4.2.3
Release: 4
Summary: Network Information Service (YP) client utilities
License: GPLv2
URL: http://www.linux-nis.org/nis/yp-tools/index.html
Source0: https://github.com/thkukuk/yp-tools/archive/v%{version}.tar.gz
Patch0: yp-tools-2.12-hash.patch
Patch1: yp-tools-2.12-crypt.patch
Patch2: yp-tools-2.12-adjunct.patch
Patch3: yp-tools-4.2.2-strict-prototypes.patch
BuildRequires: git autoconf automake libtool
BuildRequires: gettext-devel libtirpc-devel libnsl2-devel
Requires: ypbind >= 3:2.4-2 glibc
%description
This package provides NIS client programs.NIS,Network Information
Service,provides passwords,groupinformation and other network information
to machines on a network.It is also known as Sun Yellow Pages.
You need to install ypbind on machine which runs NIS programs.
%package help
Summary: Doc files for yp-tools
Buildarch: noarch
%description help
The help package contains doc files for yp-tools.
%prep
%autosetup -n %{name}-%{version} -p1 -S git
autoreconf -ifv
%build
export CFLAGS="$CFLAGS %{optflags} -Wno-cast-function-type"
%configure --disable-domainname
%make_build
%install
%make_install
%find_lang %{name}
%files -f %{name}.lang
%doc COPYING AUTHORS THANKS etc/nsswitch.conf
%{_sbindir}/*
%{_bindir}/*
/var/yp/nicknames
%files help
%doc README NEWS ChangeLog
%{_mandir}/*/*
%changelog
* Thu Nov 7 2019 openEuler Buildteam <[email protected]> - 4.2.3-4
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:modify the release
* Fri Aug 30 2019 luhuaxin <[email protected]> - 4.2.3-3
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yixiangzhike/yp-tools.git
[email protected]:yixiangzhike/yp-tools.git
yixiangzhike
yp-tools
yp-tools
master

搜索帮助