View | Details | Raw Unified | Return to bug 36501
Collapse All | Expand All

(-)a/chicken.spec (-13 / +18 lines)
Lines 1-18 Link Here
1
Name: chicken
1
Name: chicken
2
Version: 4.1.0
2
Version: 4.1.0
3
Release: alt2.1
3
Release: alt2.2
4
5
Summary: CHICKEN is a simple Scheme-to-C compiler
4
License: BSD style (see LICENSE)
6
License: BSD style (see LICENSE)
5
Group: Development/Scheme
7
Group: Development/Scheme
8
6
Url: http://www.call-with-current-continuation.org/
9
Url: http://www.call-with-current-continuation.org/
7
Source: %name-%version.tar
10
Source: %name-%version.tar
8
Requires: libchicken-devel = %version-%release
9
Summary: CHICKEN is a simple Scheme-to-C compiler
10
Packager: Alexey Voinov <voins@altlinux.ru>
11
Packager: Alexey Voinov <voins@altlinux.ru>
11
12
13
Requires: libchicken-devel = %version-%release
12
BuildPreReq: chrpath
14
BuildPreReq: chrpath
13
15
14
# Automatically added by buildreq on Sat Nov 01 2003
15
16
%description
16
%description
17
CHICKEN is a simple Scheme-to-C compiler supporting the language features as
17
CHICKEN is a simple Scheme-to-C compiler supporting the language features as
18
defined in the 'Revised^5 Report on Scheme'. CHICKEN generates quite
18
defined in the 'Revised^5 Report on Scheme'. CHICKEN generates quite
Lines 61-78 BuildArch: noarch Link Here
61
Manual for Chicken scheme-to-c compiler
61
Manual for Chicken scheme-to-c compiler
62
62
63
%prep
63
%prep
64
%setup -q
64
%setup
65
65
66
%build
66
%build
67
%remove_optflags -Wall
67
%remove_optflags -Wall
68
make PLATFORM=linux PREFIX=%_prefix LIBDIR=%_libdir \
68
# slightly broken parallel build
69
    C_COMPILER_OPTIMIZATION_OPTIONS="$RPM_OPT_FLAGS"
69
%make_build PLATFORM=linux PREFIX=%_prefix LIBDIR=%_libdir \
70
70
    C_COMPILER_OPTIMIZATION_OPTIONS="%optflags" ||
71
%make PLATFORM=linux PREFIX=%_prefix LIBDIR=%_libdir \
72
    C_COMPILER_OPTIMIZATION_OPTIONS="%optflags"
71
73
72
%install
74
%install
73
make PLATFORM=linux PREFIX=%_prefix LIBDIR=%_libdir \
75
%make PLATFORM=linux PREFIX=%_prefix LIBDIR=%_libdir \
74
    DESTDIR=$RPM_BUILD_ROOT install
76
    DESTDIR=%buildroot install
75
rm -rf $RPM_BUILD_ROOT%_datadir/%name/doc
77
rm -rf %buildroot%_datadir/%name/doc
76
78
77
for i in %buildroot%_bindir/* %buildroot%_libdir/%name/4/*.so
79
for i in %buildroot%_bindir/* %buildroot%_libdir/%name/4/*.so
78
do
80
do
Lines 101-106 done Link Here
101
%_libdir/lib*.a
103
%_libdir/lib*.a
102
104
103
%changelog
105
%changelog
106
* Thu Apr 04 2019 Michael Shigorin <mike@altlinux.org> 4.1.0-alt2.2
107
- parallelize build
108
- minor spec cleanup
109
104
* Thu Feb 02 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1.0-alt2.1
110
* Thu Feb 02 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 4.1.0-alt2.1
105
- Removed bad RPATH
111
- Removed bad RPATH
106
112
Lines 116-122 done Link Here
116
- new version (2.5)
122
- new version (2.5)
117
- alt-makefile patch removed (obsolete)
123
- alt-makefile patch removed (obsolete)
118
124
119
120
* Sun Oct 02 2005 Alexey Voinov <voins@altlinux.ru> 2.2-alt1
125
* Sun Oct 02 2005 Alexey Voinov <voins@altlinux.ru> 2.2-alt1
121
- new version (2.2)
126
- new version (2.2)
122
127

Return to bug 36501