-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathcfbuild-libiconv.spec
More file actions
65 lines (42 loc) · 1.03 KB
/
cfbuild-libiconv.spec
File metadata and controls
65 lines (42 loc) · 1.03 KB
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
60
61
62
63
64
Summary: CFEngine Build Automation -- libiconv
Name: cfbuild-libiconv
Version: %{version}
Release: 1
Source0: libiconv-1.19.tar.gz
License: MIT
Group: Other
Url: https://cfengine.com
BuildRoot: %{_topdir}/BUILD/%{name}-%{version}-%{release}-buildroot
AutoReqProv: no
%define prefix %{buildprefix}
%prep
mkdir -p %{_builddir}
%setup -q -n libiconv-1.19
./configure --prefix=%{prefix} --disable-shared --enable-static
%build
make
%install
rm -rf ${RPM_BUILD_ROOT}
make install DESTDIR=${RPM_BUILD_ROOT}
rm -f ${RPM_BUILD_ROOT}%{prefix}/lib/libcharset.la
rm -f ${RPM_BUILD_ROOT}%{prefix}/lib/libiconv.la
%clean
rm -rf $RPM_BUILD_ROOT
%package devel
Summary: CFEngine Build Automation -- libiconv -- development files
Group: Other
AutoReqProv: no
%description
CFEngine Build Automation -- libiconv
%description devel
CFEngine Build Automation -- libiconv -- development files
%files
%defattr(-,root,root)
%dir %prefix/lib
%prefix/lib/*.a
%files devel
%defattr(-,root,root)
%prefix/include
%dir %prefix/lib
%prefix/lib/*.a
%changelog