# # spec file for package libnotify (Version 0.4.5) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: libnotify BuildRequires: dbus-1-glib-devel BuildRequires: gtk2-devel Version: 0.4.5 Release: 5 Url: http://www.galago-project.org/ Group: System/Libraries License: GPLv2+ ; LGPLv2.1+ Summary: Notifications Library Source: %{name}-%{version}.tar.bz2 Source99: baselibs.conf Requires: libnotify1 Recommends: notification-daemon BuildRoot: %{_tmppath}/%{name}-%{version}-build %description D-BUS notifications library. %package -n libnotify1 License: GPLv2+ ; LGPLv2.1+ Group: System/Libraries Summary: Notifications Library Requires: %{name} >= %{version} %description -n libnotify1 D-BUS notifications library. %package devel License: LGPLv2.1+ Group: System/Libraries Summary: Notifications Library Requires: dbus-1-devel Requires: dbus-1-glib-devel Requires: glib2-devel Requires: gtk2-devel Requires: libnotify1 = %{version} Provides: libnotify-doc = %{version} Obsoletes: libnotify-doc < %{version} %description devel D-BUS notifications library. %prep %setup -q %build %configure\ --disable-static make %{?jobs:-j%jobs} %install %makeinstall %{__rm} -f %{buildroot}%{_libdir}/*.la %clean rm -rf $RPM_BUILD_ROOT %post -n libnotify1 -p /sbin/ldconfig %postun -n libnotify1 -p /sbin/ldconfig %files %defattr (-, root, root) # README is empty %doc AUTHORS COPYING ChangeLog NEWS %{_bindir}/* %files -n libnotify1 %defattr (-, root, root) %{_libdir}/*.so.* %files devel %defattr (-, root, root) %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/* # Own these repositories to not depend on gtk-doc while building: %dir %{_datadir}/gtk-doc %dir %{_datadir}/gtk-doc/html %{_datadir}/gtk-doc/html/libnotify %changelog