startup-notification/startup-notification.spec

145 lines
3.8 KiB
RPMSpec
Raw Normal View History

#
# spec file for package startup-notification (Version 0.9)
#
# Copyright (c) 2009 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: startup-notification
BuildRequires: gnome-common xorg-x11-devel
Url: http://www.freedesktop.org/wiki/Software/startup-notification
License: GPL v2 or later
Group: System/X11/Utilities
Version: 0.9
Release: 103
Summary: Reference Implementation for the Startup-Notification Protocol
Source: startup-notification-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# bug437293
%ifarch ppc64
Obsoletes: startup-notification-64bit
%endif
#
%description
Startup-notification contains a reference implementation of the
startup-notification protocol.
Authors:
--------
Havoc Pennington <hp@redhat.com>
%package devel
License: GPL v2 or later
Summary: Include Files and Libraries mandatory for Development.
Group: Development/Libraries/GNOME
Requires: %{name} = %{version} glibc-devel xorg-x11-libX11-devel xorg-x11-libSM-devel xorg-x11-libICE-devel
# bug437293
%ifarch ppc64
Obsoletes: startup-notification-devel-64bit
%endif
#
%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.
Authors:
--------
Havoc Pennington <hp@redhat.com>
%prep
%setup -q
%build
#{?suse_update_config:{suse_update_config -f}}
#libtoolize --force
#aclocal
#automake -c -a -f
#autoconf
autoreconf -f -i
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure
make %{?jobs:-j %jobs}
%install
#export LIBRARY_PATH=$RPM_BUILD_ROOT%{_libdir}
%makeinstall
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS COPYING README NEWS ChangeLog
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/startup-notification-1.0
%{_libdir}/*.so
%{_libdir}/*.*a
%{_libdir}/pkgconfig/*.pc
%clean
rm -rf $RPM_BUILD_ROOT
%changelog
* Wed Jan 07 2009 olh@suse.de
- obsolete old -XXbit packages (bnc#437293)
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Mon Oct 29 2007 sbrabec@suse.cz
- Reordered spec file sections to make OBS rewriting of Requires
working properly.
- Spec file cleanup.
- Fixed devel Requires.
* Thu Aug 02 2007 maw@suse.de
- Update to version 0.9:
+ plug some memory leaks
+ fix compilation on sun boxen
- Add some Requires to the -devel subpackage
- s#%%run_ldconfig#/sbin/ldconfig# in %%post and %%postun.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Sep 27 2005 mls@suse.de
- move so symlink to devel package
- make devel package require base package
* Thu Jan 20 2005 gekker@suse.de
- Update to version 0.8
* Thu Dec 16 2004 gekker@suse.de
- Update to version 0.7
* Fri Nov 19 2004 ro@suse.de
- removed extra aclocal include directive
* Thu Apr 29 2004 ro@suse.de
- added -fno-strict-aliasing
* Sun Jan 11 2004 adrian@suse.de
- add %%defattr and %%run_ldconfig
* Mon Jul 14 2003 sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Wed Jan 29 2003 hhetter@suse.de
- updated to version 0.5
* Thu Jan 23 2003 meissner@suse.de
- lib64 fix.
* Thu Jan 16 2003 hhetter@suse.de
- initial SuSE package