-
Notifications
You must be signed in to change notification settings - Fork 18
/
i3ipc-glib.spec
55 lines (42 loc) · 988 Bytes
/
i3ipc-glib.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
Summary: A C interface library to i3wm
Name: i3ipc-glib
Version: 1.0.1
Release: 1%{?dist}
Source0: %{name}-%{version}.tar.gz
License: GPL v3
URL: https://github.com/altdesktop/i3ipc-glib
BuildRequires: libtool
BuildRequires: libX11-devel
BuildRequires: libxcb-devel
BuildRequires: gobject-introspection-devel
BuildRequires: glib2-devel
BuildRequires: json-glib-devel
BuildRequires: gtk-doc
%if 0%{?suse_version} >= 1500
Requires: libxcb1
Requires: libjson-glib-1_0-0
Requires: libglib-2_0-0
%else
Requires: libxcb
Requires: json-glib
Requires: glib2
%endif
Requires: gobject-introspection
%description
A C interface library to i3wm.
%prep
%setup -q
%build
./autogen.sh --prefix=%{_prefix} --libdir=%{_libdir}
make
%install
%make_install
%files
%doc COPYING
%doc README.md
%{_includedir}/i3ipc-glib/i3ipc*.h
%{_libdir}/girepository-1.0/i3ipc-1.0.typelib
%{_libdir}/libi3ipc-glib-1.0.*
%{_libdir}/pkgconfig/i3ipc-glib-1.0.pc
%{_datadir}/gir-1.0/i3ipc-1.0.gir
%changelog