New upstream release

This commit is contained in:
Richard Hughes 2014-06-19 11:50:29 +01:00
parent 2de6387ec1
commit fd0b2b5d4a
3 changed files with 73 additions and 6 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
/appstream-glib-0.1.5.tar.xz
/appstream-glib-0.1.6.tar.xz
/appstream-glib-0.1.7.tar.xz
/appstream-glib-0.2.0.tar.xz

View File

@ -1,6 +1,6 @@
Summary: Library for AppStream metadata
Name: libappstream-glib
Version: 0.1.7
Version: 0.2.0
Release: 1%{?dist}
License: LGPLv2+
URL: http://people.freedesktop.org/~hughsient/appstream-glib/
@ -15,6 +15,20 @@ BuildRequires: gperf
BuildRequires: libarchive-devel
BuildRequires: libsoup-devel
BuildRequires: gdk-pixbuf2-devel
BuildRequires: gettext
BuildRequires: intltool
# for the builder component
BuildRequires: fontconfig-devel
BuildRequires: freetype-devel
BuildRequires: gtk3-devel
BuildRequires: pango-devel
BuildRequires: rpm-devel
BuildRequires: sqlite-devel
# for the manpages
BuildRequires: libxslt
BuildRequires: docbook-style-xsl
%description
This library provides GObjects and helper methods to make it easy to read and
@ -29,6 +43,21 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
GLib headers and libraries for appstream-glib.
%package builder
Summary: Library and command line tools for building AppStream metadata
Requires: %{name}%{?_isa} = %{version}-%{release}
%description builder
This library and command line tool is used for building AppStream metadata
from a directory of packages.
%package builder-devel
Summary: GLib Libraries and headers for appstream-builder
Requires: %{name}-builder%{?_isa} = %{version}-%{release}
%description builder-devel
GLib headers and libraries for appstream-builder.
%prep
%setup -q -n appstream-glib-%{version}
@ -44,27 +73,64 @@ make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/libappstream-glib*.la
%__rm -f %{buildroot}%{_libdir}/libappstream-glib*.la
%__rm -f %{buildroot}%{_libdir}/libappstream-builder*.la
%__rm -f %{buildroot}%{_libdir}/asb-plugins/*.la
%find_lang appstream-glib
%post -p /sbin/ldconfig
%post builder -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun builder -p /sbin/ldconfig
%files
%files -f appstream-glib.lang
%doc README.md AUTHORS NEWS COPYING
%{_libdir}/libappstream-glib.so.1*
%{_libdir}/girepository-1.0/*.typelib
%{_bindir}/appstream-util
%dir %{_datadir}/bash-completion/completions/
%{_datadir}/bash-completion/completions/appstream-util
%{_mandir}/man1/appstream-util.1.gz
%files devel
%{_libdir}/libappstream-glib.so
%{_libdir}/pkgconfig/appstream-glib.pc
%dir %{_includedir}/libappstream-glib
%{_includedir}/libappstream-glib/*.h
%{_datadir}/gtk-doc
%{_datadir}/gir-1.0/*.gir
%{_datadir}/gtk-doc/html/appstream-glib
%{_datadir}/gir-1.0/AppStreamGlib-1.0.gir
%{_datadir}/aclocal/appstream-xml.m4
%files builder
%doc COPYING
%{_bindir}/appstream-builder
%{_datadir}/bash-completion/completions/appstream-builder
%{_libdir}/asb-plugins/*.so
%{_libdir}/libappstream-builder.so.1*
%{_mandir}/man1/appstream-builder.1.gz
%files builder-devel
%doc COPYING
%{_libdir}/libappstream-builder.so
%{_libdir}/pkgconfig/appstream-builder.pc
%dir %{_includedir}/libappstream-builder
%{_includedir}/libappstream-builder/*.h
%{_datadir}/gir-1.0/AppStreamBuilder-1.0.gir
%changelog
* Thu Jun 19 2014 Richard Hughes <richard@hughsie.com> 0.2.0-1
- New upstream release
- Accept slightly truncated SPDX IDs
- Allow any SPDX license when validating in relaxed mode
- Allow as_node_get_attribute_as_int() to parse negative numbers
- Allow dumping .desktop, .appdata.xml and .metainfo.xml files in appstream-util
- Do not add addons that are packaged in the parent package
- Do not require a content license to be included into the metadata
- This is the first release that merges the createrepo_as project.
- Validate the <developer_name> tag values
* Thu Jun 12 2014 Richard Hughes <richard@hughsie.com> 0.1.7-1
- New upstream release
- Add <extends> from the draft AppStream 0.7 specification

View File

@ -1 +1 @@
4779c8b21df42cb0e874478201cee419 appstream-glib-0.1.7.tar.xz
12256fed43fb8de30ddfebec9ff29140 appstream-glib-0.2.0.tar.xz