Пакет liboobs: Specfile

Name: liboobs
Version: 2.22.0
Release: alt1

Summary: GObject based interface to system-tools-backends - shared library
License: GPL
Group: System/Libraries
Url: ftp://ftp.gnome.org
Packager: Vladimir Lettiev <crux@altlinux.ru>

Source: %gnome_ftp/%name/2.22/%name-%version.tar.bz2

BuildPreReq: rpm-build-gnome gnome-common

BuildRequires: libdbus-devel libdbus-glib-devel libhal-devel system-tools-backends-devel

#set_perl_req_method relaxed

%description
Liboobs is a lightweight library that provides a GObject based interface to system-tools-backends. It's completely abstracted of the communication and authentication details, making it easy for applications to integrate with the system details.
This package contains the shared library.

%package devel
Summary: GObject based interface to system-tools-backends - development files
Group: Development/C
PreReq: %name = %version-%release

%description devel
Liboobs is a lightweight library that provides a GObject based interface to system-tools-backends. It's completely abstracted of the communication and authentication details, making it easy for applications to integrate with the system details.
This package contain development files.

%package docs
Summary: GObject based interface to system-tools-backends - documentation
Group: Development/Documentation
PreReq: %name = %version-%release

%description docs
Liboobs is a lightweight library that provides a GObject based interface to system-tools-backends. It's completely abstracted of the communication and authentication details, making it easy for applications to integrate with the system details.
This package contain documentation files.

%prep
%setup -q

%build
#autoreconf -fisv
%configure
%make_build

%install
%make_install DESTDIR=%buildroot install
%__rm -f %buildroot%_libdir/%name-1.a

%files
%_libdir/%name-1.so.*

%files devel
%_includedir/%name-1.0
%_libdir/pkgconfig/%name-1.pc
%_libdir/%name-1.so
%doc AUTHORS ChangeLog NEWS COPYING README

%files docs
%_datadir/gtk-doc/html/%name

%changelog
* Wed Sep 17 2008 Vladimir Lettiev <crux@altlinux.ru> 2.22.0-alt1
- Initial build fpr Sisyphus