2006-12-19 00:15:55 +01:00
|
|
|
#
|
|
|
|
# spec file for package fillup (Version 1.42)
|
|
|
|
#
|
2008-10-23 04:30:44 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:15:55 +01:00
|
|
|
#
|
2008-10-23 04:30:44 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-19 00:15:55 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-10-23 04:30:44 +02:00
|
|
|
|
2006-12-19 00:15:55 +01:00
|
|
|
Name: fillup
|
2008-10-23 04:30:44 +02:00
|
|
|
License: GPL v2 or later
|
2006-12-19 00:15:55 +01:00
|
|
|
Group: System/Base
|
|
|
|
Provides: aaa_base:/bin/fillup
|
2008-10-23 04:30:44 +02:00
|
|
|
AutoReqProv: on
|
2006-12-19 00:15:55 +01:00
|
|
|
Version: 1.42
|
2008-10-23 04:30:44 +02:00
|
|
|
Release: 242
|
2006-12-19 00:15:55 +01:00
|
|
|
Summary: Tool for Merging Config Files
|
|
|
|
Source: fillup-%{version}.tar.bz2
|
|
|
|
Patch: fillup-optflags.patch
|
|
|
|
Patch1: fillup-warnings.dif
|
|
|
|
Patch2: fillup-%{version}.dif
|
|
|
|
Patch3: fillup-retval.dif
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%define fillup_info_entry * fillup: (fillup) fillup. SuSE-fillup-tool.
|
|
|
|
|
|
|
|
%description
|
|
|
|
fillup merges files that hold variables. A variable is defined by an
|
|
|
|
entity composed of a preceding comment, a variable name, an assignment
|
|
|
|
delimiter, and a related variable value. A variable is determined by
|
|
|
|
its variable name.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Joerg Dippel <jd@suse.de>
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1
|
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p0
|
|
|
|
%patch3 -p0
|
|
|
|
|
|
|
|
%build
|
|
|
|
#
|
|
|
|
# Be sure that the tests for fillup are run in
|
|
|
|
# DEBUG mode for comparision with the references
|
|
|
|
#
|
|
|
|
make clean
|
|
|
|
make test OPTISPLUS="$RPM_OPT_FLAGS"
|
|
|
|
#
|
|
|
|
# For the real world make clean and use the
|
|
|
|
# optimzed version.
|
|
|
|
#
|
|
|
|
make clean
|
|
|
|
make compile COMPILE_OPTION=OPTIMIZE OPTISPLUS="$RPM_OPT_FLAGS"
|
|
|
|
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/var/adm/fillup-templates
|
|
|
|
#
|
|
|
|
# install fillup
|
|
|
|
#
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT/bin
|
|
|
|
install -m 755 BIN/fillup $RPM_BUILD_ROOT/bin
|
|
|
|
install -d $RPM_BUILD_ROOT/%{_mandir}/man8
|
|
|
|
install -m 644 SGML/fillup.8.gz $RPM_BUILD_ROOT/%{_mandir}/man8
|
|
|
|
|
2008-10-23 04:30:44 +02:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2006-12-19 00:15:55 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
/bin/fillup
|
|
|
|
%{_mandir}/man8/fillup*
|
|
|
|
|
2008-10-23 04:30:44 +02:00
|
|
|
%changelog
|
|
|
|
* Tue Sep 19 2006 rguenther@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- Do not install info or plaintext documentation (same as manpage).
|
|
|
|
- Remove sgmltool BuildRequires.
|
2008-10-23 04:30:44 +02:00
|
|
|
* Mon May 22 2006 schwab@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- Don't strip binaries.
|
2008-10-23 04:30:44 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-10-23 04:30:44 +02:00
|
|
|
* Wed Jan 11 2006 ro@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- fix missing return value in test-code (#139594)
|
2008-10-23 04:30:44 +02:00
|
|
|
* Fri Sep 02 2005 werner@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- Fix segv on big endian (bug #114066)
|
|
|
|
* Correct usage of EOF macro, this is and was never a character
|
|
|
|
* Make it handle missing newline at EOF
|
|
|
|
- Make it strict alias safe
|
|
|
|
- Compare the correct debug output in test suite (bug #95371)
|
2008-10-23 04:30:44 +02:00
|
|
|
* Wed Jul 27 2005 ro@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- silence some compiler warnings (#95370)
|
2008-10-23 04:30:44 +02:00
|
|
|
* Tue Jun 28 2005 ro@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- removed -fsigned-char (#93875)
|
2008-10-23 04:30:44 +02:00
|
|
|
* Wed Jun 15 2005 meissner@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- Use RPM_OPT_FLAGS -fno-strict-aliasing.
|
|
|
|
- compile OPTIMIZE, drop some no longer applying -f flags.
|
2008-10-23 04:30:44 +02:00
|
|
|
* Mon Mar 01 2004 ro@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- fix install_info stuff in postun
|
2008-10-23 04:30:44 +02:00
|
|
|
* Mon Oct 20 2003 ro@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- use defattr
|
|
|
|
- don't build as root
|
2008-10-23 04:30:44 +02:00
|
|
|
* Thu Sep 11 2003 ro@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- update to 1.42 (#30279)
|
2008-10-23 04:30:44 +02:00
|
|
|
* Mon Aug 25 2003 ro@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- update to 1.41
|
|
|
|
- additional Keyword: PreSaveCommand
|
2008-10-23 04:30:44 +02:00
|
|
|
* Thu Aug 14 2003 ro@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- update to 1.38 with additional MetaData keywords
|
2008-10-23 04:30:44 +02:00
|
|
|
* Mon Jun 16 2003 kukuk@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- Remove /var/adm/fillup-templates, already in filesystem package
|
2008-10-23 04:30:44 +02:00
|
|
|
* Wed Mar 12 2003 ro@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- update to 1.24 including the last two patches and
|
|
|
|
more testcases for "make check"
|
2008-10-23 04:30:44 +02:00
|
|
|
* Wed Mar 12 2003 ro@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- switch behaviour to "fixed sequence of metadata" (#25119)
|
2008-10-23 04:30:44 +02:00
|
|
|
* Sun Mar 09 2003 ro@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- fix watchdog for removal part (factor 2 needed)
|
|
|
|
(fix for reopened #24648)
|
2008-10-23 04:30:44 +02:00
|
|
|
* Thu Mar 06 2003 ro@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- update to 1.22 (avoid possible infinite loop on failure) (#24648)
|
2008-10-23 04:30:44 +02:00
|
|
|
* Thu Mar 06 2003 ro@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- fix for stale comment when removing variable (#24540)
|
2008-10-23 04:30:44 +02:00
|
|
|
* Wed Feb 19 2003 ro@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- update to 1.21
|
|
|
|
- works around problem with comments wrongly typed as metadata
|
2008-10-23 04:30:44 +02:00
|
|
|
* Thu Feb 06 2003 ro@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- added install-info macros
|
2008-10-23 04:30:44 +02:00
|
|
|
* Thu Nov 28 2002 ro@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- update to 1.20 beta (aka prototype)
|
2008-10-23 04:30:44 +02:00
|
|
|
* Mon Nov 11 2002 ro@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- changed neededforbuild <sp> to <opensp>
|
2008-10-23 04:30:44 +02:00
|
|
|
* Mon Aug 12 2002 ro@suse.de
|
2006-12-19 00:15:55 +01:00
|
|
|
- split off aaa_base
|