[packages/appdata-tools] - new
qboosh
qboosh at pld-linux.org
Wed Nov 13 21:31:11 CET 2013
commit 0f7209c7c113e84913a7e5acbbdf881c0af0383c
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Wed Nov 13 21:31:36 2013 +0100
- new
appdata-tools.spec | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 65 insertions(+)
---
diff --git a/appdata-tools.spec b/appdata-tools.spec
new file mode 100644
index 0000000..d91ba8b
--- /dev/null
+++ b/appdata-tools.spec
@@ -0,0 +1,65 @@
+# TODO:
+# - BR: trang
+# - package emacs file
+Summary: Tools to validate AppData
+Summary(pl.UTF-8): Narzędzia do weryfikacji AppData
+Name: appdata-tools
+Version: 0.1.6
+Release: 1
+License: GPL v2+
+Group: Applications/System
+Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
+# Source0-md5: 5654ff5b2e7a63ed9a6bdfa565952119
+URL: http://people.freedesktop.org/~hughsient/appdata/
+BuildRequires: docbook-dtd43-xml
+BuildRequires: gdk-pixbuf2-devel >= 2.0
+BuildRequires: gettext-devel
+BuildRequires: glib2-devel >= 1:2.14.0
+BuildRequires: intltool >= 0.35.0
+BuildRequires: libsoup-devel >= 2.4
+BuildRequires: libxslt-progs
+#BuildRequires: python
+#BuildRequires: python-lxml
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+Requires: glib2 >= 1:2.14.0
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Tools to validate AppData.
+
+%description -l pl.UTF-8
+Narzędzia do weryfikacji AppData.
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --disable-silent-rules
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%find_lang %{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog MAINTAINERS NEWS README
+%attr(755,root,root) %{_bindir}/appdata-validate
+%dir %{_datadir}/appdata/schema
+%{_datadir}/appdata/schema/appdata.rnc
+%{_datadir}/appdata/schema/appdata.xsd
+%{_datadir}/appdata/schema/schema-locating-rules.xml
+%{_aclocaldir}/appdata-xml.m4
+%{_mandir}/man1/appdata-validate.1*
+
+# TODO:
+#%{_datadir}/emacs/site-lisp/site-start.d/appdata-rng-init.el
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/appdata-tools.git/commitdiff/0f7209c7c113e84913a7e5acbbdf881c0af0383c
More information about the pld-cvs-commit
mailing list