libassuan/libassuan.spec

82 lines
1.8 KiB
RPMSpec
Raw Normal View History

Name: libassuan
Version: 2.5.3
Release: 1
2019-09-30 10:54:52 -04:00
Summary: A small library implementing the so-called Assuan protocal
License: LGPLv2+ and GPLv3+
URL: https://ww.gnupg.org/
Source0: https://gnupg.org/ftp/gcrypt/libassuan/libassuan-%{version}.tar.bz2
Source1: https://gnupg.org/ftp/gcrypt/libassuan/libassuan-%{version}.tar.bz2.sig
Patch0000: libassuan-2.5.2-multilib.patch
Patch0001: libassuan-2.5.3-includedir.patch
2019-09-30 10:54:52 -04:00
BuildRequires: gcc gawk libgpg-error-devel >= 1.8
%description
%{summary},which is used for IPC between most newer GnuPG cmponents,and provides\
\ both server and client sides functions.\
%package devel
Summary: GnuPG IPC library
Provides: libassuan2-devel = %{version}-%{release}
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
2019-09-30 10:54:52 -04:00
%description devel
Provide files which are needed to develop applications using %{name}.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --includedir=%{_includedir}/libassuan2
%make_build
%install
%make_install
rm -fv %{buildroot}%{_infodir}/dir
%delete_la
%check
make check
%ldconfig_scriptlets
%files
%defattr(-,root,root)
%doc AUTHORS
%license COPYING COPYING.LIB
%{_libdir}/libassuan.so.0*
%files devel
%defattr(-,root,root)
%{_bindir}/libassuan-config
%{_includedir}/libassuan2/assuan.*
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/libassuan.pc
2019-09-30 10:54:52 -04:00
%{_datadir}/aclocal/lib*.m4
%{_infodir}/assuan.info*
%files help
%defattr(-,root,root)
%doc ChangeLog NEWS README THANKS TODO
%changelog
* Fri Jul 24 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.5.3-1
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:upgrade to 2.5.3
2020-01-11 18:12:07 +08:00
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 2.5.1-6
- delete uesless info
2019-09-30 10:54:52 -04:00
* Fri Sep 6 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.5.1-5
- Package init