-
Notifications
You must be signed in to change notification settings - Fork 0
/
strategoxt.spec.in
47 lines (39 loc) · 1.08 KB
/
strategoxt.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Summary: The Stratego/XT tools for constructing program transformation systems
Name: @PACKAGE_TARNAME@
Version: @PACKAGE_VERSION@
Release: 1
License: LGPL
Group: Development/Languages/Stratego
URL: http://www.strategoxt.org
Source: @PACKAGE_TARNAME@-@[email protected]
BuildRoot: %{_tmppath}/%{name}-@PACKAGE_VERSION@-buildroot
Requires: aterm >= 2.5
Requires: sdf2-bundle >= 2.4
Provides: %{name} = %{version}
%description
%prep
%setup -q
%build
CFLAGS="-D__NO_CTYPE" ./configure --prefix=%{_prefix} --libdir=%{_libdir} --with-aterm=%{_prefix} --with-sdf=%{_prefix}
make
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_bindir}
%{_prefix}/libexec
# %{_libexecdir}
%{_includedir}
%{_libdir}
%{_datadir}
%doc
%changelog
* Sun Apr 13 2008 Martin Bravenboer
- Pass libdir to configure to handle systems with a lib64 subdir.
- Override libexecdir, because OpenSUSE does not use libexec and we
cannot live without yet (STR-749, STR-750)
* Thu Jan 2 2003 Eelco Visser <[email protected]> 0.9beta9-1
- Initial build.