64 lines
2 KiB
RPMSpec
64 lines
2 KiB
RPMSpec
Summary: Tools for AppData files
|
|
Name: appdata-tools
|
|
Version: 0.1.3
|
|
Release: 1%{?alphatag}%{?dist}
|
|
License: GPLv2+
|
|
URL: http://people.freedesktop.org/~hughsient/appdata/
|
|
Source0: http://people.freedesktop.org/~hughsient/releases/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: gettext
|
|
BuildRequires: intltool
|
|
BuildRequires: libxslt
|
|
BuildRequires: docbook-style-xsl
|
|
BuildRequires: glib2-devel >= 2.25.9-2
|
|
|
|
%description
|
|
appdata-tools contains a command line program designed to validate AppData
|
|
application descriptions for standards compliance and to the style guide.
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%find_lang %name
|
|
|
|
%files -f %{name}.lang
|
|
%doc AUTHORS COPYING NEWS README
|
|
%{_bindir}/appdata-validate
|
|
%{_mandir}/man1/appdata-validate.1.gz
|
|
%dir %{_datadir}/appdata/schema
|
|
%{_datadir}/appdata/schema/appdata.xsd
|
|
|
|
%changelog
|
|
* Tue Sep 24 2013 Richard Hughes <richard@hughsie.com> 0.1.3-1
|
|
- New upstream version
|
|
- Add a rule that <li> tags should not end with a full stop
|
|
- Allow names and sumaries to end with '.' if there are multiple dots
|
|
- Detect if <application> is used more that once
|
|
- Support AppData files of other kinds
|
|
|
|
* Fri Sep 20 2013 Richard Hughes <richard@hughsie.com> 0.1.2-1
|
|
- New upstream version
|
|
- Add some more restrictions, and have different values for --relax
|
|
- Add --version, --verbose and --relax command line switches
|
|
- Allow short paragraphs when introducing a list
|
|
- Do not count translated paragraphs in the description check
|
|
- Do not fail to validate when the translatable tags are duplicated
|
|
- Require punctuation in the right places
|
|
|
|
* Wed Sep 18 2013 Richard Hughes <richard@hughsie.com> 0.1.1-1
|
|
- New upstream version
|
|
- Add an xsd file to validate the AppStream XML
|
|
- Allow <name> and <summary> data in appdata files
|
|
- Assign each problem a kind
|
|
- Detect starting a description with 'This application'
|
|
- Fail validation if tags are duplicated
|
|
|
|
* Tue Sep 17 2013 Richard Hughes <richard@hughsie.com> 0.1.0-1
|
|
- First version for Fedora package review
|