Improve build environment and scripts
authoralpar
Fri, 13 Oct 2006 15:10:50 +0000
changeset 224137e0966e43b6
parent 2240 d93c034d3c98
child 2242 16523135943d
Improve build environment and scripts
lemon.spec.in
scripts/release
scripts/update-libstd-tag
     1.1 --- a/lemon.spec.in	Thu Oct 12 11:54:30 2006 +0000
     1.2 +++ b/lemon.spec.in	Fri Oct 13 15:10:50 2006 +0000
     1.3 @@ -9,6 +9,9 @@
     1.4  BuildRoot: %{_tmppath}/%{name}-root
     1.5  Requires: glpk
     1.6  BuildRequires: glpk-devel
     1.7 +Provides: lemon = @PACKAGE_VERSION@
     1.8 +Provides: lemon-devel = @PACKAGE_VERSION@
     1.9 +
    1.10  
    1.11  %description
    1.12  LEMON stands for Library of Efficient Models and
     2.1 --- a/scripts/release	Thu Oct 12 11:54:30 2006 +0000
     2.2 +++ b/scripts/release	Fri Oct 13 15:10:50 2006 +0000
     2.3 @@ -2,6 +2,15 @@
     2.4  
     2.5  # THE FIRST PARAMETER IS THE VERSION STRING
     2.6  
     2.7 +if [ $# != 1 ]; then
     2.8 +    echo
     2.9 +    echo 'Usage: release version-string'
    2.10 +    echo 
    2.11 +    echo "WARNING: This script modifies the repository, so don't use it unless"
    2.12 +    echo '         you really want to make a release'
    2.13 +    exit 1
    2.14 +fi
    2.15 +
    2.16  set -e
    2.17  
    2.18  function make-dir () {
    2.19 @@ -12,7 +21,7 @@
    2.20  
    2.21  VERSION=$1
    2.22  PKGNAME='lemon'
    2.23 -VERSION_STRING='svn-head'
    2.24 +VERSION_STRING='svnhead'
    2.25  
    2.26  make-dir release-dir
    2.27  cd release-dir
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/scripts/update-libstd-tag	Fri Oct 13 15:10:50 2006 +0000
     3.3 @@ -0,0 +1,7 @@
     3.4 +#!/bin/bash
     3.5 +
     3.6 +cd ${0%update-libstd-tag}../doc
     3.7 +mv libstdc++.tag libstdc++.tag.old
     3.8 +wget http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/libstdc++.tag &&
     3.9 +rm libstdc++.tag.old || mv libstdc++.tag.old libstdc++.tag
    3.10 +