/[packages]/cauldron/zenity/current/SPECS/zenity.spec
ViewVC logotype

Contents of /cauldron/zenity/current/SPECS/zenity.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 110390 - (show annotations) (download)
Mon Jun 20 09:59:11 2011 UTC (10 years, 3 months ago) by pterjan
File size: 1515 byte(s)
- Update BuildRequires (and set them to depend on the pkgconfig tested in configure)
1 Name: zenity
2 Summary: Call GNOME dialog boxes from the command line
3 Version: 3.0.0
4 Release: %mkrel 1
5 Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.bz2
6 URL: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}
7 License: LGPLv2+
8 Group: Development/GNOME and GTK+
9 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
10 BuildRequires: pkgconfig(glib-2.0)
11 BuildRequires: pkgconfig(gtk+-3.0) >= 3.0.0
12 BuildRequires: pkgconfig(libnotify) >= 0.6.1
13 BuildRequires: pkgconfig(x11)
14 BuildRequires: scrollkeeper
15 BuildRequires: intltool
16 BuildRequires: gnome-doc-utils >= 0.3.2
17 BuildRequires: libxslt-proc
18 Requires(post): scrollkeeper >= 0.3
19 Requires(postun): scrollkeeper >= 0.3
20 Conflicts: gnome-utils < 2.3.3
21 Provides: xmsg-dialog
22
23 %description
24 Zenity allows you to display dialog boxes from the commandline and shell
25 scripts.
26
27 %prep
28 %setup -q
29
30 %build
31 %configure2_5x --disable-scrollkeeper
32 %make
33
34 %install
35 rm -rf $RPM_BUILD_ROOT %name-0.1.lang
36
37 %makeinstall_std
38
39
40 %find_lang %name-0.1 --with-gnome --all-name
41 for omf in %buildroot%_datadir/omf/%name/%name-??*.omf;do
42 echo "%lang($(basename $omf|sed -e s/%name-// -e s/.omf//)) $(echo $omf|sed -e s!%buildroot!!)" >> %name-0.1.lang
43 done
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %post
49 %update_scrollkeeper
50
51 %postun
52 %clean_scrollkeeper
53
54 %files -f %name-0.1.lang
55 %defattr(-,root,root)
56 %doc AUTHORS COPYING HACKING NEWS README THANKS TODO
57 %{_bindir}/*
58 %{_datadir}/%{name}
59 %dir %{_datadir}/omf/%{name}
60 %{_datadir}/omf/%{name}/%name-C.omf
61 %{_mandir}/man1/*
62
63

  ViewVC Help
Powered by ViewVC 1.1.28