Пакет libucil: Specfile

Summary: Library to access different kinds of (video) capture devices
Name: libucil
Version: 0.9.8
Release: alt4.1
License: GPLv2+
Group: Development/C
Url: http://www.unicap-imaging.org/
Packager: Vitaly Kuznetsov <vitty@altlinux.ru>

Source: libucil-%version.tar
Patch: libucil-0.9.8-alt-libpng15.patch

BuildRequires: gtk-doc intltool libunicap-devel glib2-devel libpango-devel libfreetype-devel libpng-devel libtheora-devel libalsa-devel libvorbis-devel

%description
Unicap provides a uniform interface to video capture devices. It allows
applications to use any supported video capture device via a single API.
The included ucil library provides easy to use functions to render text
and graphic overlays onto video images.
This package provides libucil library

%package devel
Summary: Development files for the unicap library
Group: Development/C
Requires: %name = %version-%release

%description devel
The libunicap-devel package includes header files and libraries
necessary for for developing programs which use the unicap, unicapgtk
and ucil library. It contains the API documentation of the library, too.
This package provides libucil library development files

%prep
%setup -q
%patch -p2
%autoreconf

%build
%configure
%make_build

%install
%makeinstall_std

# Don't install any static .a and libtool .la files
rm -f %buildroot%_libdir/{,unicap2/cpi/}*.{a,la}

%files
%doc AUTHORS ChangeLog COPYING README
%_libdir/*.so.*

%files devel
%_libdir/*.so
%_pkgconfigdir/*.pc
%_includedir/unicap/*
%_datadir/gtk-doc/html/*

%changelog
* Fri Oct 05 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.9.8-alt4.1
- Rebuilt with libpng15

* Wed Mar 23 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.9.8-alt4
- rebuild with libpng-devel, libvorbis-devel, libtheora-devel,
  libalsa-devel

* Mon Mar 21 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.9.8-alt3
- rebuild for debuginfo

* Tue Dec 14 2010 Vitaly Kuznetsov <vitty@altlinux.ru> 0.9.8-alt2
- rebuild for soname set-version

* Wed May 26 2010 Vitaly Kuznetsov <vitty@altlinux.ru> 0.9.8-alt1
- initial