]> git.pld-linux.org Git - packages/mate-dialogs.git/blob - mate-dialogs.spec
- x32 rebuild
[packages/mate-dialogs.git] / mate-dialogs.spec
1 #
2 # Conditional build:
3 %bcond_with     gtk3    # use GTK+ 3.x instead of 2.x
4 #
5 Summary:        Displays dialog boxes from shell scripts
6 Summary(pl.UTF-8):      Wyświetlanie okien dialogowych z poziomu skryptów powłoki
7 Name:           mate-dialogs
8 Version:        1.8.0
9 Release:        2
10 License:        LGPL v2+
11 Group:          X11/Applications
12 Source0:        http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
13 # Source0-md5:  c52cba1b3cb8c600e710e129a5118e84
14 URL:            http://wiki.mate-desktop.org/mate-dialogs
15 BuildRequires:  autoconf >= 2.59
16 BuildRequires:  automake >= 1:1.9
17 BuildRequires:  glib2-devel
18 %{!?with_gtk3:BuildRequires:    gtk+2-devel >= 2:2.18.0}
19 %{?with_gtk3:BuildRequires:     gtk+3-devel >= 3.0.0}
20 BuildRequires:  intltool >= 0.40.0
21 BuildRequires:  libnotify-devel >= 0.7.0
22 BuildRequires:  mate-common
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpmbuild(find_lang) >= 1.36
25 BuildRequires:  tar >= 1:1.22
26 BuildRequires:  xorg-lib-libX11-devel
27 BuildRequires:  xz
28 BuildRequires:  yelp-tools
29 %{!?with_gtk3:Requires: gtk+2 >= 2:2.18.0}
30 %{?with_gtk3:Requires:  gtk+3 >= 3.0.0}
31 Requires:       libnotify >= 0.7.0
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 Displays dialog boxes from shell scripts.
36
37 %description -l pl.UTF-8
38 Wyświetlanie okien dialogowych z poziomu skryptów powłoki.
39
40 %prep
41 %setup -q
42
43 %build
44 %{__aclocal} -I m4
45 %{__autoconf}
46 %{__autoheader}
47 %{__automake}
48 %configure \
49         --enable-libnotify \
50         --disable-silent-rules \
51         %{?with_gtk3:--with-gtk=3.0}
52
53 %{__make}
54
55 %install
56 rm -rf $RPM_BUILD_ROOT
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 # mate-dialogs gettext domain, matedialog mate help files
61 %find_lang %{name} --with-mate --all-name
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %files -f %{name}.lang
67 %defattr(644,root,root,755)
68 %doc AUTHORS ChangeLog NEWS README THANKS TODO
69 %attr(755,root,root) %{_bindir}/matedialog
70 %{_mandir}/man1/matedialog.1*
71 %{_datadir}/matedialog
This page took 0.069102 seconds and 3 git commands to generate.