[mate-doc-utils] sort spec file
Wolfgang Ulbrich
raveit65 at fedoraproject.org
Fri Oct 25 10:44:58 UTC 2013
commit 532912bc56215b72d956d60860af719c81149054
Author: raveit65 <chat-to-me at raveit.de>
Date: Fri Oct 25 12:45:00 2013 +0200
sort spec file
mate-doc-utils.spec | 31 +++++++++++++++++--------------
1 files changed, 17 insertions(+), 14 deletions(-)
---
diff --git a/mate-doc-utils.spec b/mate-doc-utils.spec
index 591c770..95d8f1a 100644
--- a/mate-doc-utils.spec
+++ b/mate-doc-utils.spec
@@ -5,11 +5,16 @@ Release: 1%{?dist}
License: GPLv2+ and LGPLv2+
URL: http://mate-desktop.org
Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
+BuildArch: noarch
-#For users upgrading from the unofficial MATE desktop Fedora repo
-Obsoletes: mate-doc-utils-stylesheets < %{version}-%{release}
-Provides: mate-doc-utils-stylesheets = %{version}-%{release}
+BuildRequires: mate-common
+BuildRequires: pkgconfig(libxslt)
+BuildRequires: pkgconfig(rarian)
+BuildRequires: pkgconfig(libxml-2.0)
+BuildRequires: pkgconfig(gnome-doc-utils)
+Requires: mate-common
+Requires: gnome-doc-utils
# for /usr/share/aclocal
Requires: automake
# for the validation with xsltproc to use local dtds
@@ -21,16 +26,9 @@ Requires: xml-common
# for /usr/share/xml/mallard
Requires: gnome-doc-utils-stylesheets
-BuildArch: noarch
-
-BuildRequires: mate-common
-BuildRequires: pkgconfig(libxslt)
-BuildRequires: pkgconfig(rarian)
-BuildRequires: pkgconfig(libxml-2.0)
-BuildRequires: pkgconfig(gnome-doc-utils)
-
-Requires: mate-common
-Requires: gnome-doc-utils
+#For users upgrading from the unofficial MATE desktop Fedora repo
+Obsoletes: mate-doc-utils-stylesheets < %{version}-%{release}
+Provides: mate-doc-utils-stylesheets = %{version}-%{release}
%description
mate-doc-utils is a collection of documentation utilities for the Mate
@@ -47,7 +45,7 @@ make %{?_smp_mflags} V=1
%install
make DESTDIR=%{buildroot} install
-%find_lang %{name}
+
#Remove unnecessary python sitepackages provided by gnome-doc-utils
rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/*
rm -rf $RPM_BUILD_ROOT/%{python_sitelib}/xml2po/
@@ -58,6 +56,9 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/pkgconfig/xml2po.pc
#Debian script not needed
rm -rf $RPM_BUILD_ROOT/%{_datadir}/mate-doc-utils/mate-debian.sh
+%find_lang %{name}
+
+
%files -f %{name}.lang
%doc AUTHORS README NEWS COPYING COPYING.GPL COPYING.LGPL
%{_bindir}/mate-doc-prepare
@@ -71,9 +72,11 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/mate-doc-utils/mate-debian.sh
%{_datadir}/xml/mate
%{_datadir}/pkgconfig/mate-doc-utils.pc
+
%changelog
* Fri Oct 25 2013 Wolfgang Ulbrich <chat-to-me at raveit.de> - 1.6.2-1
- update to 1.6.2 release
+- sort spec file
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.6.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
More information about the scm-commits
mailing list