[5311] | 1 | Summary: Display graphical dialog boxes from shell scripts |
---|
| 2 | Name: mate-dialogs |
---|
[6172] | 3 | Version: 1.2.0 |
---|
[5311] | 4 | Release: 1%{?_dist_release} |
---|
| 5 | Source0: %{name}-%{version}.tar.xz |
---|
| 6 | License: GPLv2 |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | URL: https://matsusoft.com.ar/projects/mate/ |
---|
| 9 | |
---|
| 10 | BuildRequires: mate-common |
---|
| 11 | BuildRequires: mate-doc-utils |
---|
| 12 | BuildRequires: gtk2-devel |
---|
| 13 | BuildRequires: gtk-doc |
---|
| 14 | BuildRequires: autoconf |
---|
| 15 | BuildRequires: automake |
---|
| 16 | |
---|
| 17 | BuildRequires: gnome-doc-utils |
---|
| 18 | |
---|
| 19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 20 | |
---|
| 21 | Vendor: Project Vine |
---|
| 22 | Distribution: Vine Linux |
---|
| 23 | Packager: Takemikaduchi |
---|
| 24 | |
---|
| 25 | |
---|
| 26 | %description |
---|
| 27 | This is matedialog - a rewrite of gdialog, the MATE port of dialog |
---|
| 28 | which allows you to display dialog boxes from the commandline |
---|
| 29 | and shell scripts. If you understand, things are just as they |
---|
| 30 | are. If you don't understand, things are just as they are. |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | %prep |
---|
| 34 | %setup -q |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %build |
---|
| 38 | (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi) |
---|
| 39 | %configure \ |
---|
| 40 | --disable-static \ |
---|
| 41 | --disable-scrollkeeper |
---|
| 42 | |
---|
| 43 | %{__make} %{?_smp_mflags} |
---|
| 44 | |
---|
| 45 | |
---|
| 46 | %install |
---|
| 47 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 48 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 49 | |
---|
| 50 | find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} \; |
---|
| 51 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 52 | |
---|
| 53 | %{__rm} -f ${RPM_BUILD_ROOT}/%{_bindir}/gdialog |
---|
| 54 | |
---|
[6172] | 55 | %find_lang %{name} |
---|
[5311] | 56 | |
---|
| 57 | |
---|
| 58 | %clean |
---|
| 59 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 60 | |
---|
| 61 | %post -p /sbin/ldconfig |
---|
| 62 | |
---|
| 63 | %postun -p /sbin/ldconfig |
---|
| 64 | |
---|
| 65 | |
---|
[6172] | 66 | %files -f %{name}.lang |
---|
[5311] | 67 | %defattr(-,root,root,-) |
---|
| 68 | %doc COPYING ChangeLog NEWS README |
---|
| 69 | %{_bindir}/matedialog |
---|
| 70 | %{_datadir}/mate/help |
---|
| 71 | %{_datadir}/matedialog |
---|
| 72 | %{_datadir}/omf/matedialog |
---|
| 73 | %{_mandir}/man1/matedialog.1.gz |
---|
| 74 | |
---|
| 75 | |
---|
| 76 | %changelog |
---|
[6172] | 77 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1 |
---|
| 78 | - new upstream release |
---|
| 79 | |
---|
[5311] | 80 | * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1 |
---|
| 81 | - initial build for Vine Linux |
---|
| 82 | |
---|