[packages/mate-dialogs] - updated to 1.6.2, pl
qboosh
qboosh at pld-linux.org
Mon Dec 23 17:49:19 CET 2013
commit 010136cc416848a2876fc0d80dec048d3bdb04a5
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Dec 23 17:49:28 2013 +0100
- updated to 1.6.2, pl
mate-dialogs.spec | 34 +++++++++++++++++++++++-----------
1 file changed, 23 insertions(+), 11 deletions(-)
---
diff --git a/mate-dialogs.spec b/mate-dialogs.spec
index 9e422a5..6853726 100644
--- a/mate-dialogs.spec
+++ b/mate-dialogs.spec
@@ -1,35 +1,47 @@
+#
+# Conditional build:
+%bcond_with gtk3 # use GTK+ 3.x instead of 2.x
+#
Summary: Displays dialog boxes from shell scripts
+Summary(pl.UTF-8): Wyświetlanie okien dialogowych z poziomu skryptów powłoki
Name: mate-dialogs
-Version: 1.5.1
+Version: 1.6.2
Release: 1
-License: LGPL v2+ and GPL v2+
+License: LGPL v2+
Group: X11/Applications
-Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
-# Source0-md5: a589b23d179ddf6691358fae215cc1ca
+Source0: http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
+# Source0-md5: c24922c2e88ee4741c33985786ca5fef
URL: http://wiki.mate-desktop.org/mate-dialogs
-BuildRequires: gtk+-devel
-BuildRequires: gtk+2-devel
+%{!?with_gtk3:BuildRequires: gtk+2-devel >= 2:2.18.0}
+%{?with_gtk3:BuildRequires: gtk+3-devel >= 3.0.0}
+BuildRequires: intltool >= 0.40.0
BuildRequires: libnotify-devel >= 0.7.0
BuildRequires: mate-common
BuildRequires: mate-doc-utils
+BuildRequires: pkgconfig
BuildRequires: rarian-compat
BuildRequires: rpmbuild(find_lang) >= 1.36
BuildRequires: tar >= 1:1.22
BuildRequires: xz
+%{!?with_gtk3:Requires: gtk+2 >= 2:2.18.0}
+%{?with_gtk3:Requires: gtk+3 >= 3.0.0}
+Requires: libnotify >= 0.7.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Displays dialog boxes from shell scripts.
+%description -l pl.UTF-8
+Wyświetlanie okien dialogowych z poziomu skryptów powłoki.
+
%prep
%setup -q
%build
-NOCONFIGURE=1 ./autogen.sh
%configure \
+ --enable-libnotify \
--disable-silent-rules \
- --disable-static \
- --enable-libnotify
+ %{?with_gtk3:--with-gtk=3.0}
%{__make}
@@ -38,6 +50,7 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+# mate-dialogs gettext domain, matedialog mate help and omf files
%find_lang %{name} --with-omf --with-mate --all-name
%clean
@@ -45,8 +58,7 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc AUTHORS COPYING README
-%attr(755,root,root) %{_bindir}/gdialog
+%doc AUTHORS ChangeLog NEWS README THANKS TODO
%attr(755,root,root) %{_bindir}/matedialog
%{_mandir}/man1/matedialog.1*
%{_datadir}/matedialog
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/mate-dialogs.git/commitdiff/010136cc416848a2876fc0d80dec048d3bdb04a5
More information about the pld-cvs-commit
mailing list