|
|
|
@ -1,22 +1,21 @@
|
|
|
|
|
Name: girara
|
|
|
|
|
Version: 0.2.7
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 0.2.9
|
|
|
|
|
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.gz
|
|
|
|
|
Source0: http://pwmt.org/projects/%{name}/download/%{name}-%{version}.tar.xz
|
|
|
|
|
BuildRequires: binutils
|
|
|
|
|
BuildRequires: coreutils
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: gettext
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
|
|
BuildRequires: pkgconfig(json-c)
|
|
|
|
|
BuildRequires: pkgconfig(libnotify)
|
|
|
|
|
Requires(post): glibc
|
|
|
|
|
Requires(postun): glibc
|
|
|
|
|
BuildRequires: glib2-devel >= 2.50
|
|
|
|
|
BuildRequires: gtk3-devel >= 3.20
|
|
|
|
|
BuildRequires: intltool
|
|
|
|
|
BuildRequires: json-c-devel
|
|
|
|
|
BuildRequires: libnotify-devel
|
|
|
|
|
BuildRequires: meson >= 0.43
|
|
|
|
|
|
|
|
|
|
%global girara_locales lib%{name}-gtk3-3
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Girara is a library that implements a user interface that focuses on simplicity
|
|
|
|
@ -34,31 +33,29 @@ developing applications that use %{name}.
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
CFLAGS='%{optflags}' make %{?_smp_mflags}
|
|
|
|
|
%meson
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make install DESTDIR=%{buildroot} LIBDIR=%{_libdir}
|
|
|
|
|
chmod +x %{buildroot}/%{_libdir}/libgirara-gtk?.so.2.0
|
|
|
|
|
# fcami - I wish upstream used a consistent naming scheme
|
|
|
|
|
%find_lang lib%{name}-gtk3-2
|
|
|
|
|
mv lib%{name}-gtk3-2.lang %{name}.lang
|
|
|
|
|
rm -f %{buildroot}/%{_libdir}/libgirara-gtk?.a
|
|
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
|
|
%meson_install
|
|
|
|
|
%find_lang %{girara_locales}
|
|
|
|
|
|
|
|
|
|
%files -f %{girara_locales}.lang
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc AUTHORS README
|
|
|
|
|
%{_libdir}/libgirara-gtk?.so.*
|
|
|
|
|
%{_libdir}/libgirara-gtk3.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/%{name}/*.h
|
|
|
|
|
%{_libdir}/pkgconfig/girara-gtk?.pc
|
|
|
|
|
%{_libdir}/libgirara-gtk?.so
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
%{_libdir}/pkgconfig/girara-gtk3.pc
|
|
|
|
|
%{_libdir}/libgirara-gtk3.so
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Apr 10 2018 Petr Šabata <contyk@redhat.com> - 0.2.9-1
|
|
|
|
|
- 0.2.9 bump
|
|
|
|
|
- Upstream switches to meson
|
|
|
|
|
- Dropping the ldconfig scriptlets as this is aimed at F28+
|
|
|
|
|
|
|
|
|
|
* Tue Mar 06 2018 Björn Esser <besser82@fedoraproject.org> - 0.2.7-7
|
|
|
|
|
- Rebuilt for libjson-c.so.4 (json-c v0.13.1)
|
|
|
|
|
|
|
|
|
|