]>
Commit | Line | Data |
---|---|---|
0f7209c7 | 1 | # TODO: |
0f7209c7 JB |
2 | # - package emacs file |
3 | Summary: Tools to validate AppData | |
4 | Summary(pl.UTF-8): Narzędzia do weryfikacji AppData | |
5 | Name: appdata-tools | |
6 | Version: 0.1.6 | |
7 | Release: 1 | |
8 | License: GPL v2+ | |
9 | Group: Applications/System | |
10 | Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz | |
11 | # Source0-md5: 5654ff5b2e7a63ed9a6bdfa565952119 | |
12 | URL: http://people.freedesktop.org/~hughsient/appdata/ | |
13 | BuildRequires: docbook-dtd43-xml | |
14 | BuildRequires: gdk-pixbuf2-devel >= 2.0 | |
15 | BuildRequires: gettext-devel | |
16 | BuildRequires: glib2-devel >= 1:2.14.0 | |
17 | BuildRequires: intltool >= 0.35.0 | |
18 | BuildRequires: libsoup-devel >= 2.4 | |
19 | BuildRequires: libxslt-progs | |
50519b34 JB |
20 | BuildRequires: python |
21 | BuildRequires: python-lxml | |
0f7209c7 | 22 | BuildRequires: tar >= 1:1.22 |
50519b34 | 23 | BuildRequires: trang |
0f7209c7 JB |
24 | BuildRequires: xz |
25 | Requires: glib2 >= 1:2.14.0 | |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
27 | ||
28 | %description | |
93a1619a ER |
29 | appdata-tools contains a command line program designed to validate |
30 | AppData application descriptions for standards compliance and to the | |
31 | style guide. | |
0f7209c7 JB |
32 | |
33 | %description -l pl.UTF-8 | |
34 | Narzędzia do weryfikacji AppData. | |
35 | ||
36 | %prep | |
37 | %setup -q | |
38 | ||
39 | %build | |
40 | %configure \ | |
41 | --disable-silent-rules | |
42 | %{__make} | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
46 | ||
47 | %{__make} install \ | |
48 | DESTDIR=$RPM_BUILD_ROOT | |
49 | ||
50 | %find_lang %{name} | |
51 | ||
52 | %clean | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
55 | %files -f %{name}.lang | |
56 | %defattr(644,root,root,755) | |
57 | %doc AUTHORS ChangeLog MAINTAINERS NEWS README | |
58 | %attr(755,root,root) %{_bindir}/appdata-validate | |
59 | %dir %{_datadir}/appdata/schema | |
60 | %{_datadir}/appdata/schema/appdata.rnc | |
50519b34 JB |
61 | %{_datadir}/appdata/schema/appdata.rng |
62 | %{_datadir}/appdata/schema/appdata.sch | |
0f7209c7 JB |
63 | %{_datadir}/appdata/schema/appdata.xsd |
64 | %{_datadir}/appdata/schema/schema-locating-rules.xml | |
65 | %{_aclocaldir}/appdata-xml.m4 | |
66 | %{_mandir}/man1/appdata-validate.1* | |
67 | ||
68 | # TODO: | |
69 | #%{_datadir}/emacs/site-lisp/site-start.d/appdata-rng-init.el |