- Timestamp:
- 29/11/11 10:27:33 (6 months ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
-
Makefile.am (modified) (1 diff)
-
build_rpm.in (modified) (1 diff)
-
configure.ac (modified) (2 diffs)
-
nexus_spec.in (modified) (2 diffs)
-
svn2cl_nexus_authors.xml (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.am
r1752 r1775 55 55 `find "$(srcdir)" -type f -name Makefile.in -print` 56 56 57 ChangeLog : 58 svn2cl --non-interactive --authors=svn2cl_nexus_authors.xml . 59 57 60 maintainer-clean-local: 58 61 -rm -rf config -
trunk/build_rpm.in
r1764 r1775 11 11 topdir=`rpm --showrc|grep topdir| awk '{print $3}' | tail -1` 12 12 if test ! -e "$topdir"; then 13 echo "Unable to determine RPM topdir from rpmrc; assuming /usr/src/redhat"14 topdir=" /usr/src/redhat"13 echo "Unable to determine RPM topdir from rpmrc; assuming $HOME/rpmbuild" 14 topdir="$HOME/rpmbuild" 15 15 fi 16 16 if test ! -w "$topdir"; then -
trunk/configure.ac
r1770 r1775 31 31 AC_PREREQ(2.61) 32 32 AC_REVISION($Revision$) 33 AC_INIT([NeXus Library], [4.3.0], [nexus-developers@nexusformat.org], [nexus]) 33 34 m4_define([ISODATE],m4_esyscmd_s([date +%Y%m%d]))dnl 35 dnl m4_define([SVNREV],m4_esyscmd_s([`svnversion`])) 36 m4_define([SVNREV],m4_esyscmd_s([svn info | grep Revision | awk '{print $2}']))dnl 37 m4_define([SVN_RELEASE],m4_join([],ISODATE,[svn],SVNREV)))dnl 38 39 m4_define([NEXUS_VERSION],[4.3.0])dnl main version we are based on 40 m4_define([NEXUS_RELEASE],SVN_RELEASE)dnl things like rc1 or 20100903svn1734 41 m4_define([PACKAGE_RELEASE],[0.1])dnl 0.* for pre release; 1, 2, ... post release 42 43 AC_INIT([NeXus Library], m4_join([],NEXUS_VERSION,[-],NEXUS_RELEASE), [nexus-developers@nexusformat.org], [nexus]) 34 44 AC_COPYRIGHT([Copyright (C) 2004 NeXus International Advisory Committee 35 45 This software is covered by the GNU LESSER GENERAL PUBLIC LICENSE 36 46 see file COPYING for further information]) 47 48 m4_join([],[NEXUS_VERSION=],"NEXUS_VERSION") 49 m4_join([],[NEXUS_RELEASE=],"NEXUS_RELEASE") 50 m4_join([],[SVN_REVISION=],"SVN_REVISION") 51 m4_join([],[PACKAGE_RELEASE=],"PACKAGE_RELEASE") 52 AC_SUBST([NEXUS_VERSION]) 53 AC_SUBST([NEXUS_RELEASE]) 54 AC_SUBST([SVN_REVISION]) 55 AC_SUBST([PACKAGE_RELEASE]) 56 AC_DEFINE([[NEXUS_VERSION]], "NEXUS_VERSION", [NeXus Version])dnl 57 AC_DEFINE([[NEXUS_RELEASE]], "NEXUS_RELEASE", [NeXus Release])dnl 58 AC_DEFINE([[PACKAGE_RELEASE]], "PACKAGE_RELEASE", [Package Release])dnl 59 AC_DEFINE([[SVN_REVISION]], "SVNREV", [SVN Revision])dnl 60 37 61 38 62 # used by libtool - need to get if from 4.3.0 better … … 222 246 AC_SUBST(SHARED_LDFLAGS) 223 247 AC_SUBST(JAVAINCLUDE) 224 AC_SUBST(PACKAGE_RELEASE)225 test -z "$PACKAGE_RELEASE" && PACKAGE_RELEASE=1226 248 227 249 SHARED_LDFLAGS="" -
trunk/nexus_spec.in
r1764 r1775 6 6 Summary: Libraries and utilities for using NeXus format data files 7 7 Name: @PACKAGE_TARNAME@ 8 Version: @ PACKAGE_VERSION@8 Version: @NEXUS_VERSION@ 9 9 # Release is the number of times this version of the software was 10 10 # built into an RPM file; it should be incremented each RPM build and 11 11 # then reset to 1 when a new version of the software is released 12 Release: @PACKAGE_RELEASE@ 12 Release: @PACKAGE_RELEASE@.@NEXUS_RELEASE@%{?dist} 13 13 License: LGPL 14 14 # Group: there is more than one choice for this - maybe we need to split … … 83 83 84 84 %prep 85 %setup -q 85 %setup -q -n @PACKAGE_TARNAME@-@PACKAGE_VERSION@ 86 86 87 87 %build
Note: See TracChangeset
for help on using the changeset viewer.
