137 lines
4.0 KiB
RPMSpec
137 lines
4.0 KiB
RPMSpec
|
#
|
||
|
# spec file for package fillup (Version 1.42)
|
||
|
#
|
||
|
# Copyright (c) 2006 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://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: fillup
|
||
|
License: GPL
|
||
|
Group: System/Base
|
||
|
Provides: aaa_base:/bin/fillup
|
||
|
Autoreqprov: on
|
||
|
Version: 1.42
|
||
|
Release: 123
|
||
|
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
|
||
|
|
||
|
%files
|
||
|
%defattr(-,root,root)
|
||
|
/bin/fillup
|
||
|
%{_mandir}/man8/fillup*
|
||
|
|
||
|
%changelog -n fillup
|
||
|
* Tue Sep 19 2006 - rguenther@suse.de
|
||
|
- Do not install info or plaintext documentation (same as manpage).
|
||
|
- Remove sgmltool BuildRequires.
|
||
|
* Mon May 22 2006 - schwab@suse.de
|
||
|
- Don't strip binaries.
|
||
|
* Wed Jan 25 2006 - mls@suse.de
|
||
|
- converted neededforbuild to BuildRequires
|
||
|
* Wed Jan 11 2006 - ro@suse.de
|
||
|
- fix missing return value in test-code (#139594)
|
||
|
* Fri Sep 02 2005 - werner@suse.de
|
||
|
- 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)
|
||
|
* Wed Jul 27 2005 - ro@suse.de
|
||
|
- silence some compiler warnings (#95370)
|
||
|
* Tue Jun 28 2005 - ro@suse.de
|
||
|
- removed -fsigned-char (#93875)
|
||
|
* Wed Jun 15 2005 - meissner@suse.de
|
||
|
- Use RPM_OPT_FLAGS -fno-strict-aliasing.
|
||
|
- compile OPTIMIZE, drop some no longer applying -f flags.
|
||
|
* Mon Mar 01 2004 - ro@suse.de
|
||
|
- fix install_info stuff in postun
|
||
|
* Mon Oct 20 2003 - ro@suse.de
|
||
|
- use defattr
|
||
|
- don't build as root
|
||
|
* Thu Sep 11 2003 - ro@suse.de
|
||
|
- update to 1.42 (#30279)
|
||
|
* Mon Aug 25 2003 - ro@suse.de
|
||
|
- update to 1.41
|
||
|
- additional Keyword: PreSaveCommand
|
||
|
* Thu Aug 14 2003 - ro@suse.de
|
||
|
- update to 1.38 with additional MetaData keywords
|
||
|
* Mon Jun 16 2003 - kukuk@suse.de
|
||
|
- Remove /var/adm/fillup-templates, already in filesystem package
|
||
|
* Wed Mar 12 2003 - ro@suse.de
|
||
|
- update to 1.24 including the last two patches and
|
||
|
more testcases for "make check"
|
||
|
* Wed Mar 12 2003 - ro@suse.de
|
||
|
- switch behaviour to "fixed sequence of metadata" (#25119)
|
||
|
* Sun Mar 09 2003 - ro@suse.de
|
||
|
- fix watchdog for removal part (factor 2 needed)
|
||
|
(fix for reopened #24648)
|
||
|
* Thu Mar 06 2003 - ro@suse.de
|
||
|
- update to 1.22 (avoid possible infinite loop on failure) (#24648)
|
||
|
* Thu Mar 06 2003 - ro@suse.de
|
||
|
- fix for stale comment when removing variable (#24540)
|
||
|
* Wed Feb 19 2003 - ro@suse.de
|
||
|
- update to 1.21
|
||
|
- works around problem with comments wrongly typed as metadata
|
||
|
* Thu Feb 06 2003 - ro@suse.de
|
||
|
- added install-info macros
|
||
|
* Thu Nov 28 2002 - ro@suse.de
|
||
|
- update to 1.20 beta (aka prototype)
|
||
|
* Mon Nov 11 2002 - ro@suse.de
|
||
|
- changed neededforbuild <sp> to <opensp>
|
||
|
* Mon Aug 12 2002 - ro@suse.de
|
||
|
- split off aaa_base
|