0 Star 0 Fork 17

openeuler-embedded/libgpg-error

forked from src-openEuler/libgpg-error 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
libgpg-error.spec 3.44 KB
一键复制 编辑 原始数据 按行查看 历史
catherine_56 提交于 2021-03-20 16:16 . split rpm libgpg-error tools
Name: libgpg-error
Version: 1.38
Release: 1
Summary: Library for common error values and messages in GnuPG components.
License: LGPLv2+
URL: https://www.gnupg.org/ftp/gcrypt/libgpg-error
Source0: https://www.gnupg.org/ftp/gcrypt/libgpg-error/%{name}-%{version}.tar.gz
Source1: https://www.gnupg.org/ftp/gcrypt/libgpg-error/%{name}-%{version}.tar.gz.sig
Patch6000: libgpg-error-1.29-multilib.patch
Patch6001: bugfix-corss-build-into-a-seperate-build-dir.patch
Patch6002: bugfix-corss-build-detec-hosts-objdump.patch
BuildRequires: gcc gawk, gettext, autoconf, automake, gettext-devel, libtool, texinfo, gettext-autopoint hostname
%description
The libgpg-error package contains a library that originally defines common error values for all GnuPG components.
Among these are GPG, GPGSM, GPGME, GPG-Agent, libgcrypt, Libksba, DirMngr, Pinentry, SCdaemon.
Because Libgpg-error is a common dependency all GnuPG components, more features will be added to this library.
%package devel
Summary: Development files for libgpg-error
Requires: %{name} = %{version}-%{release} pkgconfig
%description devel
Contains header files and development libraries for libgpg-error.
%package tools
Summary: Tools for libgpg-error
Requires: %{name} = %{version}-%{release} pkgconfig
%description tools
Gpg-error tools for libgpg-error.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
autoreconf -f
sed -i -e 's|^libdir=@libdir@$|libdir=@exec_prefix@/lib|g;s|@GPG_ERROR_CONFIG_HOST@|none|g' src/gpg-error-config.in
sed -i -e '/--variable=host/d' src/gpg-error-config-test.sh.in
sed -i -e 's|sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spec="/lib /usr/lib %{_libdir}|g' configure
%build
%configure --disable-static --disable-rpath --disable-languages
%make_build
%install
%make_install
%delete_la
%find_lang %{name}
%check
make check
%ldconfig_scriptlets
%post devel
[ -f %{_infodir}/gpgrt.info.gz ] && /sbin/install-info %{_infodir}/gpgrt.info.gz %{_infodir}/dir
exit 0
%preun devel
if [ $1 = 0 -a -f %{_infodir}/gpgrt.info.gz ]; then
/sbin/install-info --delete %{_infodir}/gpgrt.info.gz %{_infodir}/dir
fi
exit 0
%files -f %{name}.lang
%defattr(-,root,root)
%license COPYING COPYING.LIB
%doc AUTHORS README NEWS ChangeLog
%{_libdir}/libgpg-error.so.0*
%{_datadir}/libgpg-error
%files tools
%{_bindir}/gpg-error
%files devel
%defattr(-,root,root)
%{_bindir}/*
%{_libdir}/libgpg-error.so
%{_libdir}/pkgconfig/gpg-error.pc
%{_includedir}/gpg*.h
%{_datadir}/aclocal/gpg*.m4
%{_infodir}/gpgrt.info*
%exclude %{_bindir}/gpg-error
%exclude %{_infodir}/dir
%files help
%defattr(-,root,root)
%{_mandir}/*
%changelog
* Sat Aug 29 2020 xiaqirong <xiaqirong1@huawei.com> - 1.38-1
- Type:bugfix
- Id:NA
- SUG:NA
- update to 1.38
* Wed Apr 15 2020 songnannan <songnannan2@huawei.com> - 1.37-1
- Type:bugfix
- Id:NA
- SUG:NA
- update to 1.37
* Tue Jan 14 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.35-3
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:fix gawk error
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.35-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:remove the gpg-error from devel package
* Fri Jan 10 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.35-1
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:updtae to 1.35
* Wed Dec 25 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.31-4
- add Requires
* Thu Sep 14 2019 chenzhenyu <chenzhenyu13@huawei.com> - 1.31-3
- Package init
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openeuler-embedded/libgpg-error.git
git@gitee.com:openeuler-embedded/libgpg-error.git
openeuler-embedded
libgpg-error
libgpg-error
openEuler-embedded

搜索帮助