From 495d93160a04c8c2e6f0e43fb54c9eaf3b706052338d7d7527d0387fee3154ae Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 18 Dec 2006 23:16:45 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hello?expand=0&rev=1 --- .gitattributes | 23 ++++++++ .gitignore | 1 + hello-1.3.dif | 4 ++ hello-2.1.1.tar.gz | 3 + hello.changes | 79 ++++++++++++++++++++++++++ hello.spec | 137 +++++++++++++++++++++++++++++++++++++++++++++ ready | 0 7 files changed, 247 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 hello-1.3.dif create mode 100644 hello-2.1.1.tar.gz create mode 100644 hello.changes create mode 100644 hello.spec create mode 100644 ready diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/hello-1.3.dif b/hello-1.3.dif new file mode 100644 index 0000000..fc29a69 --- /dev/null +++ b/hello-1.3.dif @@ -0,0 +1,4 @@ +--- TODO ++++ TODO 1997/09/04 09:57:22 +@@ -0,0 +1 @@ ++Add sound support diff --git a/hello-2.1.1.tar.gz b/hello-2.1.1.tar.gz new file mode 100644 index 0000000..d0e1142 --- /dev/null +++ b/hello-2.1.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c510e3ad0200517e3a14534e494b37dc0770efd733fc35ce2f445dd49c96a7d5 +size 389363 diff --git a/hello.changes b/hello.changes new file mode 100644 index 0000000..dab8019 --- /dev/null +++ b/hello.changes @@ -0,0 +1,79 @@ +------------------------------------------------------------------- +Wed Jan 25 21:30:22 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Wed Sep 14 22:42:16 CEST 2005 - cthiel@suse.de + +- specfile cleanup + +------------------------------------------------------------------- +Wed Mar 10 14:37:08 CET 2004 - meissner@suse.de + +- run make check +- added feedback based profiling optimization. + +------------------------------------------------------------------- +Sun Jan 11 10:30:27 CET 2004 - adrian@suse.de + +- build as user + +------------------------------------------------------------------- +Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de + +- fix install_info --delete call and move from preun to postun + +------------------------------------------------------------------- +Fri Feb 7 16:13:31 CET 2003 - ke@suse.de + +- Use install_info macro [# 23424]. + +------------------------------------------------------------------- +Tue Jun 11 13:17:42 CEST 2002 - schwab@suse.de + +- Don't package %{_infodir}/dir. + +------------------------------------------------------------------- +Tue Jun 11 11:45:01 CEST 2002 - ke@suse.de + +- Update to version 2.1.1; from NEWS: + * Automake support. + * Experimental NLS ("Native Language Support"). + * Translations for ca, da, de, el, eo, es, et, fi, fr, gl, he, hr, hu, + id, it, ja, ko, lv, nb, nl, nn, pl, pt, pt_BR, ru, sk, sl, sv, tr, and + uk. + * Test suite. + * Add a contrib directory. + * Manual page, produced with 'help2man'. + * Create proper copyright statement for all output formats. + * New greeting message ('-n', '--next-generation'). + * Bugfixes: + *. 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 16:06:32 CET 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 17:23:57 CEST 1999 - bs@suse.de + +- ran old prepare_spec on spec file to switch to new prepare_spec. + +------------------------------------------------------------------- +Thu Jul 16 08:45:05 MEST 1998 - ke@suse.de + +- Use the BuildRoot feature properly. +- Update home site (the Source: tag). + +Sun Sep 14 19:35:40 1997 - Karl Eichwalder + +- initial package: version 1.3 + diff --git a/hello.spec b/hello.spec new file mode 100644 index 0000000..2957fa8 --- /dev/null +++ b/hello.spec @@ -0,0 +1,137 @@ +# +# spec file for package hello (Version 2.1.1) +# +# Copyright (c) 2005 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. +# +# Please submit bugfixes or comments via http://www.suse.de/feedback/ +# + +# norootforbuild + +Name: hello +License: GPL +# How to define macros +%define hello echo "hello world" +Group: Development/Tools/Other +Provides: mailreader +Autoreqprov: on +Summary: A friendly greeting program +Version: 2.1.1 +Release: 314 +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 + +%description +The GNU `hello' program produces a familiar, friendly greeting. It +allows nonprogrammers to use a classic computer science tool which +would otherwise be unavailable to them. Because it is protected by the +GNU General Public License, users are free to share and change it. + +GNU hello supports many a lot native languages. + + + +Authors: +-------- + The King + Charles Hannum + David J. MacKenzie + Jan Brittenson + Michael I Bushnell + Mike Haertel + Noah Friedman + Roland McGrath + +%prep +# Use defined macro +%{hello} +%setup -q +%patch + +%build +# Update config.{guess,sub} +%{?suse_update_config} +export CFLAGS="$RPM_OPT_FLAGS" +./configure --prefix=%{_prefix} \ + --infodir=%{_infodir} \ + --mandir=%{_mandir} +%if %do_profiling + make CFLAGS="$CFLAGS "%cflags_profile_generate LDFLAGS="-fprofile-arcs" + make check + make clean + make CFLAGS="$CFLAGS "%cflags_profile_feedback LDFLAGS="-fprofile-arcs" + make check +%else + make + make check +%endif + +%install +make install DESTDIR=$RPM_BUILD_ROOT + +%post +%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz + +%postun +%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) +%doc COPYING TODO NEWS README THANKS ABOUT-NLS +%{_prefix}/bin/* +%{_infodir}/*.gz +%{_mandir}/*/* +%{_prefix}/share/locale/*/*/* + +%changelog -n hello +* Wed Jan 25 2006 - mls@suse.de +- converted neededforbuild to BuildRequires +* Wed Sep 14 2005 - cthiel@suse.de +- specfile cleanup +* Wed Mar 10 2004 - meissner@suse.de +- run make check +- added feedback based profiling optimization. +* Sun Jan 11 2004 - adrian@suse.de +- build as user +* 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 +- Use install_info macro [# 23424]. +* Tue Jun 11 2002 - schwab@suse.de +- Don't package %%{_infodir}/dir. +* Tue Jun 11 2002 - ke@suse.de +- Update to version 2.1.1; from NEWS: + * Automake support. + * Experimental NLS ("Native Language Support"). + * Translations for ca, da, de, el, eo, es, et, fi, fr, gl, he, hr, hu, + id, it, ja, ko, lv, nb, nl, nn, pl, pt, pt_BR, ru, sk, sl, sv, tr, and + uk. + * Test suite. + * Add a contrib directory. + * Manual page, produced with 'help2man'. + * Create proper copyright statement for all output formats. + * New greeting message ('-n', '--next-generation'). + * Bugfixes: + *. 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 +- 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 +- ran old prepare_spec on spec file to switch to new prepare_spec. +* Thu Jul 16 1998 - ke@suse.de +- Use the BuildRoot feature properly. +- Update home site (the Source: tag). +* Sun Sep 14 1997 - Karl Eichwalder +- initial package: version 1.3 diff --git a/ready b/ready new file mode 100644 index 0000000..473a0f4