First release of 0.1.0
This commit is contained in:
parent
18b5dca68b
commit
caeffbd038
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/appstream-glib-0.1.0.tar.xz
|
||||
64
libappstream-glib.spec
Normal file
64
libappstream-glib.spec
Normal file
@ -0,0 +1,64 @@
|
||||
Summary: Library for AppStream metadata
|
||||
Name: libappstream-glib
|
||||
Version: 0.1.0
|
||||
Release: 1%{?dist}
|
||||
License: LGPLv2+
|
||||
URL: http://people.freedesktop.org/~hughsient/appstream-glib/
|
||||
Source0: http://people.freedesktop.org/~hughsient/appstream-glib/releases/appstream-glib-%{version}.tar.xz
|
||||
|
||||
BuildRequires: glib2-devel >= 2.39
|
||||
BuildRequires: libtool
|
||||
BuildRequires: docbook-utils
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: gobject-introspection-devel
|
||||
|
||||
%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.
|
||||
|
||||
%package devel
|
||||
Summary: GLib Libraries and headers for appstream-glib
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
GLib headers and libraries for appstream-glib.
|
||||
|
||||
%prep
|
||||
%setup -q -n appstream-glib-%{version}
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--enable-gtk-doc \
|
||||
--disable-static \
|
||||
--disable-silent-rules \
|
||||
--disable-dependency-tracking
|
||||
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libappstream-glib*.la
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%doc README.md AUTHORS NEWS COPYING
|
||||
%{_libdir}/libappstream-glib.so.1*
|
||||
%{_libdir}/girepository-1.0/*.typelib
|
||||
|
||||
%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
|
||||
|
||||
%changelog
|
||||
* Tue Mar 18 2014 Richard Hughes <richard@hughsie.com> 0.1.0-1
|
||||
- First upstream release
|
||||
Loading…
Reference in New Issue
Block a user