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