From 3854d20e082bbf9898781eb4de5e48753398825b Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Wed, 24 Sep 2008 19:16:18 +0000 Subject: [PATCH] new package: ironout 0.0.2 (C Code Refactoring Utility) --- ironout/ironout.spec | 78 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 ironout/ironout.spec diff --git a/ironout/ironout.spec b/ironout/ironout.spec new file mode 100644 index 0000000000..c2f345b714 --- /dev/null +++ b/ironout/ironout.spec @@ -0,0 +1,78 @@ +## +## ironout.spec -- OpenPKG RPM Package Specification +## Copyright (c) 2000-2008 OpenPKG Foundation e.V. +## +## Permission to use, copy, modify, and distribute this software for +## any purpose with or without fee is hereby granted, provided that +## the above copyright notice and this permission notice appear in all +## copies. +## +## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED +## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR +## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF +## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT +## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +## SUCH DAMAGE. +## + +# package information +Name: ironout +Summary: C Code Refactoring Utility +URL: http://ironout.berlios.de/ +Vendor: Ali Gholami Rudi +Packager: OpenPKG Foundation e.V. +Distribution: OpenPKG Community +Class: EVAL +Group: CompilerCompiler +License: GPL +Version: 0.0.2 +Release: 20080924 + +# list of sources +Source0: http://download.berlios.de/ironout/ironout-%{version}.tar.gz + +# build information +Prefix: %{l_prefix} +BuildRoot: %{l_buildroot} +BuildPreReq: OpenPKG, openpkg >= 20060823, flex, bison +PreReq: OpenPKG, openpkg >= 20060823 +AutoReq: no +AutoReqProv: no + +%description + ironout is the most badly packaged program in the OpenPKG world. + +%track + prog ironout = { + version = %{version} + url = http://developer.berlios.de/project/showfiles.php?group_id=9980 + regex = ironout-(__VER__)\.tar\.gz + } + +%prep + %setup -q + +%build + %{l_make} %{l_mflags} \ + CC="%{l_cc}" \ + CFLAGS="%{l_cflags -O}" + +%install + rm -rf $RPM_BUILD_ROOT + %{l_shtool} mkdir -f -p -m 755 \ + $RPM_BUILD_ROOT%{l_prefix}/bin + %{l_shtool} install -c -s -m 755 \ + ironout $RPM_BUILD_ROOT%{l_prefix}/bin/ + %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} + +%files -f files + +%clean + rm -rf $RPM_BUILD_ROOT +