adcli/adcli.spec

114 lines
2.8 KiB
RPMSpec
Raw Normal View History

2019-12-25 15:40:56 +08:00
Name: adcli
Version: 0.9.2
Release: 2
2019-12-25 15:40:56 +08:00
Summary: A helper library and tools for Active Directory client operations
Group: Development/Libraries
License: LGPLv2+
2021-07-27 17:36:56 +08:00
URL: https://gitlab.freedesktop.org/realmd/adcli
Source0: https://gitlab.freedesktop.org/realmd/adcli/uploads/ea560656ac921b3fe0d455976aaae9be/adcli-%{version}.tar.gz
2019-12-25 15:40:56 +08:00
BuildRequires: gcc intltool pkgconfig libtool gettext-devel krb5-devel
BuildRequires: openldap-devel libxslt xmlto
2019-12-25 15:40:56 +08:00
Requires: cyrus-sasl-gssapi
Obsoletes: adcli-devel < 0.5
%description
Library of routines for joining a machine to Active Directory (without samba)
and managing machine accounts there. Will probably expand to cover other
AD related tasks as well.
%package help
Summary: Documents for %{name}
Buildarch: noarch
Requires: man info
Provides: %{name}-doc = %{version}-%{release}
Obsoletes: %{name}-doc < %{version}-%{release}
%description help
Man page and other related documents for %{name}.
%prep
%autosetup -n %{name}-%{version} -p1
2019-12-25 15:40:56 +08:00
%build
autoreconf -f -i -v
%configure --disable-static --disable-silent-rules
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
%make_install
%check
make check ||:
2019-12-25 15:40:56 +08:00
%pre
%preun
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%license COPYING AUTHORS
%doc ChangeLog
%{_sbindir}/adcli
%files help
%defattr(-,root,root)
%doc NEWS README
%doc %{_datadir}/*
2022-05-06 15:31:36 +08:00
%exclude %{_datadir}/licenses/%{name}/COPYING
%exclude %{_datadir}/licenses/%{name}/AUTHORS
%exclude %{_datadir}/doc/%{name}/ChangeLog
2019-12-25 15:40:56 +08:00
%doc %{_mandir}/man8/*
%changelog
* Wed Mar 6 2024 guojunding <guojunding@kylinos.cn> - 0.9.2-2
- continue to build when test-case(test-adenroll) failed
* Thu Oct 20 2022 yixiangzhike <yixiangzhike007@163.com> - 0.9.2-1
- update to 0.9.2
2022-05-06 15:31:36 +08:00
* Fri May 6 2022 yixiangzhike <yixiangzhike007@163.com> - 0.9.1-4
- delete duplicate files from adcli-help
* Thu Aug 12 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.9.1-3
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Tue Aug 10 2021 yixiangzhike <zhangxingliang3@huawei.com> - 0.9.1-2
- fix the compilation failure with new version glibc
2021-07-27 17:36:56 +08:00
* Tue Jul 27 2021 fuanan <fuanan3@huawei.com> - 0.9.1-1
- update to 0.9.1
2020-07-23 16:49:56 +08:00
* Thu Jul 23 2020 Liquor <lirui130@huawei.com> - 0.9.0-1
- update to 0.9.0
2019-12-25 15:40:56 +08:00
* Wed Oct 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.2-6
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: change the directory of AUTHORS
* Fri Sep 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.2-5
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:move the license
* Tue Sep 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.2-4
- Type:enhancement
- ID:NA
- SUG:NA
- DESC: revise spec file with new rules
* Mon Aug 12 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.8.2-3
- Package init