File startup-notification.spec of Package startup-notification

#
# spec file for package startup-notification (Version 0.9)
#
# Copyright (c) 2008 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:           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:        59
Summary:        Reference Implementation for the Startup-Notification Protocol
Source:         startup-notification-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%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

%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
* 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
openSUSE Build Service is sponsored by