This commit is contained in:
parent
80d2285228
commit
8c4050500a
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 16 03:36:00 CET 2008 - crrodriguez@suse.de
|
||||
|
||||
- fix file-not-in-lang errors
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 9 10:48:34 CEST 2007 - meissner@suse.de
|
||||
|
||||
|
47
hello.spec
47
hello.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package hello (Version 2.3)
|
||||
#
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
@ -10,16 +10,17 @@
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: hello
|
||||
License: GPL v3 or later
|
||||
# How to define macros
|
||||
%define hello echo "hello world"
|
||||
Group: Development/Tools/Other
|
||||
Provides: mailreader
|
||||
Autoreqprov: on
|
||||
AutoReqProv: on
|
||||
Summary: A Friendly Greeting Program
|
||||
Version: 2.3
|
||||
Release: 1
|
||||
Release: 40
|
||||
Source0: ftp://ftp.gnu.org/pub/gnu/hello/hello-%{version}.tar.bz2
|
||||
Patch0: hello-1.3.dif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -53,12 +54,8 @@ Authors:
|
||||
%patch
|
||||
|
||||
%build
|
||||
# Update config.{guess,sub}
|
||||
%{?suse_update_config}
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
./configure --prefix=%{_prefix} \
|
||||
--infodir=%{_infodir} \
|
||||
--mandir=%{_mandir}
|
||||
%configure \
|
||||
%if %do_profiling
|
||||
make CFLAGS="$CFLAGS "%cflags_profile_generate LDFLAGS="-fprofile-arcs"
|
||||
make check
|
||||
@ -72,6 +69,7 @@ export CFLAGS="$RPM_OPT_FLAGS"
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%find_lang %{name}
|
||||
|
||||
%post
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
@ -82,35 +80,36 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%files -f %{name}.lang
|
||||
%defattr(-, root, root)
|
||||
%doc COPYING TODO NEWS README THANKS ABOUT-NLS
|
||||
%{_prefix}/bin/*
|
||||
%{_bindir}/*
|
||||
%{_infodir}/*.gz
|
||||
%{_mandir}/*/*
|
||||
%{_prefix}/share/locale/*/*/*
|
||||
|
||||
%changelog
|
||||
* Mon Jul 09 2007 - meissner@suse.de
|
||||
* Sun Mar 16 2008 crrodriguez@suse.de
|
||||
- fix file-not-in-lang errors
|
||||
* Mon Jul 09 2007 meissner@suse.de
|
||||
- upgraded to version 2.3
|
||||
- bugfixes, updates to buildsystem
|
||||
- now GPLv3 licensed.
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
* Wed Jan 25 2006 mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Wed Sep 14 2005 - cthiel@suse.de
|
||||
* Wed Sep 14 2005 cthiel@suse.de
|
||||
- specfile cleanup
|
||||
* Wed Mar 10 2004 - meissner@suse.de
|
||||
* Wed Mar 10 2004 meissner@suse.de
|
||||
- run make check
|
||||
- added feedback based profiling optimization.
|
||||
* Sun Jan 11 2004 - adrian@suse.de
|
||||
* Sun Jan 11 2004 adrian@suse.de
|
||||
- build as user
|
||||
* Thu Apr 24 2003 - ro@suse.de
|
||||
* Thu Apr 24 2003 ro@suse.de
|
||||
- fix install_info --delete call and move from preun to postun
|
||||
* Fri Feb 07 2003 - ke@suse.de
|
||||
* Fri Feb 07 2003 ke@suse.de
|
||||
- Use install_info macro [# 23424].
|
||||
* Tue Jun 11 2002 - schwab@suse.de
|
||||
* Tue Jun 11 2002 schwab@suse.de
|
||||
- Don't package %%{_infodir}/dir.
|
||||
* Tue Jun 11 2002 - ke@suse.de
|
||||
* Tue Jun 11 2002 ke@suse.de
|
||||
- Update to version 2.1.1; from NEWS:
|
||||
* Automake support.
|
||||
* Experimental NLS ("Native Language Support").
|
||||
@ -126,16 +125,16 @@ rm -rf $RPM_BUILD_ROOT
|
||||
*. GNU hello ('-m') does not loop forever if MAIL environment variable is
|
||||
not set.
|
||||
- spec file: Use DESTDIR; use predefined RPM macros; add %%clean section.
|
||||
* Sun Feb 20 2000 - ke@suse.de
|
||||
* Sun Feb 20 2000 ke@suse.de
|
||||
- General spec file cleanup:
|
||||
- Add group tag.
|
||||
- ./configure -> %%build.
|
||||
- Use %%{version} and %%{_infodir} macros.
|
||||
- Add `#neededforbuild automake' to use the suse_update_config macro.
|
||||
* Mon Sep 13 1999 - bs@suse.de
|
||||
* Mon Sep 13 1999 bs@suse.de
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
* Thu Jul 16 1998 - ke@suse.de
|
||||
* Thu Jul 16 1998 ke@suse.de
|
||||
- Use the BuildRoot feature properly.
|
||||
- Update home site (the Source: tag).
|
||||
* Sun Sep 14 1997 - Karl Eichwalder <ke@suse.de>
|
||||
* Sun Sep 14 1997 Karl Eichwalder <ke@suse.de>
|
||||
- initial package: version 1.3
|
||||
|
Loading…
Reference in New Issue
Block a user