Accepting request 157576 from GNOME:Next

New package - gcab 0.4

OBS-URL: https://build.opensuse.org/request/show/157576
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gcab?expand=0&rev=1
This commit is contained in:
Dominique Leuenberger 2013-03-13 08:57:30 +00:00 committed by Git OBS Bridge
commit dd8bf835f0
5 changed files with 134 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

3
gcab-0.4.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f907b16f1246fbde9397363d9c4ad2291f2a8a53dcd4f5979d3912bb856991b8
size 294684

5
gcab.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Wed Mar 6 20:29:35 UTC 2013 - dimstar@opensuse.org
- Initial package, version 0.4.

102
gcab.spec Normal file
View File

@ -0,0 +1,102 @@
#
# spec file for package
#
# Copyright (c) 2013 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: gcab
Version: 0.4
Release: 0
License: LGPL-2.1+
Summary: Cabinet file library and tool
Url: http://ftp.gnome.org/pub/GNOME/sources/gcab
Group: Productivity/Archiving/Compression
Source: http://ftp.acc.umu.se/pub/GNOME/sources/gcab/0.4/gcab-0.4.tar.xz
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
%prep
%setup -q
%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
%defattr(-,root,root)
%doc COPYING
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{?ext_man}
%files lang -f %{name}.lang
%files -n libgcab-1_0-0
%defattr(-,root,root)
%{_libdir}/libgcab-1.0.so.*
%files devel
%defattr(-,root,root)
%doc %{_datadir}/gtk-doc/html/%{name}/
%{_includedir}/libgcab-1.0/
%{_libdir}/libgcab-1.0.so
%{_libdir}/pkgconfig/libgcab-1.0.pc
%changelog