summaryrefslogtreecommitdiffstats
path: root/subprojects/libhandy/data/packaging/rpm/libhandy.spec
blob: 739b751eb36312d859993f593607ffa086a92f58 (plain)
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
%global _vpath_srcdir %{name}

Name:    libhandy
Version: 0.90.0
Release: 1%{?dist}
Summary: A library full of GTK widgets for mobile phones

License: LGPLv2+
Url:     https://gitlab.gnome.org/GNOME/libhandy
Source0: https://gitlab.gnome.org/GNOME/libhandy/archive/master.tar.gz

BuildRequires: gcc
BuildRequires: gobject-introspection
BuildRequires: gtk-doc
BuildRequires: meson >= 0.40.1
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gladeui-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconf-pkg-config
BuildRequires: vala

%description
%{summary}.

%package devel
Summary: Development libraries, headers, and documentation for %{name}
Requires: libhandy = %{version}-%{release}

%description devel
%{summary}.

%prep
%setup -c -q

%build
%meson -Dexamples=false -Dgtk_doc=true
%meson_build

%install
%meson_install

%files
%{_libdir}/libhandy*.so.*
%{_libdir}/girepository-1.0/Handy*.typelib

%files devel
%{_includedir}/libhandy*
%{_libdir}/libhandy*.so
%{_libdir}/pkgconfig/libhandy*.pc
%{_datadir}/gir-1.0/Handy*.gir
%{_datadir}/glade/catalogs/libhandy.xml
%{_datadir}/vala/vapi/libhandy*.deps
%{_datadir}/vala/vapi/libhandy*.vapi
%{_datadir}/gtk-doc

%changelog
* Fri May 18 2018 Julian Richen <julian@richen.io> - 0.0.0-1
- Update to 0.0.0-1