]>
Commit | Line | Data |
---|---|---|
43839fb8 JB |
1 | Summary: Tool to unpack installers created by Inno Setup |
2 | Summary(pl.UTF-8): Narzędzie do rozpakowywania instalatorów tworzonych przez Inno Setup | |
3 | Name: innoextract | |
6913e069 | 4 | Version: 1.9 |
b97854b3 | 5 | Release: 6 |
078251cc | 6 | License: Zlib (BSD-like) |
43839fb8 | 7 | Group: Applications/Files |
078251cc | 8 | Source0: https://constexpr.org/innoextract/files/innoextract-%{version}/%{name}-%{version}.tar.gz |
6913e069 | 9 | # Source0-md5: 964f39bb3f8fd2313629e69ffd3dab9f |
078251cc | 10 | URL: https://constexpr.org/innoextract/ |
43839fb8 | 11 | BuildRequires: boost-devel |
078251cc | 12 | BuildRequires: bzip2-devel |
43839fb8 JB |
13 | BuildRequires: cmake >= 2.8 |
14 | BuildRequires: libstdc++-devel | |
15 | BuildRequires: xz-devel | |
078251cc | 16 | BuildRequires: zlib-devel |
43839fb8 JB |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
20 | Inno Setup is a tool to create installers for Microsoft Windows | |
21 | applications. innoextract allows to extract such installers under | |
22 | non-windows systems without running the actual installer using WINE. | |
23 | innoextract currently supports installers created by Inno Setup 1.2.10 | |
078251cc | 24 | to 6.0.5. |
43839fb8 JB |
25 | |
26 | %description -l pl.UTF-8 | |
27 | Inno Setup to narzędzie do tworzenia instalatorów dla systemu | |
28 | Microsoft Windows. innoextract pozwala na rozpakowywanie takich | |
29 | instalatorów na innych systemach operacyjnych bez uruchamiania samego | |
30 | instalatora przy użyciu WINE. innoextract obecnie obsługuje | |
078251cc | 31 | instalatory utworzone przez Inno Setup w wersjach od 1.2.10 do 6.0.5. |
43839fb8 JB |
32 | |
33 | %prep | |
34 | %setup -q | |
35 | ||
36 | %build | |
078251cc JB |
37 | install -d build |
38 | cd build | |
39 | %cmake .. | |
43839fb8 JB |
40 | |
41 | %{__make} | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
078251cc | 46 | %{__make} -C build install \ |
43839fb8 JB |
47 | DESTDIR=$RPM_BUILD_ROOT |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc CHANGELOG LICENSE README.md | |
55 | %attr(755,root,root) %{_bindir}/innoextract | |
56 | %{_mandir}/man1/innoextract.1* |