LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File tubo.spec of Package tubo (Project home:Herbster0815:SLES:15)

#
# spec file for package tubo
#
# Copyright (c) 2015 SUSE LINUX 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/
#


%define lib_name libtubo0
Name:           tubo
Version:        5.0.15
Release:        0
Summary:        Run processes in background with thread control
License:        GPL-3.0
Group:          System/X11/Utilities
Url:            http://xffm.org/libtubo.html
Source0:        http://sf.net/projects/xffm/files/libtubo/%{lib_name}-%{version}.tar.bz2
BuildRequires:  gtk-doc
BuildRequires:  libtool >= 2.2.6
BuildRequires:  pkgconfig
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Thread controlled library to run processes in background pipe input and 
output to user defined, thread-safe functions. This library is used by 
Rodent filemanager but is also available here for other programs to use 
freely.

%package -n     %{lib_name}
Summary:        Library to run processes in background with thread control
License:        LGPL-3.0
Group:          System/Libraries

%description -n %{lib_name}
Thread controlled library to run processes in background pipe input and 
output to user defined, thread-safe functions. This library is used by 
Rodent filemanager but is also available here for other programs to use 
freely.

%package 		devel
Summary:        Library to run processes in background with thread control
Group:          Development/Libraries/C and C++
Requires:       %{lib_name} = %{version}

%description 	devel
This package contains header files and libraries needed to develop
application that use libtubo0.

%prep
%setup -q -n %{lib_name}-%{version}

%build
%configure --enable-static=no
make %{?_smp_mflags}

%install
%make_install

%post -n %{lib_name} -p /sbin/ldconfig

%postun -n %{lib_name} -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README TODO NEWS
%{_bindir}/tuboexec
%{_mandir}/man1/tuboexec.1*

%files -n %{lib_name}
%defattr(-,root,root)
%{_libdir}/libtubo.so.*

%files devel
%defattr(-,root,root)
%{_includedir}/tubo.h
%{_datadir}/gtk-doc/html/libtubo
%{_libdir}/libtubo.so
%{_libdir}/pkgconfig/tubo.pc

%changelog