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