169 lines
3.9 KiB
RPMSpec
169 lines
3.9 KiB
RPMSpec
#
|
||
# spec file for package libnotify (Version 0.4.4)
|
||
#
|
||
# 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 update-desktop-files
|
||
%if %suse_version > 1010
|
||
BuildRequires: dbus-1-glib-devel
|
||
%else
|
||
BuildRequires: dbus-1-devel dbus-1-glib
|
||
%endif
|
||
Version: 0.4.4
|
||
Release: 60
|
||
Url: http://www.galago-project.org/
|
||
Group: System/Libraries
|
||
License: GPL v2 or later; LGPL v2 or later
|
||
Summary: Notifications Library
|
||
Source: %{name}-%{version}.tar.bz2
|
||
AutoReqProv: on
|
||
Requires: notification-daemon dbus-1-x11 libnotify1
|
||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
||
%description
|
||
D-BUS notifications library.
|
||
|
||
|
||
|
||
Authors:
|
||
--------
|
||
Christian Hammond <chipx86@chipx86.com>
|
||
Mike Hearn <mike@navi.cx>
|
||
|
||
%package -n libnotify1
|
||
Group: System/Libraries
|
||
Summary: Notifications Library
|
||
Requires: %{name} >= %{version}
|
||
|
||
%description -n libnotify1
|
||
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
|
||
%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 -q
|
||
|
||
%build
|
||
autoreconf -f -i
|
||
%configure\
|
||
--disable-static
|
||
make %{?jobs:-j%jobs}
|
||
|
||
%install
|
||
%makeinstall
|
||
|
||
%clean
|
||
rm -rf $RPM_BUILD_ROOT
|
||
|
||
%post -n libnotify1
|
||
/sbin/ldconfig
|
||
|
||
%postun -n libnotify1
|
||
/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}/*.*a
|
||
%{_libdir}/pkgconfig/*.pc
|
||
%{_includedir}/*
|
||
|
||
%files doc
|
||
%defattr (-, root, root)
|
||
%{_datadir}/gtk-doc/html/libnotify
|
||
%changelog
|
||
* Thu Oct 04 2007 - maw@suse.de
|
||
- s#%%run_ldconfig#/sbin/ldconfig# in %%post and %%postun
|
||
- Split out a libnotify1 subpackage.
|
||
* Tue Mar 06 2007 - sbrabec@suse.cz
|
||
- Updated to version version 0.4.4:
|
||
* Bug fixes.
|
||
* Fixed memory leaks.
|
||
* notify_uninit is no longer called automatically at exit.
|
||
- License update (#236707).
|
||
* Tue Feb 20 2007 - aj@suse.de
|
||
- Remove unneeded requires on popt.
|
||
* 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.
|