Accepting request 240808 from GNOME:Next
Addition of new appstream-glib library. Part of GNOME 3.14 stack, but as it is new, it does not hurt to already push it now to Factory... so we have it in time. OBS-URL: https://build.opensuse.org/request/show/240808 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/appstream-glib?expand=0&rev=1
This commit is contained in:
commit
b6a678e0c7
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
appstream-glib-0.2.2.tar.xz
Normal file
3
appstream-glib-0.2.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:20e0464114d5ddea504f82dc5d5741ab02400d1691f58baa4b3d2101b842fb0a
|
||||
size 1518664
|
5
appstream-glib.changes
Normal file
5
appstream-glib.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 12 23:46:28 UTC 2014 - dimstar@opensuse.org
|
||||
|
||||
- Initial package, version 0.2.2.
|
||||
|
162
appstream-glib.spec
Normal file
162
appstream-glib.spec
Normal file
@ -0,0 +1,162 @@
|
||||
#
|
||||
# spec file for package appstream-glib
|
||||
#
|
||||
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2014 Dominique Leuenberger, Amsterdam, The Netherlands
|
||||
#
|
||||
# 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: appstream-glib
|
||||
Version: 0.2.2
|
||||
Release: 0
|
||||
Summary: AppStream Abstraction Library
|
||||
License: LGPL-2.1+
|
||||
Group: System/Libraries
|
||||
Url: http://people.freedesktop.org/~hughsient/appstream-glib/
|
||||
Source: http://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-0.2.2.tar.xz
|
||||
BuildRequires: intltool >= 0.40.0
|
||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.14
|
||||
BuildRequires: pkgconfig(gio-2.0)
|
||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.16.1
|
||||
BuildRequires: pkgconfig(gmodule-2.0)
|
||||
BuildRequires: pkgconfig(gobject-2.0)
|
||||
BuildRequires: pkgconfig(gthread-2.0)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(libarchive)
|
||||
BuildRequires: pkgconfig(libsoup-2.4) >= 2.24
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
This library provides GObjects and helper methods to make it easy to read and write AppStream metadata.
|
||||
It also provides a simple DOM implementation that makes it easy to edit nodes and
|
||||
convert to and from the standardized XML representation.
|
||||
|
||||
What this library allows you to do:
|
||||
|
||||
* Read and write compressed AppStream XML files
|
||||
* Add and search for applications in an application store
|
||||
* Get screenshot image data and release announcements
|
||||
* Easily retrieve the best application data for the current locale
|
||||
* Efficiently interface with more heavy-weight parsers like expat
|
||||
|
||||
%package -n libappstream-glib1
|
||||
Summary: AppStream Abstraction Library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libappstream-glib1
|
||||
This library provides GObjects and helper methods to make it easy to read and write AppStream metadata.
|
||||
It also provides a simple DOM implementation that makes it easy to edit nodes and
|
||||
convert to and from the standardized XML representation.
|
||||
|
||||
What this library allows you to do:
|
||||
|
||||
* Read and write compressed AppStream XML files
|
||||
* Add and search for applications in an application store
|
||||
* Get screenshot image data and release announcements
|
||||
* Easily retrieve the best application data for the current locale
|
||||
* Efficiently interface with more heavy-weight parsers like expat
|
||||
|
||||
%package -n libappstream-builder1
|
||||
Summary: AppStream Abstraction Library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libappstream-builder1
|
||||
This library provides GObjects and helper methods to make it easy to read and write AppStream metadata.
|
||||
It also provides a simple DOM implementation that makes it easy to edit nodes and
|
||||
convert to and from the standardized XML representation.
|
||||
|
||||
What this library allows you to do:
|
||||
|
||||
* Read and write compressed AppStream XML files
|
||||
* Add and search for applications in an application store
|
||||
* Get screenshot image data and release announcements
|
||||
* Easily retrieve the best application data for the current locale
|
||||
* Efficiently interface with more heavy-weight parsers like expat
|
||||
|
||||
%package devel
|
||||
Summary: AppStream Abstraction Library -- Development files
|
||||
Group: Development/Languages/C and C++
|
||||
Requires: libappstream-builder1 = %{version}
|
||||
Requires: libappstream-glib1 = %{version}
|
||||
|
||||
%description devel
|
||||
This library provides GObjects and helper methods to make it easy to read and write AppStream metadata.
|
||||
It also provides a simple DOM implementation that makes it easy to edit nodes and
|
||||
convert to and from the standardized XML representation.
|
||||
|
||||
What this library allows you to do:
|
||||
|
||||
* Read and write compressed AppStream XML files
|
||||
* Add and search for applications in an application store
|
||||
* Get screenshot image data and release announcements
|
||||
* Easily retrieve the best application data for the current locale
|
||||
* Efficiently interface with more heavy-weight parsers like expat
|
||||
%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 libappstream-glib1 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libappstream-glib1 -p /sbin/ldconfig
|
||||
|
||||
%post -n libappstream-builder1 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libappstream-builder1 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/appstream-builder
|
||||
%{_bindir}/appstream-util
|
||||
%{_datadir}/bash-completion/completions/appstream-builder
|
||||
%{_datadir}/bash-completion/completions/appstream-util
|
||||
%{_libdir}/asb-plugins/
|
||||
|
||||
%files -n libappstream-builder1
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING
|
||||
%{_libdir}/libappstream-builder.so.*
|
||||
|
||||
%files -n libappstream-glib1
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING
|
||||
%{_libdir}/libappstream-glib.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/libappstream-builder/
|
||||
%{_includedir}/libappstream-glib/
|
||||
%{_datadir}/aclocal/appstream-xml.m4
|
||||
%{_datadir}/gtk-doc/html/appstream-glib/
|
||||
%{_libdir}/pkgconfig/appstream-builder.pc
|
||||
%{_libdir}/pkgconfig/appstream-glib.pc
|
||||
%{_libdir}/libappstream-builder.so
|
||||
%{_libdir}/libappstream-glib.so
|
||||
|
||||
%files lang -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user