]> git.pld-linux.org Git - SPECS.git/blob - checkinstall.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / checkinstall.spec
1 Summary:        CheckInstall installations tracker
2 Summary(pl.UTF-8):      Proste narzędzie do tworzenia i zarządzania pakietami (.tgz, .rpm, .deb)
3 Name:           checkinstall
4 Version:        1.6.1
5 Release:        1
6 License:        GPL v2
7 Group:          Base/Utilities
8 Source0:        http://asic-linux.com.mx/~izto/checkinstall/files/source/%{name}-%{version}.tgz
9 # Source0-md5:  1ae49645d6d16efac79ac67b84bfb419
10 URL:            http://asic-linux.com.mx/~izto/checkinstall/
11 BuildRequires:  sed >= 4.0
12 Requires:       bash
13 Requires:       installwatch >= 0.6.3
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 CheckInstall keeps track of all the files created or modified by your
19 installation script ("make install" "make install_modules", "setup",
20 etc), builds a standard binary package and installs it in your system
21 giving you the ability to uninstall it with your distribution's
22 standard package management utilities.
23
24 %description -l pl.UTF-8
25 Program do śledzenia modyfikacji robionych przez skrypty instalacyjne
26 ("make install", "setup", itp), potrafi zbudować standardową paczkę i
27 zainstalować ją w twoim systemie z możliwością odinstalowania jej
28 narzędziami dostępnymi w twojej dystrybucji (obsługuje rpm, deb, tgz).
29
30 %prep
31 %setup -q
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_sysconfdir}}
36
37 %{__sed} -i "s|#\!/bin/sh|#\!/bin/bash|" checkinstall
38 %{__sed} -i "s|/usr/local|%{_prefix}|" checkinstall{,rc-dist}
39 %{__sed} -i "s|/usr/lib/checkinstall/checkinstallrc|%{_sysconfdir}/checkinstallrc|g" checkinstall
40
41 install checkinstall makepak $RPM_BUILD_ROOT%{_sbindir}
42 install checkinstallrc-dist $RPM_BUILD_ROOT%{_sysconfdir}/checkinstallrc
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %doc BUGS CREDITS Changelog FAQ NLS_SUPPORT README RELNOTES TODO
50 %attr(755,root,root) %{_sbindir}/checkinstall
51 %attr(755,root,root) %{_sbindir}/makepak
52 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/checkinstallrc
This page took 0.183687 seconds and 3 git commands to generate.