LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libucil.spec of Package libucil (Project openSUSE:Factory)

#
# spec file for package libucil
#
# Copyright (c) 2011 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/
#

Name:           libucil
Version:        0.9.10
Release:        0
%define sonum   2
License:        GPL-2.0+
Summary:        Render text and graphic overlays onto video images
Url:            http://unicap-imaging.org/
Group:          System/Libraries
Source0:        %{name}-%{version}.tar.gz
BuildRequires:  alsa-devel
BuildRequires:  gcc-c++
BuildRequires:  gstreamer-0_10-plugins-base-devel
BuildRequires:  intltool
BuildRequires:  libpng-devel
BuildRequires:  libunicap-devel
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(pango)
Requires:       libunicap
Requires:       pango
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
The ucil library provides easy to use functions to render text and graphic overlays onto video images.

%package -n %{name}%{sonum}
Summary:        Render text and graphic overlays onto video images]
Provides:       %{name} = %{version}

%description -n %{name}%{sonum}
The ucil library provides easy to use functions to render text and graphic overlays onto video images.

%package devel
Summary:        Development files for %{name}
Group:          Development/Libraries/C and C++
Requires:       %{name}%{sonum} = %{version}

%description devel
Development libraries and headers needed to build software using %{name}

%package doc
Summary:        Dcoumentation for %{name}
Requires:       %{name}%{sonum} = %{version}
BuildArch:      noarch

%description doc
Documentation and help files for %{name}

%prep
%setup -q

%build
%configure --enable-gpl \
           --enable-ucil-alsa \
           --enable-ucil-gstreamer \
           --enable-ucil-png
make %{?_smp_mflags}

%install
%make_install

%post   -n %{name}%{sonum} -p /sbin/ldconfig
%postun -n %{name}%{sonum} -p /sbin/ldconfig

%files -n %{name}%{sonum}
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README
%{_libdir}/libucil.so.%{sonum}*

%files devel
%defattr(-,root,root)
%{_includedir}/unicap/
%{_libdir}/libucil.a
%{_libdir}/libucil.la
%{_libdir}/libucil.so
%{_libdir}/pkgconfig/libucil.pc

%files doc
%defattr(-,root,root)
%doc %{_datadir}/gtk-doc/html/libucil/

%changelog