Signed-off-by: Petr Šabata <contyk@redhat.com>
epel9
Petr Šabata 7 years ago
parent 6bcd050645
commit c7cf06b30e

1
.gitignore vendored

@ -11,3 +11,4 @@
/girara-0.2.5.tar.gz /girara-0.2.5.tar.gz
/girara-0.2.6.tar.gz /girara-0.2.6.tar.gz
/girara-0.2.7.tar.gz /girara-0.2.7.tar.gz
/girara-0.2.9.tar.xz

@ -1,22 +1,21 @@
Name: girara Name: girara
Version: 0.2.7 Version: 0.2.9
Release: 7%{?dist} Release: 1%{?dist}
Summary: Simple user interface library Summary: Simple user interface library
License: zlib License: zlib
URL: http://pwmt.org/projects/%{name}/ 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: binutils
BuildRequires: coreutils
BuildRequires: gcc BuildRequires: gcc
BuildRequires: gettext BuildRequires: gettext
BuildRequires: make BuildRequires: glib2-devel >= 2.50
BuildRequires: pkgconfig BuildRequires: gtk3-devel >= 3.20
BuildRequires: pkgconfig(glib-2.0) BuildRequires: intltool
BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: json-c-devel
BuildRequires: pkgconfig(json-c) BuildRequires: libnotify-devel
BuildRequires: pkgconfig(libnotify) BuildRequires: meson >= 0.43
Requires(post): glibc
Requires(postun): glibc %global girara_locales lib%{name}-gtk3-3
%description %description
Girara is a library that implements a user interface that focuses on simplicity Girara is a library that implements a user interface that focuses on simplicity
@ -34,31 +33,29 @@ developing applications that use %{name}.
%setup -q %setup -q
%build %build
CFLAGS='%{optflags}' make %{?_smp_mflags} %meson
%meson_build
%install %install
make install DESTDIR=%{buildroot} LIBDIR=%{_libdir} %meson_install
chmod +x %{buildroot}/%{_libdir}/libgirara-gtk?.so.2.0 %find_lang %{girara_locales}
# fcami - I wish upstream used a consistent naming scheme
%find_lang lib%{name}-gtk3-2 %files -f %{girara_locales}.lang
mv lib%{name}-gtk3-2.lang %{name}.lang
rm -f %{buildroot}/%{_libdir}/libgirara-gtk?.a
%files -f %{name}.lang
%license LICENSE %license LICENSE
%doc AUTHORS README %doc AUTHORS README
%{_libdir}/libgirara-gtk?.so.* %{_libdir}/libgirara-gtk3.so.*
%files devel %files devel
%{_includedir}/%{name}/*.h %{_includedir}/%{name}/*.h
%{_libdir}/pkgconfig/girara-gtk?.pc %{_libdir}/pkgconfig/girara-gtk3.pc
%{_libdir}/libgirara-gtk?.so %{_libdir}/libgirara-gtk3.so
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%changelog %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 * 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) - Rebuilt for libjson-c.so.4 (json-c v0.13.1)

@ -1 +1 @@
SHA512 (girara-0.2.7.tar.gz) = 4229565b8a5fad1ecbf42e4f3f852644964a7d5c90154dab9b7dcb5ccd5f25731911452472bbeb28927d1e30d4df6ed066926e11c6a73f0fd5740570493a036f SHA512 (girara-0.2.9.tar.xz) = 2e04d3c436dc79098676652d8d503c82b9c6f75af92e84b32ee5e41bcaaca38d079eebd9c1cb461789cff4461c1bea2f95a868dd4cd09acb708f30a5044e5c87

Loading…
Cancel
Save