From 029c295ff34c3a3a4ca3c4cb06d8f7fb47e7de6d Mon Sep 17 00:00:00 2001 From: Igor Chudov Date: Thu, 21 May 2020 18:20:00 +0400 Subject: [PATCH] Gear rules and ALT specfile added --- .gear/rules | 2 ++ adtool.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 .gear/rules create mode 100644 adtool.spec diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 00000000..92932650 --- /dev/null +++ b/.gear/rules @@ -0,0 +1,2 @@ +tar: . + diff --git a/adtool.spec b/adtool.spec new file mode 100644 index 00000000..eb659a60 --- /dev/null +++ b/adtool.spec @@ -0,0 +1,50 @@ +%define _unpackaged_files_terminate_build 1 + +Name: adtool +Version: 0.1.0 +Release: alt1 + +Summary: AD editor +License: GPLv2+ +Group: Other +Url: https://github.com/altlinuxteam/adtool +BuildArch: x86_64 + +BuildRequires(pre): cmake +BuildRequires(pre): rpm-macros-cmake +BuildRequires(pre): gcc-c++ +BuildRequires(pre): qt5-base-devel + +BuildRequires: openldap-devel +BuildRequires: libsasl2-devel +BuildRequires: qt5-base-common +BuildRequires: doxygen + +Requires: openldap +Requires: libsasl2 +Requires: qt5-base + +Source0: %name-%version.tar + +%description +AD editor + +%prep +%setup -q + +%build +%cmake +%cmake_build VERBOSE=1 + +%install +cd BUILD +%makeinstall_std + +%files +%doc README.md +%_bindir/adtool + +%changelog +* Thu May 21 2020 Igor Chudov 0.1.0-alt1 +- Initial build +