Ignore:
Timestamp:
Mar 11, 2009, 6:48:41 AM (15 years ago)
Author:
Bryan Gartner
Message:

snapshot cleanup of packaging directives and precedence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • projects/linuxcoe/pbconf/cvs/linuxcoe-sd-data-centos/rpm/linuxcoe-sd-data-centos.spec

    r384 r734  
    1 Summary: LinuxCOE SystemDesigner web interface -- CentOS Overlay
    21Name: PBPKG
    32Version: PBVER
    4 Release: PBTAGPBSUF
     3Release: PBTAG
     4Summary: LinuxCOE SystemDesigner web interface -- overlay CentOS
     5
     6Group: PBGRP
    57License: GPL
    68URL: http://linuxcoe.sourceforge.net/
    7 Group: PBGRP
    8 # Copyright: 2000-2007 Hewlett-Packard Development Company, L.P
    9 # Original Packager: Louis Bouchard <louis.bouchard@hp.com>
    10 #
    11 # Source Section
    12 #
    139Source: PBSRC
     10BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
    1411
    15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
    1612BuildArch: noarch
    17 Provides: linuxcoe-sd-overlay
    18 Requires: linuxcoe-sd-base, PBDEP
     13#BuildRequires: ??
     14Requires: PBDEP
     15Provides: PBPROVIDE
     16
    1917
    2018%description
    21 LinuxCOE SystemDesigner is a unifying web application that allows
    22 a user to repeatably install, configure, and maintain different
    23 Linux system installations. It's CGI-based interface provides means
    24 to generate boot images for network or local media based installations,
    25 save profiles that store custom installation preferences for later re-use,
    26 and retrofit already deployed systems by overlaying other value-add components.
     19This package is a dat overlay to the core LinuxCOE SystemDesigner
     20web application, providing support for CentOS
    2721
    28 This package adds CentOS support as an overlay to LinuxCOE SystemDesigner
    2922%prep
    3023%setup -q
    3124
    3225%build
    33 # For the moment done here. Would be better to give it to pb. Needs discussion
    34 export httpdcfgdir=PBHTTPDCONF
    35 export docrootdir=PBHTTPDDOCROOT
    36 export httpd_user=PBHTTPDUSER
    37 export httpd_group=PBHTTPDGROUP
    38 export webalias=PBWEBALIAS
    39 
    40 # macro configure doesn't work. (Do not put a percent before the word)
    41 ./configure --prefix=PBROOTINSTALL
    42 make
     26./configure \
     27    --prefix=PBprefix
    4328
    4429%install
    45 %{__rm} -rf %{buildroot}
    46 make DESTDIR="$RPM_BUILD_ROOT" install
     30%{__rm} -rf $RPM_BUILD_ROOT
     31make DESTDIR=$RPM_BUILD_ROOT install
    4732
    4833%clean
     
    5035
    5136%files
    52 %defattr(-,root,root)
     37%defattr(-,root,root,-)
    5338%doc AUTHORS ChangeLog COPYING INSTALL NEWS README
    54 PBROOTINSTALL/data/*
    55 PBROOTINSTALL/depots/*
    56 PBROOTINSTALL/osvend.d/*
    57 PBROOTINSTALL/html/docs/*
    58 PBROOTINSTALL/html/bundles/*
     39PBprefix/data/*
     40PBprefix/depots/*
     41PBprefix/html/*
     42PBprefix/osvend.d/*
    5943
    6044%changelog
Note: See TracChangeset for help on using the changeset viewer.