File liblazy1.spec of Package liblazy1
#
# spec file for package liblazy1 (Version 0.2)
#
# Copyright (c) 2010 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: liblazy1
BuildRequires: dbus-1-devel pkgconfig
Summary: Liblazy - D-Bus methods provided for convenience
Version: 0.2
Release: 73
#liblazy 0.2 was last used in 10.3
Provides: liblazy = %{version}
Obsoletes: liblazy <= %{version}
License: LGPL-2.1+
Group: Development/Libraries/C and C++
Source: %{name}-%{version}.tar.bz2
Source2: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
%package -n liblazy-devel
License: LGPL-2.1+
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 %{?_smp_mflags}
%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