[packages/gedit] - cleanup, updated dependencies, more docs - -devel doesn't require base

qboosh qboosh at pld-linux.org
Sun Jan 5 16:18:36 CET 2014


commit 7be77e00e7203373cab3575700d599271c474de2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jan 5 16:19:14 2014 +0100

    - cleanup, updated dependencies, more docs
    - -devel doesn't require base

 gedit.spec | 23 ++++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)
---
diff --git a/gedit.spec b/gedit.spec
index d727cb7..72b0c41 100644
--- a/gedit.spec
+++ b/gedit.spec
@@ -3,7 +3,7 @@ Summary(pl.UTF-8):	gedit - mały ale potężny edytor tekstu dla X Window
 Name:		gedit
 Version:	3.10.3
 Release:	1
-License:	GPL v2
+License:	GPL v2+
 Group:		X11/Applications/Editors
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/gedit/3.10/%{name}-%{version}.tar.xz
 # Source0-md5:	1c07e3661f8767c2223b73dd0de67f80
@@ -12,19 +12,19 @@ BuildRequires:	autoconf >= 2.63.2
 BuildRequires:	automake >= 1:1.11
 BuildRequires:	docbook-dtd412-xml
 BuildRequires:	enchant-devel >= 1.2.0
-BuildRequires:	gettext-devel
+BuildRequires:	gettext-devel >= 0.18
 BuildRequires:	glib2-devel >= 1:2.38.0
 BuildRequires:	gnome-common >= 2.24.0
 BuildRequires:	gnome-doc-utils >= 0.14.0
 BuildRequires:	gobject-introspection-devel >= 0.10.0
 BuildRequires:	gsettings-desktop-schemas-devel >= 3.2.0
 BuildRequires:	gtk+3-devel >= 3.10.0
+BuildRequires:	gtk-doc >= 1.0
 BuildRequires:	gtksourceview3-devel >= 3.10.0
-BuildRequires:	intltool >= 0.40.0
+BuildRequires:	intltool >= 0.50.1
 BuildRequires:	iso-codes >= 0.35
 BuildRequires:	libpeas-devel >= 1.7.0
 BuildRequires:	libpeas-gtk-devel >= 1.7.0
-BuildRequires:	libsoup-devel
 BuildRequires:	libtool >= 2:2.2.6
 BuildRequires:	libxml2-devel >= 1:2.6.31
 BuildRequires:	pkgconfig
@@ -35,17 +35,22 @@ BuildRequires:	rpmbuild(find_lang) >= 1.23
 BuildRequires:	rpmbuild(macros) >= 1.601
 BuildRequires:	sed >= 4.0
 BuildRequires:	tar >= 1:1.22
+BuildRequires:	xorg-lib-libX11-devel
 BuildRequires:	xz
 BuildRequires:	yelp-tools
 BuildRequires:	zeitgeist-devel >= 0.9.12
 Requires(post,postun):	desktop-file-utils
 Requires(post,postun):	glib2 >= 1:2.38.0
+Requires:	enchant >= 1.2.0
+Requires:	glib2 >= 1:2.38.0
 Requires:	gsettings-desktop-schemas >= 3.2.0
 Requires:	gtk+3 >= 3.10.0
+Requires:	gtksourceview3 >= 3.10.0
 Requires:	iso-codes >= 0.35
 Requires:	libpeas-loader-python3 >= 1.7.0
 Requires:	python3-pycairo
 Requires:	python3-pygobject3 >= 3.0.0
+Requires:	zeitgeist-libs >= 0.9.12
 Obsoletes:	gedit-plugins < 2.3.3-2
 # sr at Latn vs. sr at latin
 Obsoletes:	gedit2
@@ -71,7 +76,9 @@ dokumentów naraz i wiele innych.
 Summary:	gedit header files
 Summary(pl.UTF-8):	Pliki nagłówkowe gedit
 Group:		X11/Development/Libraries
-Requires:	%{name} = %{version}-%{release}
+# doesn't require base
+Requires:	glib2-devel >= 1:2.38.0
+Requires:	gtk+3-devel >= 3.10.0
 Requires:	gtksourceview3-devel >= 3.10.0
 Requires:	libpeas-devel >= 1.7.0
 Requires:	libpeas-gtk-devel >= 1.7.0
@@ -109,9 +116,9 @@ Dokumentacja API gedit.
 %{__automake}
 %configure \
 	--disable-silent-rules \
+	--disable-static \
 	--disable-updater \
 	--enable-gtk-doc \
-	--disable-static \
 	--with-html-dir=%{_gtkdocdir}
 %{__make}
 
@@ -124,8 +131,6 @@ rm -rf $RPM_BUILD_ROOT
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gedit/plugins/*.la \
 	$RPM_BUILD_ROOT%{_libdir}/gedit/*.la
 
-%py_postclean
-
 %find_lang gedit --with-gnome
 
 %clean
@@ -141,7 +146,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f gedit.lang
 %defattr(644,root,root,755)
-%doc README ChangeLog AUTHORS
+%doc AUTHORS BUGS ChangeLog MAINTAINERS NEWS README
 %attr(755,root,root) %{_bindir}/gedit
 %attr(755,root,root) %{_bindir}/gnome-text-editor
 %dir %{_libdir}/gedit
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/gedit.git/commitdiff/7be77e00e7203373cab3575700d599271c474de2



More information about the pld-cvs-commit mailing list