]> git.pld-linux.org Git - packages/InDependence.git/blob - InDependence.spec
- unified, removed outdated URL
[packages/InDependence.git] / InDependence.spec
1 Summary:        RPM Dependency Tracker
2 Summary(pl.UTF-8):      Pakiet programów śledzących zależności pakietów RPM
3 Name:           InDependence
4 Version:        1.0
5 Release:        1
6 License:        Artistic License
7 Group:          Applications/System
8 Source0:        %{name}_%{version}.tar.gz
9 # Source0-md5:  df419e1443683305891060985f723902
10 Patch0:         %{name}-rpmlib.patch
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 InDependence is a suite of tools (well two :-) designed to help RPM
15 packagers and system administrators deal with the dependencies between
16 RPM packages. InDependence has two major components:
17
18 Dep: This tool is for the RPM packager that identifies external files
19 or RPM packages that a program uses.
20
21 RPMTC: "RPM Transitive Closure". This tool is for the RPM system
22 administrator. "rpmtc foo.rpm" will transitively compute the -
23 - *entire* set of RPMs necessary to support the foo.rpm package, i.e.
24   if foo.rpm depends on bar.rpm, and bar.rpm depends on baz.rpm, RPMTC
25   will report both bar and baz.
26
27 %description -l pl.UTF-8
28 InDependence jest pakietem narzędzi (no, dwóch ;-) zaprojektowanych
29 w celu pomocy osobom tworzącym pakiety RPM oraz administratorom
30 systemów w śledzeniu zależności pomiędzy pakietami RPM. InDependence
31 ma dwa podstawowe komponenty:
32
33 Dep: Narzędzie dla osoby przygotowującej pakiety, które identyfikuje
34 zewnętrzne pliki lub pakiety RPM używane przez dany program.
35
36 RPMTC: "RPM Transitive Closure". Narzędzie dla administratora systemów.
37 Polecenie "rpmtc foo.rpm" rekursywnie przeanalizuje *cały* zestaw
38 pakietów RPM potrzebnych do instalacji pakietu foo.rpm, np. jeśli
39 foo.rpm zależy od bar.rpm, a bar.rpm od baz.rpm, RPMTC zwróci oba
40 pakiety: bar i baz.
41
42 %prep
43 %setup -q -n %{name}_%{version}
44 %patch0 -p1
45
46 %build
47 %{__make} \
48         CC="%{__cc}"
49         CFLAGS="%{rpmcflags}" \
50         LDFLAGS="%{rpmldflags}"
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT%{_bindir}
55
56 install dep/dep $RPM_BUILD_ROOT%{_bindir}/dep
57 install dep/swrapper.pl $RPM_BUILD_ROOT%{_bindir}/swrapper.pl
58 install rpmtc/rpmtc $RPM_BUILD_ROOT%{_bindir}/rpmtc
59 install rpmtc/rpmdep-pipe $RPM_BUILD_ROOT%{_bindir}/rpmdep-pipe
60 install -d $RPM_BUILD_ROOT%{_mandir}/man1
61 install dep/dep.1 $RPM_BUILD_ROOT%{_mandir}/man1/dep.1
62 install rpmtc/rpmtc.1 $RPM_BUILD_ROOT%{_mandir}/man1/rpmtc.1
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc README
70 %attr(755,root,root) %{_bindir}/dep
71 %attr(755,root,root) %{_bindir}/rpmdep-pipe
72 %attr(755,root,root) %{_bindir}/rpmtc
73 %attr(755,root,root) %{_bindir}/swrapper.pl
74 %{_mandir}/man1/dep.1*
75 %{_mandir}/man1/rpmtc.1*
This page took 0.158435 seconds and 3 git commands to generate.