From 00e48cb2b53e1e932ef47a17fcc278395f375981 Mon Sep 17 00:00:00 2001 From: Glynn Foster Date: Mon, 3 Feb 2003 01:56:42 +0000 Subject: [PATCH] Add spec file, thanks to Mihai T. Lazarescu. 2003-02-03 Glynn Foster * Makefile.am, configure.in, zenity.spec.in: Add spec file, thanks to Mihai T. Lazarescu. * THANKS, src/about.c: Update. --- .cvsignore | 1 + ChangeLog | 7 +++++ Makefile.am | 2 ++ THANKS | 1 + configure.in | 1 + src/about.c | 1 + zenity.spec.in | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 94 insertions(+) create mode 100644 zenity.spec.in diff --git a/.cvsignore b/.cvsignore index a825a00..edd95d8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -15,3 +15,4 @@ autom4te.cache aclocal.m4 Makefile.in Makefile +zenity.spec diff --git a/ChangeLog b/ChangeLog index 43bec9d..ed4b7ff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2003-02-03 Glynn Foster + + * 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 * configure.in: Added Amharic (am) to ALL_LINGUAS diff --git a/Makefile.am b/Makefile.am index f339c66..5481b3a 100644 --- a/Makefile.am +++ b/Makefile.am @@ -8,6 +8,8 @@ EXTRA_DIST = \ intltool-extract.in \ intltool-merge.in \ intltool-update.in \ + zenity.spec \ + zenity.spec.in \ omf.make \ xmldocs.make \ COPYING \ diff --git a/THANKS b/THANKS index 2c02f44..ea50183 100644 --- a/THANKS +++ b/THANKS @@ -3,6 +3,7 @@ Jonathan Blandford Anders Carlsson John Fleck James Henstridge +Mihai T. Lazarescu Mike Newman Havoc Pennington Kristian Rietveld diff --git a/configure.in b/configure.in index af27603..52f45e5 100644 --- a/configure.in +++ b/configure.in @@ -50,6 +50,7 @@ AC_SUBST(LDFLAGS) AC_OUTPUT([ Makefile +zenity.spec po/Makefile.in src/Makefile data/Makefile diff --git a/src/about.c b/src/about.c index 9ca799c..2fe9d3d 100644 --- a/src/about.c +++ b/src/about.c @@ -53,6 +53,7 @@ static const gchar *author_credits[] = { "Anders Carlsson ", "John Fleck ", "James Henstridge ", + "Mihai T. Lazarescu ", "Mike Newman ", "Havoc Pennington ", "Kristian Rietveld ", diff --git a/zenity.spec.in b/zenity.spec.in new file mode 100644 index 0000000..dca2f6d --- /dev/null +++ b/zenity.spec.in @@ -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 +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 +- first release for version 1.0