Add spec file, thanks to Mihai T. Lazarescu.

2003-02-03  Glynn Foster  <glynn.foster@sun.com>

	* Makefile.am, configure.in, zenity.spec.in: Add
	spec file, thanks to Mihai T. Lazarescu.

	* THANKS, src/about.c: Update.
This commit is contained in:
Glynn Foster 2003-02-03 01:56:42 +00:00 committed by Glynn Foster
parent 966e216484
commit 00e48cb2b5
7 changed files with 94 additions and 0 deletions

View File

@ -15,3 +15,4 @@ autom4te.cache
aclocal.m4 aclocal.m4
Makefile.in Makefile.in
Makefile Makefile
zenity.spec

View File

@ -1,3 +1,10 @@
2003-02-03 Glynn Foster <glynn.foster@sun.com>
* Makefile.am, configure.in, zenity.spec.in: Add
spec file, thanks to Mihai T. Lazarescu.
* THANKS, src/about.c: Update.
2003-02-02 Daniel Yacob <locales@geez.org> 2003-02-02 Daniel Yacob <locales@geez.org>
* configure.in: Added Amharic (am) to ALL_LINGUAS * configure.in: Added Amharic (am) to ALL_LINGUAS

View File

@ -8,6 +8,8 @@ EXTRA_DIST = \
intltool-extract.in \ intltool-extract.in \
intltool-merge.in \ intltool-merge.in \
intltool-update.in \ intltool-update.in \
zenity.spec \
zenity.spec.in \
omf.make \ omf.make \
xmldocs.make \ xmldocs.make \
COPYING \ COPYING \

1
THANKS
View File

@ -3,6 +3,7 @@ Jonathan Blandford <jrb@redhat.com>
Anders Carlsson <andersca@codefactory.se> Anders Carlsson <andersca@codefactory.se>
John Fleck <jfleck@inkstain.net> John Fleck <jfleck@inkstain.net>
James Henstridge <james@daa.com.au> James Henstridge <james@daa.com.au>
Mihai T. Lazarescu <mihai@email.it>
Mike Newman <mike@gtnorthern.demon.co.uk> Mike Newman <mike@gtnorthern.demon.co.uk>
Havoc Pennington <hp@redhat.com> Havoc Pennington <hp@redhat.com>
Kristian Rietveld <kris@gtk.org> Kristian Rietveld <kris@gtk.org>

View File

@ -50,6 +50,7 @@ AC_SUBST(LDFLAGS)
AC_OUTPUT([ AC_OUTPUT([
Makefile Makefile
zenity.spec
po/Makefile.in po/Makefile.in
src/Makefile src/Makefile
data/Makefile data/Makefile

View File

@ -53,6 +53,7 @@ static const gchar *author_credits[] = {
"Anders Carlsson <andersca@codefactory.se>", "Anders Carlsson <andersca@codefactory.se>",
"John Fleck <jfleck@inkstain.net>", "John Fleck <jfleck@inkstain.net>",
"James Henstridge <james@daa.com.au>", "James Henstridge <james@daa.com.au>",
"Mihai T. Lazarescu <mihai@email.it>",
"Mike Newman <mike@gtnorthern.demon.co.uk>", "Mike Newman <mike@gtnorthern.demon.co.uk>",
"Havoc Pennington <hp@redhat.com>", "Havoc Pennington <hp@redhat.com>",
"Kristian Rietveld <kris@gtk.org>", "Kristian Rietveld <kris@gtk.org>",

81
zenity.spec.in Normal file
View File

@ -0,0 +1,81 @@
Summary: Zenity is a basic rewrite of gdialog, with simplicity of use in mind.
Name: zenity
Version: 1.0
Release: 1
Vendor: N/A
URL: http://ftp.gnome.org/pub/GNOME/sources/zenity/%{version}/
Source: http://ftp.gnome.org/pub/GNOME/sources/zenity/%{version}/%{name}-%{version}.tar.bz2
Copyright: GPL
License: GPL
Group: Applications/System
Packager: Mihai Lazarescu <mihai@email.it>
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: binutils
BuildRequires: bzip2
BuildRequires: fileutils
BuildRequires: gcc
BuildRequires: gettext
BuildRequires: glibc-devel
BuildRequires: gtk+ >= 2.0.0
BuildRequires: gzip
BuildRequires: info
BuildRequires: intltool
BuildRequires: libglade >= 2.0.0
BuildRequires: libgnomecanvas >= 2.0.0
BuildRequires: libtool
BuildRequires: make
BuildRequires: popt
BuildRequires: scrollkeeper
BuildRequires: sh-utils
BuildRequires: tar
Requires: gtk+ >= 2.0.0
Requires: libglade >= 2.0.0
Requires: libgnomecanvas >= 2.0.0
Provides: %{name}
%define rpm_prefix /usr
%description
Zenity is a basic rewrite of gdialog, without the pain involved
of trying to figure out commandline parsing. Zenity is
zen-like; simple and easy to use.
Zenity Dialogs: Calendar, Text Entry, Error, Informational,
File Selection, List, Progress, Question, Text Information,
and Warning.
Zenity is especially useful in scripts.
%prep
%setup -q
%{__rm} -rf $RPM_BUILD_ROOT
%build
./configure --prefix=%{rpm_prefix}
%{__make} all
%install
%{__rm} -rf $RPM_BUILD_ROOT%{rpm_prefix}
%{__make} prefix=$RPM_BUILD_ROOT%{rpm_prefix} install
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog HACKING INSTALL
%doc NEWS README THANKS TODO help
%{rpm_prefix}
%changelog
* Thu Feb 1 2003 Mihai Lazarescu <mihai@email.it>
- first release for version 1.0