2006-12-19 00:15:55 +01:00
|
|
|
#
|
|
|
|
# spec file for package fillup (Version 1.42)
|
|
|
|
#
|
2010-07-20 20:59:13 +02:00
|
|
|
# Copyright (c) 2010 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
|
2009-12-20 19:23:43 +01:00
|
|
|
License: GPLv2+
|
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
|
2010-07-20 20:59:13 +02:00
|
|
|
Release: 246
|
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
|
2009-12-26 12:19:29 +01:00
|
|
|
Patch4: fillup-nodate.patch
|
2011-06-02 11:40:42 +02:00
|
|
|
Patch5: fillup-1.42-cloexec.patch
|
2006-12-19 00:15:55 +01:00
|
|
|
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
|
2011-06-02 11:40:42 +02:00
|
|
|
%patch
|
2006-12-19 00:15:55 +01:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p0
|
|
|
|
%patch3 -p0
|
2009-12-26 12:19:29 +01:00
|
|
|
%patch4 -p0
|
2011-06-02 11:40:42 +02:00
|
|
|
%patch5
|
2006-12-19 00:15:55 +01:00
|
|
|
%build
|
|
|
|
#
|
|
|
|
# Be sure that the tests for fillup are run in
|
|
|
|
# DEBUG mode for comparision with the references
|
|
|
|
#
|
2010-07-20 20:59:13 +02:00
|
|
|
make %{?_smp_mflags} clean
|
|
|
|
make %{?_smp_mflags} test OPTISPLUS="$RPM_OPT_FLAGS"
|
2006-12-19 00:15:55 +01:00
|
|
|
#
|
|
|
|
# For the real world make clean and use the
|
|
|
|
# optimzed version.
|
|
|
|
#
|
2010-07-20 20:59:13 +02:00
|
|
|
make %{?_smp_mflags} clean
|
|
|
|
make %{?_smp_mflags} compile COMPILE_OPTION=OPTIMIZE OPTISPLUS="$RPM_OPT_FLAGS"
|
2006-12-19 00:15:55 +01:00
|
|
|
|
|
|
|
%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
|