File liblazy1.spec of Package liblazy1

#
# spec file for package liblazy1 (Version 0.2)
#
# 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:           liblazy1
BuildRequires:  dbus-1-devel pkgconfig
Summary:        Liblazy - D-Bus methods provided for convenience
Version:        0.2
Release:        35
#liblazy 0.2 was last used in 10.3
Provides:       liblazy = %{version}
Obsoletes:      liblazy <= %{version}
License:        LGPL v2.1 or later
Group:          Development/Libraries/C and C++
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
AutoReqProv:    on

%package -n liblazy-devel
License:        LGPL v2.1 or later
Summary:        Liblazy - D-Bus methods provided for convenience
Group:          Development/Libraries/C and C++
Requires:       %{name} = %{version}-%{release} dbus-1-devel

%description
Liblazy is a simple and easy to use library that provides convenient
functions for sending messages over the D-Bus daemon, querying
information from HAL or asking PolicyKit for a privilege.



Authors:
--------
    Holger Macht <holger@homac.de>

%description -n liblazy-devel
Liblazy is a simple and easy to use library that provides convenient
functions for sending messages over the D-Bus daemon, querying
information from HAL or asking PolicyKit for a privilege.



Authors:
--------
    Holger Macht <holger@homac.de>

%prep
%setup

%build
%configure --disable-static 
make

%install
make DESTDIR=$RPM_BUILD_ROOT install
rm $RPM_BUILD_ROOT/usr/lib*/liblazy.la

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf %{buildroot} 

%files
%defattr(-,root,root)
%_libdir/liblazy.so.*

%files -n liblazy-devel
%defattr(-,root,root)
%_includedir/liblazy.h
%_libdir/pkgconfig/*.pc
%_libdir/liblazy.so

%changelog
* Sun May 11 2008 coolo@suse.de
- fix rename of xxbit packages
* Wed May 07 2008 coolo@suse.de
- 10.3 had 0.2
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
  for multilib support
* Thu Nov 22 2007 hmacht@suse.de
- add Provides: and Obsoletes: due to package rename to liblazy1
- use %%configure
- no longer use %%run_ldconfig
* Tue Nov 20 2007 hmacht@suse.de
- rename package to liblazy1 due to packaging policy
- update to version 0.2 due to gcc 4.3 consistency
* Thu Aug 16 2007 hmacht@suse.de
- fix PolicyKit related API
* Wed Aug 15 2007 hmacht@suse.de
- update to v0.2 due to PolicyKit update (novell bug 299733):
   - use new PolicyKit API >= 0.4
   - fix bug that liblazy_hal_query_capability doesn't always
  return 'false'
   - add function to use private D-Bus connection so that apps
  survive a D-Bus restart
* Fri Nov 17 2006 hmacht@suse.de
- add more error handling (novell bug 220912)
* Thu Oct 26 2006 hmacht@suse.de
- fix function to query privilege by uid
- add function to query privilege of the _current_ user
* Wed Oct 04 2006 hmacht@suse.de
- link against libdbus-1.so
* Mon Oct 02 2006 hmacht@suse.de
- set given strlist pointer to NULL if call to getting string list
  property from HAL fails
- replace GPL COPYING file with LGPL COPYING file
* Wed Sep 27 2006 hmacht@suse.de
- initial checkin