1 # $Revision: 1.4 $, $Date: 2005/09/12 16:46:06 $
2 Summary: Get dependencies out of RPM spec file
3 Summary(pl): Pobieranie zależności z pliku spec pakietu RPM
8 Vendor: Joey Hess <joey@kitenet.net>
9 Group: Applications/System
10 Source0: http://www-user.tu-chemnitz.de/~ensc/getdeps.c
11 # Source0-md5: c20a7f6a0ef86461514fbf55092ae434
12 BuildRequires: rpm-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Get dependencies out of RPM spec file.
19 Pobieranie zależności z pliku spec pakietu RPM.
25 %{__cc} %{rpmcflags} %{rpmldflags} -I/usr/include/rpm -Wall -lrpm -lrpmbuild %{SOURCE0} -o %{name}
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT%{_bindir}
31 install %{name} $RPM_BUILD_ROOT%{_bindir}
34 rm -rf $RPM_BUILD_ROOT
37 %defattr(644,root,root,755)
38 %attr(755,root,root) %{_bindir}/*
40 %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
42 * %{date} PLD Team <feedback@pld-linux.org>
43 All persons listed below can be reached at <cvs_login>@pld-linux.org
45 $Log: rpm-getdeps.spec,v $
46 Revision 1.4 2005/09/12 16:46:06 glen
47 - integer release, 2, STBR
49 Revision 1.3 2004/06/17 19:36:58 arekm
52 Revision 1.2 2004/06/06 15:33:58 qboosh
55 Revision 1.1 2004/06/06 09:56:47 arekm