forked from thoka/java2python
-
Notifications
You must be signed in to change notification settings - Fork 1
/
j2py.spec.in
41 lines (34 loc) · 811 Bytes
/
j2py.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
Summary: j2py
Name: @PACKAGE_TARNAME@
Version: @PACKAGE_VERSION@
Release: 1
License: LGPL
Group: Development/Languages/Stratego
URL: todo
Source: @PACKAGE_TARNAME@-@[email protected]
BuildRoot: %{_tmppath}/%{name}-@PACKAGE_VERSION@-buildroot
Requires: aterm >= 2.5
Requires: sdf2-bundle >= 2.4
Requires: strategoxt >= 0.16
Requires: java-front >= 0.9
Provides: %{name} = %{version}
%description
%prep
%setup -q
%build
CFLAGS="-D__NO_CTYPE" ./configure --prefix=%{_prefix} --with-strategoxt=%{_prefix} --with-aterm=%{_prefix} --with-sdf=%{_prefix} --with-java-front=%{_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}
%{_libdir}
%{_prefix}/libexec
# %{_libexecdir}
%{_datadir}
%doc
%changelog