2013-03-13 08:57:30 +00:00
|
|
|
#
|
2015-01-06 14:45:21 +00:00
|
|
|
# spec file for package gcab
|
2013-03-13 08:57:30 +00:00
|
|
|
#
|
2018-01-23 16:57:27 +00:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-03-13 08:57:30 +00:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2015-01-06 14:45:21 +00:00
|
|
|
|
2013-03-13 08:57:30 +00:00
|
|
|
Name: gcab
|
2018-01-23 16:57:27 +00:00
|
|
|
Version: 0.8
|
2013-03-13 08:57:30 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Cabinet file library and tool
|
2015-01-06 14:45:21 +00:00
|
|
|
License: LGPL-2.1+
|
2013-03-13 08:57:30 +00:00
|
|
|
Group: Productivity/Archiving/Compression
|
2015-01-06 14:45:21 +00:00
|
|
|
Url: http://ftp.gnome.org/pub/GNOME/sources/gcab
|
2018-01-23 16:57:27 +00:00
|
|
|
Source: http://download.gnome.org/sources/gcab/0.8/%{name}-%{version}.tar.xz
|
|
|
|
|
2013-03-13 08:57:30 +00:00
|
|
|
BuildRequires: gobject-introspection >= 0.9.4
|
|
|
|
BuildRequires: intltool >= 0.40.0
|
|
|
|
BuildRequires: vala >= 0.14
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.22.0
|
|
|
|
Recommends: %{name}-lang
|
|
|
|
|
|
|
|
%description
|
|
|
|
gcab is a tool and library for manipulating cabinet files.
|
|
|
|
|
|
|
|
It uses the GObject API and provides GIR bindings.
|
|
|
|
It supports creation of archives with simple MSZIP compression.
|
|
|
|
|
|
|
|
%package -n libgcab-1_0-0
|
|
|
|
Summary: Cabinet file library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libgcab-1_0-0
|
|
|
|
gcab is a tool and library for manipulating cabinet files.
|
|
|
|
|
|
|
|
It uses the GObject API and provides GIR bindings.
|
|
|
|
It supports creation of archives with simple MSZIP compression.
|
|
|
|
|
|
|
|
This package provides a system library to access cab files
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Cabinet file library -- Development files
|
|
|
|
Group: Development/Languages/C and C++
|
|
|
|
Requires: libgcab-1_0-0 = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
gcab is a tool and library for manipulating cabinet files.
|
|
|
|
|
|
|
|
It uses the GObject API and provides GIR bindings.
|
|
|
|
It supports creation of archives with simple MSZIP compression.
|
|
|
|
|
|
|
|
This package provides development files to build code against libgcab
|
|
|
|
|
|
|
|
%lang_package
|
2018-01-23 16:57:27 +00:00
|
|
|
|
2013-03-13 08:57:30 +00:00
|
|
|
%prep
|
2018-01-23 16:57:27 +00:00
|
|
|
%autosetup
|
2013-03-13 08:57:30 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name '*.la' -delete -print
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
%post -n libgcab-1_0-0 -p /sbin/ldconfig
|
|
|
|
%postun -n libgcab-1_0-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc COPYING
|
|
|
|
%{_bindir}/%{name}
|
2018-01-23 16:57:27 +00:00
|
|
|
%{_mandir}/man?/%{name}.?%{?ext_man}
|
2013-03-13 08:57:30 +00:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%files -n libgcab-1_0-0
|
|
|
|
%{_libdir}/libgcab-1.0.so.*
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%doc %{_datadir}/gtk-doc/html/%{name}/
|
|
|
|
%{_includedir}/libgcab-1.0/
|
|
|
|
%{_libdir}/libgcab-1.0.so
|
|
|
|
%{_libdir}/pkgconfig/libgcab-1.0.pc
|
|
|
|
|
|
|
|
%changelog
|