Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37533874
en ru br
ALT Linux repos
S:1.42-alt7
5.0: 1.42-alt6
4.1: 1.42-alt4
4.0: 1.42-alt4
3.0: 1.42-alt3

Group :: System/Base
RPM: fillup

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: fillup
Version: 1.42
Release: alt7

Summary: Tool for merging config files
License: GPL
Group: System/Base

Source0: fillup-%version.tar.bz2
Source1: fillup.macros
Packager: Michael Shigorin <mike at altlinux.org>

# Automatically added by buildreq on Wed Sep 24 2008

BuildRequires: OpenSP sgml-tools
Requires: rpm-macros-%{name} = %{version}-%{release}

%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>


%package -n rpm-macros-%{name}
Summary: Set of RPM macros for packaging %name-based applications
Group: Development/Other
# helps old apt to resolve file conflict at dist-upgrade (thanks to Stanislav Ievlev)
Conflicts: fillup <= 1.42-alt5

%description -n rpm-macros-%{name}
Set of RPM macros for packaging %name-based applications for ALT Linux.
Install this package if you want to create RPM packages that use %name.

%prep
%setup
sed -ie 's/^\(DEFINES\s*=\)/\1 -fcommon/' SRC/Makefile

%build
%make clean
%make compile
%make test
pushd SGML
%make fillup.txt
popd

%install
mkdir -p %buildroot/%_datadir/fillup-templates
install -pDm755 TEST/fillup %buildroot/bin/%name
install -pDm644 %SOURCE1 %buildroot%_rpmmacrosdir/%name
install -pDm644 SGML/fillup.8.gz %buildroot%_man8dir/%name.8.gz

%files
%doc SGML/fillup.txt
/bin/%name
%_man8dir/fillup*
#%_rpmmacrosdir/%name
%dir %_datadir/fillup-templates
%exclude %_rpmmacrosdir/*

%files -n rpm-macros-%{name}
%_rpmmacrosdir/*


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin