Tidy spec file

Use pkg-config for yelp-xsl BuildRequires. Fix bogus date in changelog.
Preserve timestamps during installation. Update URL.
This commit is contained in:
David King 2014-07-01 13:51:31 +01:00
parent 5cdaa1f3ea
commit a3eb902434

View File

@ -1,15 +1,15 @@
Name: yelp-tools
Version: 3.13.3
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Create, manage, and publish documentation for Yelp
Group: Applications/Publishing
License: GPLv2+
URL: http://projects.gnome.org/yelp/
Source0: http://download.gnome.org/sources/yelp-tools/3.13/yelp-tools-%{version}.tar.xz
URL: https://wiki.gnome.org/Apps/Yelp
Source0: https://download.gnome.org/sources/%{name}/3.13/%{name}-%{version}.tar.xz
BuildArch: noarch
BuildRequires: yelp-xsl-devel
BuildRequires: pkgconfig(yelp-xsl)
BuildRequires: itstool
BuildRequires: libxslt
@ -31,7 +31,7 @@ wraps things up in a developer-friendly way.
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
make DESTDIR=%{buildroot} INSTALL="install -p" install
%files
%doc AUTHORS COPYING COPYING.GPL README
@ -42,6 +42,9 @@ make install DESTDIR=$RPM_BUILD_ROOT
%{_datadir}/aclocal/yelp.m4
%changelog
* Tue Jul 01 2014 David King <amigadave@amigadave.com> - 3.13.3-2
- Tidy spec file
* Tue Jun 24 2014 Richard Hughes <rhughes@redhat.com> - 3.13.3-1
- Update to 3.13.3
@ -135,5 +138,5 @@ make install DESTDIR=$RPM_BUILD_ROOT
* Thu Aug 18 2011 Matthias Clasen <mclasen@redhat.com> 3.1.5-1
- Update to 3.1.5
* Mon Jun 16 2011 Zeeshan Ali <zeenix@redhat.com> 3.1.4-1
* Thu Jun 16 2011 Zeeshan Ali <zeenix@redhat.com> 3.1.4-1
- Initial release.