-
Notifications
You must be signed in to change notification settings - Fork 0
/
valum-0.3.spec
76 lines (62 loc) · 1.54 KB
/
valum-0.3.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
Name: valum-0.3
Version: 0.3.13
Release: 1%{?dist}
Summary: Valum is a Web micro-framework written in Vala
Group: Development/Libraries
License: LGPL
URL: https://github.com/valum-framework/valum
Source0: %{url}/archive/v%{version}.tar.gz
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: fcgi-devel
BuildRequires: meson
BuildRequires: ninja-build
%if 0%{?epel}
%else
BuildRequires: python3-sphinx
%endif
BuildRequires: vala
BuildRequires: vala-tools
BuildRequires: valadoc
%description
Valum is a Web micro-framework able to create highly scalable expressive Web
applications or services by taking advantage of machine code execution and
asynchronous I/O.
%package devel
Summary: Build files for Valum
Requires: valum-0.3
%description devel
Provides build files including C header, Vala bindings and GIR introspection
meta-data.
%package doc
Summary: Documentaion for Valum
BuildArch: noarch
%description doc
Provides user and API documentation in HTML and Devhelp formats.
%prep
%autosetup -n valum-%{version}
%build
%meson
%meson_build
%if 0%{?epel}
%meson_build docs/api docs/devhelp
%else
%meson_build docs/en docs/api docs/devhelp
%endif
%install
%meson_install
%check
%meson_test
%files
%doc README.md COPYING
%{_libdir}/*
%exclude %{_libdir}/pkgconfig/*
%files devel
%{_includedir}/*
%{_libdir}/pkgconfig/*
%{_datadir}/vala/*
%files doc
%{_defaultdocdir}/valum-0.3/*
%{_datadir}/devhelp/books/valum-0.3