1 Summary: RPM Dependency Tracker
5 Group: Applications/System
6 Source0: %{name}_%{version}.tar.gz
7 # Source0-md5: df419e1443683305891060985f723902
8 Patch0: %{name}_1.0-rpmlib.asp.patch
9 License: Artistic License
10 URL: http://www.cse.ogi.edu/DISC/projects/independence/
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 InDependence is a suite of tools (well two :-) designed to help RPM
16 packagers and system administrators deal with the dependencies between
17 RPM packages. InDependence has two major components:
19 Dep: This tool is for the RPM packager that identifies external files
20 or RPM packages that a program uses.
22 RPMTC: "RPM Transitive Closure". This tool is for the RPM system
23 administrator. "rpmtc foo.rpm" will transitively compute the -
24 - *entire* set of RPMs necessary to support the foo.rpm package, i.e.
25 if foo.rpm depends on bar.rpm, and bar.rpm depends on baz.rpm, RPMTC
26 will report both bar and baz.
29 %setup -q -n %{name}_%{version}
36 rm -rf $RPM_BUILD_ROOT
37 install -d ${RPM_BUILD_ROOT}%{_bindir}
38 install dep/dep ${RPM_BUILD_ROOT}%{_bindir}/dep
39 install dep/swrapper.pl ${RPM_BUILD_ROOT}%{_bindir}/swrapper.pl
40 install rpmtc/rpmtc ${RPM_BUILD_ROOT}%{_bindir}/rpmtc
41 install rpmtc/rpmdep-pipe ${RPM_BUILD_ROOT}%{_bindir}/rpmdep-pipe
42 install -d ${RPM_BUILD_ROOT}%{_mandir}/man1
43 install dep/dep.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/dep.1
44 install rpmtc/rpmtc.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/rpmtc.1
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
52 %attr(755,root,root) %{_bindir}/dep
53 %attr(755,root,root) %{_bindir}/rpmdep-pipe
54 %attr(755,root,root) %{_bindir}/rpmtc
55 %attr(755,root,root) %{_bindir}/swrapper.pl
56 %{_mandir}/man1/dep.1*
57 %{_mandir}/man1/rpmtc.1*