]> git.pld-linux.org Git - packages/appdata-tools.git/blob - appdata-tools.spec
- updated to 0.1.7
[packages/appdata-tools.git] / appdata-tools.spec
1 # TODO:
2 # - package emacs file:
3 # /usr/share/emacs/site-lisp/site-start.d/appdata-rng-init.el
4 Summary:        Tools to validate AppData
5 Summary(pl.UTF-8):      Narzędzia do weryfikacji AppData
6 Name:           appdata-tools
7 Version:        0.1.7
8 Release:        1
9 License:        GPL v2+
10 Group:          Applications/System
11 Source0:        http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
12 # Source0-md5:  adc82ce1d396c45203a842a508114ead
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
21 BuildRequires:  python
22 BuildRequires:  python-lxml
23 BuildRequires:  tar >= 1:1.22
24 BuildRequires:  trang
25 BuildRequires:  xz
26 Requires:       glib2 >= 1:2.14.0
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %description
30 appdata-tools contains a command line program designed to validate
31 AppData application descriptions for standards compliance and to the
32 style guide.
33
34 %description -l pl.UTF-8
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.
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
63 %{_datadir}/appdata/schema/appdata.rng
64 %{_datadir}/appdata/schema/appdata.sch
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
This page took 0.134589 seconds and 3 git commands to generate.