2007-01-08 00:36:50 +01:00
|
|
|
#
|
2011-04-21 10:21:37 +02:00
|
|
|
# spec file for package libnotify
|
2007-01-08 00:36:50 +01:00
|
|
|
#
|
2018-03-01 12:12:15 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-01-08 00:36:50 +01:00
|
|
|
#
|
2008-11-03 12:23:39 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-08 00:36:50 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-03-28 08:04:13 +02:00
|
|
|
|
2007-01-08 00:36:50 +01:00
|
|
|
Name: libnotify
|
2018-03-01 12:12:15 +01:00
|
|
|
Version: 0.7.7+20170717.43aac61
|
2017-03-02 11:10:12 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Notifications Library
|
2018-03-01 12:12:15 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2017-04-24 13:11:32 +02:00
|
|
|
Group: Development/Libraries/X11
|
2017-03-02 11:10:12 +01:00
|
|
|
Url: http://galago-project.org/
|
2018-03-01 12:12:15 +01:00
|
|
|
#Source0: https://download.gnome.org/sources/libnotify/0.7/%%{name}-%%{version}.tar.xz
|
|
|
|
Source: %{name}-%{version}.tar.xz
|
|
|
|
Source98: libnotify-rpmlintrc
|
2017-03-02 11:10:12 +01:00
|
|
|
Source99: baselibs.conf
|
2018-03-01 12:12:15 +01:00
|
|
|
|
|
|
|
BuildRequires: gnome-common
|
2011-04-21 10:21:37 +02:00
|
|
|
BuildRequires: gobject-introspection-devel
|
2018-03-01 12:12:15 +01:00
|
|
|
BuildRequires: gtk-doc
|
2017-03-02 11:10:12 +01:00
|
|
|
BuildRequires: pkgconfig
|
2011-04-21 10:21:37 +02:00
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
2010-08-09 17:10:14 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
2007-01-08 00:36:50 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
D-BUS notifications library.
|
|
|
|
|
2011-04-21 10:21:37 +02:00
|
|
|
%package -n libnotify4
|
2011-12-21 05:15:30 +01:00
|
|
|
Summary: Notifications Library
|
2007-10-05 00:35:46 +02:00
|
|
|
Group: System/Libraries
|
2017-03-02 11:10:12 +01:00
|
|
|
Recommends: dbus(org.freedesktop.Notifications)
|
2007-10-05 00:35:46 +02:00
|
|
|
|
2011-04-21 10:21:37 +02:00
|
|
|
%description -n libnotify4
|
2007-10-05 00:35:46 +02:00
|
|
|
D-BUS notifications library.
|
|
|
|
|
2011-12-12 17:00:26 +01:00
|
|
|
%package -n typelib-1_0-Notify-0_7
|
2011-12-21 05:15:30 +01:00
|
|
|
Summary: Notifications Library -- Introspection bindings
|
2011-12-12 17:00:26 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-Notify-0_7
|
|
|
|
D-BUS notifications library.
|
|
|
|
|
2011-12-21 05:15:30 +01:00
|
|
|
This package provides the GObject Introspection bindings for libnotify.
|
|
|
|
|
2010-08-09 17:10:14 +02:00
|
|
|
%package tools
|
2011-12-21 05:15:30 +01:00
|
|
|
Summary: Notifications Library -- Tools
|
2010-08-09 17:10:14 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
Provides: libnotify = %{version}
|
|
|
|
Obsoletes: libnotify < %{version}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
D-BUS notifications library.
|
|
|
|
|
|
|
|
This package contains the notify-send tool to create notifications.
|
|
|
|
|
2007-01-08 00:36:50 +01:00
|
|
|
%package devel
|
2011-12-21 05:15:30 +01:00
|
|
|
Summary: Notifications Library
|
2011-04-21 10:21:37 +02:00
|
|
|
Group: Development/Libraries/X11
|
|
|
|
Requires: libnotify4 = %{version}
|
2011-12-12 17:00:26 +01:00
|
|
|
Requires: typelib-1_0-Notify-0_7 = %{version}
|
2009-03-03 00:36:16 +01:00
|
|
|
Provides: libnotify-doc = %{version}
|
|
|
|
Obsoletes: libnotify-doc < %{version}
|
2007-01-08 00:36:50 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
D-BUS notifications library.
|
|
|
|
|
|
|
|
%prep
|
2018-03-01 12:12:15 +01:00
|
|
|
%autosetup
|
2007-01-08 00:36:50 +01:00
|
|
|
|
|
|
|
%build
|
2018-03-01 12:12:15 +01:00
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
|
|
%configure \
|
|
|
|
--enable-gtk-doc \
|
|
|
|
--disable-static \
|
|
|
|
%{nil}
|
|
|
|
%make_build
|
2007-01-08 00:36:50 +01:00
|
|
|
|
|
|
|
%install
|
2017-03-02 11:10:12 +01:00
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2007-01-08 00:36:50 +01:00
|
|
|
|
2011-04-21 10:21:37 +02:00
|
|
|
%post -n libnotify4 -p /sbin/ldconfig
|
|
|
|
%postun -n libnotify4 -p /sbin/ldconfig
|
2007-01-08 00:36:50 +01:00
|
|
|
|
2011-04-21 10:21:37 +02:00
|
|
|
%files -n libnotify4
|
2018-03-01 12:12:15 +01:00
|
|
|
%license COPYING
|
2008-11-03 12:23:39 +01:00
|
|
|
# README is empty
|
2018-03-01 12:12:15 +01:00
|
|
|
%doc AUTHORS ChangeLog NEWS
|
2010-08-09 17:10:14 +02:00
|
|
|
%{_libdir}/*.so.*
|
2011-12-12 17:00:26 +01:00
|
|
|
|
|
|
|
%files -n typelib-1_0-Notify-0_7
|
2011-04-21 10:21:37 +02:00
|
|
|
%{_libdir}/girepository-1.0/Notify-0.7.typelib
|
2007-01-08 00:36:50 +01:00
|
|
|
|
2010-08-09 17:10:14 +02:00
|
|
|
%files tools
|
|
|
|
%{_bindir}/notify-send
|
2007-10-05 00:35:46 +02:00
|
|
|
|
2007-01-08 00:36:50 +01:00
|
|
|
%files devel
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_includedir}/*
|
2011-04-21 10:21:37 +02:00
|
|
|
%{_datadir}/gir-1.0/*.gir
|
2007-01-08 00:36:50 +01:00
|
|
|
%{_datadir}/gtk-doc/html/libnotify
|
2008-04-10 14:31:25 +02:00
|
|
|
|
2007-02-25 23:29:13 +01:00
|
|
|
%changelog
|