Update to 0.7.8
- Switch to the meson build system
This commit is contained in:
parent
4869759abf
commit
50f7fe7479
@ -1,19 +1,21 @@
|
||||
%define glib2_version 2.26.0
|
||||
|
||||
Name: libnotify
|
||||
Version: 0.7.7
|
||||
Release: 7%{?dist}
|
||||
Version: 0.7.8
|
||||
Release: 1%{?dist}
|
||||
Summary: Desktop notification library
|
||||
|
||||
License: LGPLv2+
|
||||
URL: http://www.gnome.org
|
||||
Source0: http://ftp.gnome.org/pub/GNOME/sources/libnotify/0.7/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: glib2-devel >= %{glib2_version}
|
||||
BuildRequires: gdk-pixbuf2-devel
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: glib2-devel >= %{glib2_version}
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: gtk3-devel
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: meson
|
||||
|
||||
Requires: glib2%{?_isa} >= %{glib2_version}
|
||||
|
||||
%description
|
||||
@ -34,17 +36,11 @@ development of programs using %{name}.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
|
||||
# Remove lib64 rpaths
|
||||
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/notify-send
|
||||
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
%meson_install
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
@ -65,6 +61,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
||||
%{_datadir}/gir-1.0/Notify-0.7.gir
|
||||
|
||||
%changelog
|
||||
* Sat Apr 06 2019 Kalev Lember <klember@redhat.com> - 0.7.8-1
|
||||
- Update to 0.7.8
|
||||
- Switch to the meson build system
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.7-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user