2007-01-08 00:36:50 +01:00
|
|
|
#
|
2009-02-06 17:55:48 +01:00
|
|
|
# spec file for package libnotify (Version 0.4.5)
|
2007-01-08 00:36:50 +01:00
|
|
|
#
|
2010-01-18 13:43:29 +01:00
|
|
|
# Copyright (c) 2010 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
|
|
|
|
BuildRequires: dbus-1-glib-devel
|
2009-03-03 00:36:16 +01:00
|
|
|
BuildRequires: gtk2-devel
|
2009-02-06 17:55:48 +01:00
|
|
|
Version: 0.4.5
|
2010-06-05 12:50:16 +02:00
|
|
|
Release: 5
|
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
|
2009-03-03 00:36:16 +01:00
|
|
|
Requires: libnotify1
|
2009-05-04 18:20:18 +02:00
|
|
|
Recommends: notification-daemon
|
2007-01-08 00:36:50 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
D-BUS notifications library.
|
|
|
|
|
2007-10-05 00:35:46 +02:00
|
|
|
%package -n libnotify1
|
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
|
|
|
|
Requires: %{name} >= %{version}
|
|
|
|
|
|
|
|
%description -n libnotify1
|
|
|
|
D-BUS notifications library.
|
|
|
|
|
2007-01-08 00:36:50 +01:00
|
|
|
%package devel
|
2010-01-18 13:43:29 +01:00
|
|
|
License: LGPLv2.1+
|
2007-01-08 00:36:50 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Notifications Library
|
2010-06-05 12:50:16 +02:00
|
|
|
Requires: dbus-1-devel
|
2007-01-08 00:36:50 +01:00
|
|
|
Requires: dbus-1-glib-devel
|
2010-06-05 12:50:16 +02:00
|
|
|
Requires: glib2-devel
|
|
|
|
Requires: gtk2-devel
|
|
|
|
Requires: libnotify1 = %{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
|
2007-01-08 00:36:50 +01:00
|
|
|
|
|
|
|
%build
|
2007-02-07 17:12:15 +01:00
|
|
|
%configure\
|
|
|
|
--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
|
|
|
|
|
2009-03-03 00:36:16 +01:00
|
|
|
%post -n libnotify1 -p /sbin/ldconfig
|
2007-01-08 00:36:50 +01:00
|
|
|
|
2009-03-03 00:36:16 +01:00
|
|
|
%postun -n libnotify1 -p /sbin/ldconfig
|
2007-01-08 00:36:50 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%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
|
2007-01-08 00:36:50 +01:00
|
|
|
%{_bindir}/*
|
|
|
|
|
2007-10-05 00:35:46 +02:00
|
|
|
%files -n libnotify1
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
2007-01-08 00:36:50 +01:00
|
|
|
%files devel
|
|
|
|
%defattr (-, root, root)
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_includedir}/*
|
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
|