- update to version 2.8

- use newer autotools and friends
  - update translations

OBS-URL: https://build.opensuse.org/package/show/Base:System/hello?expand=0&rev=6
This commit is contained in:
Petr Uzel 2012-04-22 10:54:23 +00:00 committed by Git OBS Bridge
parent 8a5a9525d8
commit 266390eaf7
4 changed files with 21 additions and 18 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:41cbb1b8296f7f791164e4da1d10c6c8b905bc7d0136f34ebe0b198fb08cfb30
size 360569

3
hello-2.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e6b77f81f7cf7daefad4a9f5b65de6cae9c3f13b8cfbaea8cb53bb5ea5460d73
size 697483

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Apr 22 10:50:38 UTC 2012 - puzel@suse.com
- update to version 2.8
- use newer autotools and friends
- update translations
-------------------------------------------------------------------
Wed Aug 26 12:53:54 CEST 2009 - mls@suse.de

View File

@ -1,7 +1,7 @@
#
# spec file for package hello (Version 2.3)
# spec file for package hello
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,18 +16,17 @@
#
Name: hello
License: GPL v3 or later
# How to define macros
%define hello echo "hello world"
Group: Development/Tools/Other
Provides: mailreader
AutoReqProv: on
Summary: A Friendly Greeting Program
Version: 2.3
Release: 79
Source0: ftp://ftp.gnu.org/pub/gnu/hello/hello-%{version}.tar.bz2
License: GPL-3.0+
Group: Development/Tools/Other
Version: 2.8
Release: 0
Url: http://www.gnu.org/software/hello
Source0: ftp://ftp.gnu.org/pub/gnu/hello/hello-%{version}.tar.gz
Patch0: hello-1.3.dif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %install_info_prereq
@ -62,7 +61,7 @@ Authors:
rm -f doc/*.info
%build
export CFLAGS="$RPM_OPT_FLAGS"
export CFLAGS="%{optflags}"
%configure
%if %do_profiling
make CFLAGS="$CFLAGS %cflags_profile_generate" LDFLAGS="-fprofile-arcs"
@ -77,7 +76,7 @@ export CFLAGS="$RPM_OPT_FLAGS"
make check
%install
make install DESTDIR=$RPM_BUILD_ROOT
%make_install
%find_lang %{name}
%post
@ -86,9 +85,6 @@ make install DESTDIR=$RPM_BUILD_ROOT
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-, root, root)
%doc COPYING TODO NEWS README THANKS ABOUT-NLS