]> git.pld-linux.org Git - SPECS.git/blob - statifier.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / statifier.spec
1 Summary:        Convert ELF dynamically linked execulables to "pseudo-static"
2 Summary(pl.UTF-8):      Konwersja dynamicznych binarek ELF do pseudo-statycznych
3 Name:           statifier
4 Version:        1.7.3
5 Release:        1
6 License:        GPL
7 Group:          Development/Tools
8 Source0:        http://downloads.sourceforge.net/statifier/%{name}-%{version}.tar.gz
9 # Source0-md5:  858ab8e3dc3aacc23e69f681d671479f
10 URL:            http://statifier.sourceforge.net/
11 BuildRequires:  rpmbuild(macros) >= 1.213
12 %ifarch amd64
13 BuildRequires:  glibc-static(amd64)
14 # can be athlon after Ac
15 BuildRequires:  glibc-static(i686)
16 %endif
17 %ifarch ia32e
18 BuildRequires:  glibc-static(i686)
19 BuildRequires:  glibc-static(ia32e)
20 %endif
21 %ifarch x86_64
22 BuildRequires:  glibc-static(i686)
23 BuildRequires:  glibc-static(x86_64)
24 %endif
25 BuildRequires:  sed >= 4.0
26 Requires:       coreutils
27 Requires:       gawk
28 ExclusiveArch:  %{ix86} %{x8664}
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 Statifier creates from dynamically linked ELF executable and all it's
33 libraries (and all LD_PRELOAD libraries if any) one file. This file
34 can be copied and run on another machine without need to drag all it's
35 libraries.
36
37 %description -l pl.UTF-8
38 Statifier tworzy z dynamicznie zlinkowanej binarki ELF i wszystkich
39 jej bibliotek (oraz wszystkich bibliotek LD_PRELOAD jeżeli takie
40 występują) jeden plik. Ten plik może być kopiowany i uruchamiany na
41 innej maszynie bez potrzeby przenoszenia wszystkich bibliotek.
42
43 %prep
44 %setup -q
45
46 sed -i -e 's/-O2 -g/%{rpmcflags}/' src/Makefile
47
48 %build
49 %{__make} -j1 all
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc AUTHORS ChangeLog FAQ NEWS README THANKS TODO doc
63 %attr(755,root,root) %{_bindir}/statifier
64 %dir %{_prefix}/lib/statifier
65 %{_prefix}/lib/statifier/VERSION
66 %attr(755,root,root) %{_prefix}/lib/statifier/*.sh
67 %attr(755,root,root) %{_prefix}/lib/statifier/*.src
68 %attr(755,root,root) %{_prefix}/lib/statifier/elf_class
69 %ifarch %{ix86} %{x8664}
70 %dir %{_prefix}/lib/%{name}/32
71 %attr(755,root,root) %{_prefix}/lib/statifier/32/*
72 %endif
73 %ifarch %{x8664}
74 %dir %{_prefix}/lib/%{name}/64
75 %attr(755,root,root) %{_prefix}/lib/statifier/64/*
76 %endif
77 %{_mandir}/man1/%{name}.1*
This page took 2.448597 seconds and 3 git commands to generate.