|
|
|
@ -1,19 +1,23 @@
@@ -1,19 +1,23 @@
|
|
|
|
|
Name: girara |
|
|
|
|
Version: 0.3.1 |
|
|
|
|
Version: 0.3.2 |
|
|
|
|
Release: 1%{?dist} |
|
|
|
|
Summary: Simple user interface library |
|
|
|
|
License: zlib |
|
|
|
|
URL: http://pwmt.org/projects/%{name}/ |
|
|
|
|
Source0: http://pwmt.org/projects/%{name}/download/%{name}-%{version}.tar.xz |
|
|
|
|
BuildRequires: binutils |
|
|
|
|
BuildRequires: doxygen |
|
|
|
|
BuildRequires: gcc |
|
|
|
|
BuildRequires: gettext |
|
|
|
|
BuildRequires: glib2-devel >= 2.50 |
|
|
|
|
BuildRequires: gtk3-devel >= 3.20 |
|
|
|
|
BuildRequires: intltool |
|
|
|
|
#BuildRequires: json-c-devel |
|
|
|
|
BuildRequires: libnotify-devel |
|
|
|
|
BuildRequires: json-c-devel |
|
|
|
|
BuildRequires: libnotify-devel >= 0.7.0 |
|
|
|
|
BuildRequires: meson >= 0.43 |
|
|
|
|
BuildRequires: pango-devel >= 1.14 |
|
|
|
|
# Tests |
|
|
|
|
BuildRequires: check-devel |
|
|
|
|
|
|
|
|
|
%global girara_locales lib%{name}-gtk3-3 |
|
|
|
|
|
|
|
|
@ -31,11 +35,14 @@ developing applications that use %{name}.
@@ -31,11 +35,14 @@ developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q |
|
|
|
|
sed -i "s/subdir('doc')//" meson.build |
|
|
|
|
sed -i "s/subdir('tests')//" meson.build |
|
|
|
|
sed 's|#include <sys/types.h>|#include <sys/types.h>\n#include <pwd.h>|' -i girara/utils.c |
|
|
|
|
#sed 's|#include <stdio.h>|#define _GNU_SOURCE\n#include <stdio.h>|' -i girara/utils.h |
|
|
|
|
sed 's|#include <stdio.h>|#define _XOPEN_SOURCE 700\n#include <stdio.h>|' -i girara/utils.h |
|
|
|
|
sed "s|subdir('tests')||" -i meson.build |
|
|
|
|
sed "s|'-Werror=implicit-function-declaration',||" -i meson.build |
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
%meson |
|
|
|
|
%meson -Dnotify=enabled |
|
|
|
|
%meson_build |
|
|
|
|
|
|
|
|
|
%install |
|
|
|
@ -53,6 +60,11 @@ sed -i "s/subdir('tests')//" meson.build
@@ -53,6 +60,11 @@ sed -i "s/subdir('tests')//" meson.build
|
|
|
|
|
%{_libdir}/libgirara-gtk3.so |
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
|
* Mon Jan 14 2019 Petr Šabata <contyk@redhat.com> - 0.3.2-1 |
|
|
|
|
- 0.3.2 bump |
|
|
|
|
- Enabling libnotify support |
|
|
|
|
- Based on Ankur Sinha's PR, https://src.fedoraproject.org/rpms/girara/pull-request/1 |
|
|
|
|
|
|
|
|
|
* Fri Nov 16 2018 Petr Šabata <contyk@redhat.com> - 0.3.1-1 |
|
|
|
|
- 0.3.1 bump |
|
|
|
|
|
|
|
|
|