rpms/smarteiffel/devel SmartEiffel.serc, NONE, 1.1 smarteiffel.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Gérard Milmeister (gemi)
fedora-extras-commits at redhat.com
Fri Sep 22 19:26:56 UTC 2006
Author: gemi
Update of /cvs/extras/rpms/smarteiffel/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2180/devel
Modified Files:
.cvsignore sources
Added Files:
SmartEiffel.serc smarteiffel.spec
Log Message:
auto-import smarteiffel-2.2-5 on branch devel from smarteiffel-2.2-5.src.rpm
--- NEW FILE SmartEiffel.serc ---
-- This is the configuration file of SmartEiffel, generated by the
-- SmartEiffel installer.
-- If you have any problems or questions, please:
-- - either look at the SmartEiffel site (http://SmartEiffel.loria.fr)
-- - or contact the SmartEiffel team (SmartEiffel at loria.fr)
-- ======================================================================= --
[General]
-- This section contains some general-purpose keys. They describe how is the
-- SmartEiffel distribution arranged, and on which operating system it was
-- installed.
-- The 'bin' key is the path to the directory that contains the SmartEiffel
-- directory. It is used by 'compile' to find 'compile_to_c'.
-- The 'sys' directory is used to find the C and Java files used by the
-- compilers.
-- The 'short' directory is used by the 'short' utility to format the output.
-- The 'os' key tells on which system SmartEiffel is installed on.
-- The 'flavor' key gives additional hints on the system SmartEiffel runs on.
-- At last, 'tag' gives the version of install configuration (used only by the
-- installer)
bin: LIBEXECDIR/SmartEiffel/
sys: LIBDIR/SmartEiffel/sys/
short: LIBDIR/SmartEiffel/short/
os: UNIX
flavor: generic
tag: 3
[Environment]
-- This section contains keys that can be used environment variables. They may
-- be used by other sections (typically [Loadpath]) or Ace files.
path_tutorial: LIBDIR/SmartEiffel/tutorial/
path_tools: LIBDIR/SmartEiffel/tools/
path_lib: LIBDIR/SmartEiffel/lib/
[Loadpath]
-- This section contains the default loadpaths used by this SmartEiffel
-- installation.
-- The key is used when naming clusters (SmartEiffel output when a
-- class is not found, or external tools like eiffeldoc)
-- The value of the key is the path to a loadpath file.
-- Note that the loadpath files are read in the order given below.
lib: ${path_lib}loadpath.se
tools: ${path_tools}loadpath.se
tutorial: ${path_tutorial}loadpath.se
[Tools]
-- This section contains the tools used by the `se' command.
-- The key is the name of the command used by `se'
-- The value of the command to launch, which must be in ${bin} (bin
-- is a key defined above in the [General] section).
c: compile
c2c: compile_to_c
clean: clean
java: compile_to_jvm
pretty: pretty
short: short
find: finder
ace_check: ace_check
class_check: class_check
javap: print_jvm_class
doc: eiffeldoc
-- ======================================================================= --
-- Below are the "C mode" sections. Each C mode describes which C compiler must
-- be called, with which options, which linker, and so on. The keys are
-- described below.
-- The first sections (boost, ..., debug_check) are by default used in
-- conjunction with the corresponding SmartEiffel check level. This behaviour
-- may be changed by using the -c_mode flag.
-- The recognized keys in each section are:
-- 'compiler_type', which tells which is the compiler type to use
-- 'compiler_path', which gives the path to the compiler executable
-- 'compiler_options', which gives some options to the compiler
-- 'linker_path', which gives the path to the linker executable (not used in
-- -no_split mode)
-- 'linker_options', which gives some options for the linker (not used in
-- -no_split mode)
-- 'smarteiffel_options', which gives some extra SmartEiffel options to take
-- into account
[boost]
c_compiler_type: gcc
c_compiler_options: -pipe -O2
cpp_compiler_type: g++
cpp_compiler_options: -pipe -O2
[no_check]
c_compiler_type: gcc
c_compiler_options: -pipe -O1
cpp_compiler_type: g++
cpp_compiler_options: -pipe -O1
[require_check]
c_compiler_type: gcc
c_compiler_options: -pipe
cpp_compiler_type: g++
cpp_compiler_options: -pipe
[ensure_check]
c_compiler_type: gcc
c_compiler_options: -pipe
cpp_compiler_type: g++
cpp_compiler_options: -pipe
[invariant_check]
c_compiler_type: gcc
c_compiler_options: -pipe
cpp_compiler_type: g++
cpp_compiler_options: -pipe
[loop_check]
c_compiler_type: gcc
c_compiler_options: -pipe
cpp_compiler_type: g++
cpp_compiler_options: -pipe
[all_check]
c_compiler_type: gcc
c_compiler_options: -pipe
cpp_compiler_type: g++
cpp_compiler_options: -pipe
[debug_check]
c_compiler_type: gcc
c_compiler_options: -pipe -g
cpp_compiler_type: g++
cpp_compiler_options: -pipe -g
smarteiffel_options: -no_strip
[release]
c_compiler_type: gcc
c_compiler_options: -pipe @RPM_OPT_FLAGS@
cpp_compiler_type: g++
cpp_compiler_options: -pipe @RPM_OPT_FLAGS@
smarteiffel_options: -no_split
--- NEW FILE smarteiffel.spec ---
Name: smarteiffel
Version: 2.2
Release: 5%{?dist}
Summary: The GNU Eiffel Compiler and Libraries
Group: Development/Languages
License: GPL
URL: http://smarteiffel.loria.fr
Source: http://gforge.inria.fr/frs/download.php/586/SmartEiffel-2-2.tar.bz2
Source1: SmartEiffel.serc
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%description
SmartEiffel is a small, portable implementation of the Eiffel OO
programming language. Eiffel cleanly implements all the important
concepts of OO programming, including: multiple inheritance,
genericity, polymorphism, and encapsulation. Eiffels unique feature
is Design By Contract, which increases the reusability and reliability
of program modules.
%package doc
Group: Development/Languages
Summary: Documentation for SmartEiffel
Requires: smarteiffel = %{version}-%{release}
%description doc
Documentation for SmartEiffel.
%define debug_package %{nil}
%prep
%setup -q -n SmartEiffel
%define se_rpm_opt_flags `echo "-w $RPM_OPT_FLAGS" | sed -e "s|-Wall||"`
sed -i "s|-pipe|%se_rpm_opt_flags|" install.c install/gcc.rc
find . -name '*.elate' -exec rm -f '{}' ';'
find contrib misc -type f -print | xargs chmod 0644
%build
gcc -o se_install install.c
(echo ''; echo '4'; echo '5') | env SmartEiffel=$PWD/serc.build ./se_install
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_bindir}
cp -f bin/se $RPM_BUILD_ROOT%{_bindir}
mkdir -p $RPM_BUILD_ROOT%{_libexecdir}/SmartEiffel
for i in ace_check class_check clean compile compile_to_c compile_to_jvm finder pretty print_jvm_class short eiffeldoc
do
cp -f bin/$i $RPM_BUILD_ROOT%{_libexecdir}/SmartEiffel
done
mkdir -p $RPM_BUILD_ROOT%{_datadir}/SmartEiffel
for i in sys lib tools short tutorial
do
cp -fr $i $RPM_BUILD_ROOT%{_datadir}/SmartEiffel
done
mkdir -p $RPM_BUILD_ROOT%{_datadir}/SmartEiffel/man
cp -fr man/*.txt $RPM_BUILD_ROOT%{_datadir}/SmartEiffel/man
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
sed -e "s|LIBDIR|%{_datadir}|; s|BINDIR|%{_bindir}|; s|LIBEXECDIR|%{_libexecdir}|; s|@RPM_OPT_FLAGS@|%se_rpm_opt_flags|" %{SOURCE1} > $RPM_BUILD_ROOT%{_sysconfdir}/serc
find $RPM_BUILD_ROOT%{_datadir}/SmartEiffel -name '.#*' -exec rm -f '{}' ';'
find $RPM_BUILD_ROOT%{_datadir}/SmartEiffel -type f -exec chmod 0644 '{}' ';'
find $RPM_BUILD_ROOT%{_datadir}/SmartEiffel -name '*.SH' -exec chmod 0755 '{}' ';'
find www/papers -name '*.pdf.gz' -exec rm -f '{}' ';'
find www/papers -name '*.ps*' -exec rm -f '{}' ';'
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc READ_ME.txt GNU_LICENSE contrib misc
%doc --parents man/*.html man/*.gif
%{_bindir}/*
%{_datadir}/SmartEiffel
%{_libexecdir}/SmartEiffel
%config %{_sysconfdir}/serc
%files doc
%defattr(-,root,root,-)
%doc www/*
%changelog
* Fri Sep 22 2006 Gerard Milmeister <gemi at bluewin.ch> - 2.2-5
- split off -doc subpackage
* Sun Jun 18 2006 Gerard Milmeister <gemi at bluewin.ch> - 2.2-4
- disable creation of debuginfo package
* Wed Jan 18 2006 Gerard Milmeister <gemi at bluewin.ch> - 2.2-3
- new version 2.2
* Mon Nov 7 2005 Gerard Milmeister <gemi at bluewin.ch> - 2.2-1.beta5
- New Version 2.2.beta5
* Fri Aug 5 2005 Gerard Milmeister <gemi at bluewin.ch> - 2.2-1.beta2
- New Version 2.2.beta2
* Fri Jun 24 2005 Gerard Milmeister <gemi at bluewin.ch> - 2.2-1.beta1.2
- Some reordering of executables
* Fri Jun 17 2005 Gerard Milmeister <gemi at bluewin.ch> - 2.2-1.beta1
- New Version 2.2beta1
* Tue Mar 8 2005 Gerard Milmeister <gemi at bluewin.ch> - 2.1-1
- New Version 2.1
* Tue Oct 5 2004 Gerard Milmeister <gemi at bluewin.ch> - 0:2.0-0.fdr.1
- New Version 2.0
* Mon Nov 3 2003 Gerard Milmeister <gemi at bluewin.ch> - 0:1.1-0.fdr.1
- First Fedora release
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/smarteiffel/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 22 Sep 2006 19:20:03 -0000 1.1
+++ .cvsignore 22 Sep 2006 19:26:55 -0000 1.2
@@ -0,0 +1 @@
+SmartEiffel-2-2.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/smarteiffel/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 22 Sep 2006 19:20:03 -0000 1.1
+++ sources 22 Sep 2006 19:26:55 -0000 1.2
@@ -0,0 +1 @@
+77b3ab3895c6fced2cb1649b4ca80547 SmartEiffel-2-2.tar.bz2
More information about the fedora-extras-commits
mailing list