Package libpaper: Specfile

Name: libpaper
Version: 1.1.23
Release: alt1

Summary: Library and tools for handling papersize

License: GPL
Group: System/Libraries
Url: http://packages.qa.debian.org/libp/libpaper.html

Source: http://ftp.debian.org/debian/pool/main/libp/libpaper/%{name}_%version.tar.bz2

Packager: Vitaly Lipatov <lav@altlinux.ru>

# Automatically added by buildreq on Sun Jan 08 2006
BuildRequires: gcc-c++ libstdc++-devel

%description
The paper library and accompanying files are intended to provide a simple
way for applications to take actions based on a system- or user-specified
paper size.  This release is quite minimal, its purpose being to provide
really basic functions (obtaining the system paper name and getting
the height and width of a given kond of paper) that applications can
immediately integrate.

%package devel
Summary: Header files for %name
Group: Development/Other
Requires: %name = %version-%release

%description devel
Header files for %name library.

%prep
%setup -q

%build
%configure --disable-static
%make

%install
%make_install install \
	DESTDIR=%buildroot

%post -p %post_ldconfig
%postun -p %post_ldconfig

%files
%doc README
%_bindir/*
%_sbindir/*
%_libdir/lib*.so.*

%files devel
#%doc 
%_libdir/lib*.so
%_includedir/paper.h
%_man1dir/*
%_man3dir/*
%_man5dir/*
%_man8dir/*


%changelog
* Thu Jan 03 2008 Vitaly Lipatov <lav@altlinux.ru> 1.1.23-alt1
- new version 1.1.23 (with rpmrb script)

* Sat Dec 30 2006 Vitaly Lipatov <lav@altlinux.ru> 1.1.21-alt0.1
- new version 1.1.21 (with rpmrb script)

* Sun Sep 10 2006 Vitaly Lipatov <lav@altlinux.ru> 1.1.20-alt0.1
- new version 1.1.20 (with rpmrb script)

* Sun Jan 08 2006 Vitaly Lipatov <lav@altlinux.ru> 1.1.14-alt0.1
- initial build for ALT Linux Sisyphus