!2 初始化仓库
From: @wangtaozhi Reviewed-by: @tangjie02 Signed-off-by: @tangjie02
This commit is contained in:
commit
3aed5ebb7c
BIN
girara-0.4.0.tar.xz
Normal file
BIN
girara-0.4.0.tar.xz
Normal file
Binary file not shown.
69
girara.spec
Normal file
69
girara.spec
Normal file
@ -0,0 +1,69 @@
|
||||
Name: girara
|
||||
Version: 0.4.0
|
||||
Release: 1%{?dist}
|
||||
Summary: Simple user interface library
|
||||
License: Zlib
|
||||
URL: https://pwmt.org/projects/%{name}/
|
||||
Source0: https://pwmt.org/projects/%{name}/download/%{name}-%{version}.tar.xz
|
||||
|
||||
#BuildRequires: binutils
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gettext
|
||||
BuildRequires: glib2-devel >= 2.50
|
||||
BuildRequires: gtk3-devel >= 3.20
|
||||
BuildRequires: intltool
|
||||
BuildRequires: meson >= 0.56
|
||||
BuildRequires: pango-devel >= 1.14
|
||||
BuildRequires: pkgconfig(json-glib-1.0)
|
||||
# Tests
|
||||
BuildRequires: pkgconfig(check) >= 0.11
|
||||
|
||||
# from Upstream: Mark girara_libnotify as deprecated
|
||||
#BuildRequires: libnotify-devel >= 0.7.0
|
||||
|
||||
|
||||
%global girara_locales lib%{name}-gtk3-3
|
||||
|
||||
%description
|
||||
Girara is a library that implements a user interface that focuses on simplicity
|
||||
and minimalism.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%meson -Ddocs=disabled -Dtests=enabled
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%meson_install
|
||||
%find_lang %{girara_locales}
|
||||
|
||||
%check
|
||||
%meson_test
|
||||
|
||||
|
||||
%files -f %{girara_locales}.lang
|
||||
%license LICENSE
|
||||
%doc AUTHORS README.md
|
||||
%{_libdir}/libgirara-gtk3.so.*
|
||||
|
||||
%files devel
|
||||
%dir %{_includedir}/%{name}
|
||||
%{_includedir}/%{name}/*.h
|
||||
%{_libdir}/pkgconfig/girara-gtk3.pc
|
||||
%{_libdir}/libgirara-gtk3.so
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed May 17 2023 wangtaozhi <wangtaozhi@kylinsec.com.cn> - 0.4.0-1
|
||||
- Package init
|
||||
4
girara.yaml
Normal file
4
girara.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: girara
|
||||
tag_prefix: "v"
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user