-
Notifications
You must be signed in to change notification settings - Fork 0
/
rpmbuild-libopenesl-devel-1.6.0.spec
59 lines (46 loc) · 1.32 KB
/
rpmbuild-libopenesl-devel-1.6.0.spec
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
48
49
50
51
52
53
54
55
56
57
58
59
##########################################
# Spec file for Open ESL development files
##########################################
Summary: Open ESL development files
Name: libopenesl-devel
Version: 1.6.0
Release: 1
License: Freeware
URL: http://www.sven-lukas.de
Group: System
Packager: Sven Lukas
Requires: libopenesl = 1.6.0
Requires: libopenesl-devel = 1.6.0
BuildRoot: ./rpmbuild/
%description
Open ESL development files.
%prep
#echo "BUILDROOT = $RPM_BUILD_ROOT"
#echo "Current path: $PWD"
mkdir -p $RPM_BUILD_ROOT/usr/include/esa-1.6.0
mkdir -p $RPM_BUILD_ROOT/usr/include/esl-1.6.0
cp -a ../../include/src/main/esa/* $RPM_BUILD_ROOT/usr/include/esa-1.6.0
cp -a ../../include/src/main/esl/* $RPM_BUILD_ROOT/usr/include/esl-1.6.0
cd ../../rpm/BUILD
ln -s esa-1.6.0 $RPM_BUILD_ROOT/usr/include/esa
ln -s esl-1.6.0 $RPM_BUILD_ROOT/usr/include/esl
exit
%files
%defattr(644, root, root, 755)
/usr/include/esa-1.6.0
/usr/include/esa
/usr/include/esl-1.6.0
/usr/include/esl
%pre
%post
%postun
%clean
rm -rf $RPM_BUILD_ROOT/usr/include/esa
rm -rf $RPM_BUILD_ROOT/usr/include/esl
%changelog
* Sun Jan 14 2024 Sven Lukas <sven.lukas@gmail.com>
- New version for esl 1.6.0
* Sun Jul 24 2022 Sven Lukas <sven.lukas@gmail.com>
- New version for esl 1.5.0
* Sun Jan 16 2022 Sven Lukas <sven.lukas@gmail.com>
- First prebuild RPM