]> git.pld-linux.org Git - packages/zenity.git/blob - zenity.spec
7cb1dbec23494e9047b8215859011086fc92da4e
[packages/zenity.git] / zenity.spec
1 Summary:        The GNOME port of dialog
2 Summary(pl.UTF-8):      Port dialog dla GNOME
3 Name:           zenity
4 Version:        2.20.1
5 Release:        1
6 License:        LGPL v2+
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/zenity/2.20/%{name}-%{version}.tar.bz2
9 # Source0-md5:  b9989582ea43f8fd58819d85ef9c9bc5
10 URL:            http://freshmeat.net/projects/zenity/
11 BuildRequires:  GConf2-devel >= 2.20.0
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  gettext-devel
15 BuildRequires:  glib2-devel >= 1:2.14.0
16 BuildRequires:  gnome-common >= 2.20.0
17 BuildRequires:  gnome-doc-utils >= 0.12.0
18 BuildRequires:  intltool >= 0.36.1
19 BuildRequires:  libglade2-devel >= 1:2.6.2
20 BuildRequires:  libgnomecanvas-devel >= 2.20.0
21 BuildRequires:  perl-base
22 BuildRequires:  pkgconfig
23 BuildRequires:  rpmbuild(find_lang) >= 1.23
24 BuildRequires:  rpmbuild(macros) >= 1.311
25 BuildRequires:  scrollkeeper
26 Requires(post,postun):  scrollkeeper
27 Requires:       libgnomecanvas >= 2.20.0
28 # sr@Latn vs. sr@latin
29 Conflicts:      glibc-misc < 6:2.7
30 Conflicts:      gnome-utils < 2.3.3
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %description
34 zenity is a rewrite of gdialog, the GNOME port of dialog which allows
35 you to display dialog boxes from the commandline and shell scripts.
36
37 %description -l pl.UTF-8
38 zenity jest kontynuacją programu gdialog, portu dialog dla GNOME.
39 Umożliwia on wyświetlanie okien dialogowych z linii komend i ze
40 skryptów powłoki.
41
42 %prep
43 %setup -q
44
45 %build
46 %{__gnome_doc_prepare}
47 %{__intltoolize}
48 %{__gnome_doc_common}
49 %{__aclocal}
50 %{__autoconf}
51 %{__automake}
52 %configure
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57
58 %{__make} install \
59         DESTDIR=$RPM_BUILD_ROOT
60
61 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
62         mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
63
64 %find_lang %{name} --with-gnome --with-omf
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %post
70 %scrollkeeper_update_post
71
72 %postun
73 %scrollkeeper_update_postun
74
75 %files -f %{name}.lang
76 %defattr(644,root,root,755)
77 %doc AUTHORS NEWS README THANKS TODO
78 %attr(755,root,root) %{_bindir}/*
79 %{_datadir}/%{name}
80 %{_mandir}/man1/*
This page took 0.090346 seconds and 2 git commands to generate.