zenity/zenity.spec

101 lines
3.0 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
%define gitver %(echo %version | tr . _)
Name: zenity
Version: 3.14.0
Release: 1mamba
Summary: A tool that allows you to display GTK dialog boxes in commandline and shell scripts
Group: System/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://live.gnome.org/Zenity
#Source: git://git.gnome.org/zenity.git/ZENITY_%{gitver}/zenity-%{version}.tar.bz2
Source: ftp://ftp.gnome.org/pub/gnome/sources/zenity/%{majver}/zenity-%{version}.tar.xz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libglade-devel
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libnotify-devel
BuildRequires: libpango-devel
BuildRequires: libX11-devel
BuildRequires: libxml2-devel
## AUTOBUILDREQ-END
BuildRequires: libyelp-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
A tool that allows you to display GTK dialog boxes in commandline and shell scripts.
%prep
%setup -q
%build
#./autogen.sh
%configure --disable-scrollkeeper
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/gdialog
%{_bindir}/zenity
#%{_datadir}/omf/zenity/zenity-*.omf
%{_datadir}/zenity/clothes/*.png
%{_datadir}/zenity/zenity.ui
%{_datadir}/zenity/zenity*.png
%dir %{_datadir}/help/*/zenity
%{_datadir}/help/*/zenity/*
%{_mandir}/man1/zenity.1.gz
%doc AUTHORS COPYING
# ChangeLog NEWS README THANKS TODO
%changelog
* Thu Oct 16 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.14.0-1mamba
- update to 3.14.0
* Sun Jan 12 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 3.10.2-1mamba
- update to 3.10.2
* Thu Mar 28 2013 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
- automatic version update by autodist
* Sat Sep 29 2012 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
- automatic version update by autodist
* Sun Apr 01 2012 Automatic Build System <autodist@mambasoft.it> 3.4.0-1mamba
- update to 3.4.0
* Tue Apr 05 2011 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
- automatic update by autodist
* Tue Nov 16 2010 Automatic Build System <autodist@mambasoft.it> 2.32.1-1mamba
- automatic update to 2.32.1 by autodist
* Wed Sep 29 2010 Automatic Build System <autodist@mambasoft.it> 2.32.0-1mamba
- automatic update to 2.32.0 by autodist
* Sat May 29 2010 Automatic Build System <autodist@mambasoft.it> 2.30.0-1mamba
- automatic update to 2.30.0 by autodist
* Mon Sep 28 2009 Automatic Build System <autodist@mambasoft.it> 2.28.0-1mamba
- update to 2.28.0
* Fri Apr 03 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.26.0-1mamba
- package created by autospec