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
|
|
|
#
|
2011-04-21 10:21:37 +02:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-10 14:31:25 +02:00
|
|
|
|
2007-01-08 00:36:50 +01:00
|
|
|
Name: libnotify
|
2011-04-21 10:21:37 +02:00
|
|
|
BuildRequires: gobject-introspection-devel
|
|
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
2010-08-09 17:10:14 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
2011-04-21 10:21:37 +02:00
|
|
|
%if 0%{?BUILD_FROM_VCS}
|
|
|
|
BuildRequires: gnome-common
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
%endif
|
|
|
|
Version: 0.7.2
|
2010-08-09 17:10:14 +02:00
|
|
|
Release: 1
|
2007-10-05 00:35:46 +02:00
|
|
|
Url: http://www.galago-project.org/
|
2007-01-08 00:36:50 +01:00
|
|
|
Group: System/Libraries
|
2010-01-18 13:43:29 +01:00
|
|
|
License: GPLv2+ ; LGPLv2.1+
|
2007-02-07 17:12:15 +01:00
|
|
|
Summary: Notifications Library
|
2007-01-08 00:36:50 +01:00
|
|
|
Source: %{name}-%{version}.tar.bz2
|
2010-01-18 13:43:29 +01:00
|
|
|
Source99: baselibs.conf
|
2007-01-08 00:36:50 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
D-BUS notifications library.
|
|
|
|
|
2011-04-21 10:21:37 +02:00
|
|
|
%package -n libnotify4
|
2010-01-18 13:43:29 +01:00
|
|
|
License: GPLv2+ ; LGPLv2.1+
|
2007-10-05 00:35:46 +02:00
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Notifications Library
|
2010-08-09 17:10:14 +02:00
|
|
|
Recommends: notification-daemon
|
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.
|
|
|
|
|
2010-08-09 17:10:14 +02:00
|
|
|
%package tools
|
|
|
|
License: LGPLv2.1+
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Notifications Library -- Tools
|
|
|
|
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
|
2010-01-18 13:43:29 +01:00
|
|
|
License: LGPLv2.1+
|
2011-04-21 10:21:37 +02:00
|
|
|
Group: Development/Libraries/X11
|
2007-01-08 00:36:50 +01:00
|
|
|
Summary: Notifications Library
|
2011-04-21 10:21:37 +02:00
|
|
|
Requires: libnotify4 = %{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
|
2007-03-06 18:58:24 +01:00
|
|
|
%setup -q
|
2011-04-21 10:21:37 +02:00
|
|
|
%if 0%{?BUILD_FROM_VCS}
|
|
|
|
[ -x ./autogens.sh ] && NOCONFIGURE=1 ./autogen.sh
|
|
|
|
%endif
|
2007-01-08 00:36:50 +01:00
|
|
|
|
|
|
|
%build
|
2007-02-07 17:12:15 +01:00
|
|
|
%configure\
|
2011-04-21 10:21:37 +02:00
|
|
|
%if 0%{?BUILD_FROM_VCS}
|
|
|
|
--enable-gtk-doc \
|
|
|
|
%endif
|
2007-02-07 17:12:15 +01:00
|
|
|
--disable-static
|
2007-01-08 00:36:50 +01:00
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
2007-02-07 17:12:15 +01:00
|
|
|
%makeinstall
|
2009-02-06 17:55:48 +01:00
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
2007-01-08 00:36:50 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2011-04-21 10:21:37 +02:00
|
|
|
%post -n libnotify4 -p /sbin/ldconfig
|
2007-01-08 00:36:50 +01:00
|
|
|
|
2011-04-21 10:21:37 +02:00
|
|
|
%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
|
2007-01-08 00:36:50 +01:00
|
|
|
%defattr (-, root, root)
|
2008-11-03 12:23:39 +01:00
|
|
|
# README is empty
|
2007-03-06 18:58:24 +01:00
|
|
|
%doc AUTHORS COPYING ChangeLog NEWS
|
2010-08-09 17:10:14 +02:00
|
|
|
%{_libdir}/*.so.*
|
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
|
2007-10-05 00:35:46 +02:00
|
|
|
%defattr (-, root, root)
|
2010-08-09 17:10:14 +02:00
|
|
|
%{_bindir}/notify-send
|
2007-10-05 00:35:46 +02:00
|
|
|
|
2007-01-08 00:36:50 +01:00
|
|
|
%files devel
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_includedir}/*
|
2011-04-21 10:21:37 +02:00
|
|
|
%{_datadir}/gir-1.0/*.gir
|
2009-03-03 00:36:16 +01:00
|
|
|
# Own these repositories to not depend on gtk-doc while building:
|
|
|
|
%dir %{_datadir}/gtk-doc
|
|
|
|
%dir %{_datadir}/gtk-doc/html
|
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
|