feat: create gear package

This commit is contained in:
Михаил Чернигин 2023-09-13 15:43:43 +04:00
parent e5ade76871
commit 6ce1913687
Signed by: cherniginma
GPG Key ID: 42ED11B71604A422
3 changed files with 42 additions and 0 deletions

39
.gear/baselib.spec Normal file
View File

@ -0,0 +1,39 @@
%define _unpackaged_files_terminate_build 1
Name: baselib
Version: 0.0.1
Release: alt1
Summary: Common BaseALT projects library.
License: GPLv2+
Group: Other
Url: https://github.com/mchernigin/baselib
BuildRequires(pre): rpm-macros-cmake
BuildRequires: gcc-c++ cmake cmake-modules
BuildRequires: qt5-base-common qt5-base-devel qt5-declarative-devel qt5-tools-devel
Source0: %name-%version.tar
%description
Common BaseALT projects library
%prep
%setup -q
%build
%cmake
%cmake_build
%install
%cmakeinstall_std
%files
%_includedir/%name/
%_libdir/libbaselib.so
%_libdir/libbaselib.so.0.0.1
%_libdir/libbaselib.so.1
%changelog
* Wed Sep 13 2023 Michael Chernigin <chernigin@altlinux.org> 0.0.1-alt1
- Initial build

2
.gear/rules Normal file
View File

@ -0,0 +1,2 @@
tar: .
spec: .gear/baselib.spec

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
.*
!.gitignore
!.gear
build
install