libnotify/libnotify.spec

140 lines
3.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package libnotify (Version 0.4.2)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: libnotify
BuildRequires: gtk-doc gtk2-devel popt-devel update-desktop-files
%if %suse_version > 1010
BuildRequires: dbus-1-glib-devel
%else
BuildRequires: dbus-1-devel dbus-1-glib
%endif
Version: 0.4.2
Release: 35
URL: http://www.galago-project.org/
Group: System/Libraries
License: GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Summary: Notifications Library
Source: %{name}-%{version}.tar.bz2
Autoreqprov: on
Requires: notification-daemon dbus-1-x11
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
D-BUS notifications library.
Authors:
--------
Christian Hammond <chipx86@chipx86.com>
Mike Hearn <mike@navi.cx>
%package devel
Group: System/Libraries
Summary: Notifications Library
Requires: %{name} = %{version} glib2-devel gtk2-devel dbus-1-devel popt-devel
%if %suse_version > 1010
Requires: dbus-1-glib-devel
%endif
%description devel
D-BUS notifications library.
Authors:
--------
Christian Hammond <chipx86@chipx86.com>
Mike Hearn <mike@navi.cx>
%package doc
Group: System/Libraries
Summary: Additional Package Documentation.
Requires: %{name} = %{version}
%description doc
D-BUS notifications library.
Authors:
--------
Christian Hammond <chipx86@chipx86.com>
Mike Hearn <mike@navi.cx>
%prep
%setup
%build
autoreconf -f -i
%configure\
--disable-static
make %{?jobs:-j%jobs}
%install
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%post
%run_ldconfig
%postun
%run_ldconfig
%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/*.so.*
%{_bindir}/*
%files devel
%defattr (-, root, root)
%{_libdir}/*.so
%{_libdir}/*.*a
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
%files doc
%defattr (-, root, root)
%{_datadir}/gtk-doc/html/libnotify
%changelog -n libnotify
* Wed Feb 07 2007 - sbrabec@suse.cz
- Do not build unusable static libraries (#238552).
* Fri Dec 08 2006 - sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Mon Nov 27 2006 - sbrabec@suse.cz
- Build correctly in older products.
- Fixed devel dependencies.
* Thu Aug 31 2006 - cschneemann@suse.de
- Updated to version 0.4.2
* Tue Aug 15 2006 - ro@suse.de
- added dbus-1-glib-devel to BuildRequires
* Thu May 11 2006 - rml@suse.de
- Require dbus-x11 too, because that provides dbus-launch, which
is how we launch the session bus. And libnotify needs the
session bus (Novell bug #174865).
- No need to rerun autogen; just run configure
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Jan 23 2006 - dobey@suse.de
- Updated to version 0.3.2
* Wed Jan 18 2006 - sbrabec@suse.cz
- Updated to version 0.3.0.
* Tue Aug 02 2005 - rodrigo@suse.de
- Updated to 0.2.1.
* Wed Jun 29 2005 - sbrabec@suse.cz
- New SuSE package, pre-0.0.1 version from actual svn snapshot.