]> git.pld-linux.org Git - packages/rpm-getdeps.git/blame - rpm-getdeps.spec
- port to rpm 4.16
[packages/rpm-getdeps.git] / rpm-getdeps.spec
CommitLineData
5f9d9873
JR
1Summary: Get dependencies out of RPM spec file
2Summary(pl): Pobieranie zależności z pliku spec pakietu RPM
3Name: rpm-getdeps
df2ac7c1
JR
4Version: 0.0.8
5Release: 1
5f9d9873 6License: GPL
5f9d9873 7Group: Applications/System
6576f132 8Source0: getdeps.c
df2ac7c1
JR
9Source1: Makefile
10BuildRequires: rpm-devel >= 1:4.16.0
5f9d9873
JR
11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13%description
14Get dependencies out of RPM spec file.
15
16%description -l pl
17Pobieranie zależności z pliku spec pakietu RPM.
18
19%prep
20%setup -q -c -T
df2ac7c1
JR
21ln -s %{SOURCE0} .
22ln -s %{SOURCE1} .
5f9d9873
JR
23
24%build
df2ac7c1
JR
25%{__make} \
26 CC="%{__cc}" \
27 RPMLDFLAGS="%{rpmldflags}" \
28 RPMCFLAGS="%{rpmcflags}"
5f9d9873
JR
29
30%install
31rm -rf $RPM_BUILD_ROOT
32install -d $RPM_BUILD_ROOT%{_bindir}
33
6576f132 34cp -p rpm-getdeps $RPM_BUILD_ROOT%{_bindir}
5f9d9873
JR
35
36%clean
37rm -rf $RPM_BUILD_ROOT
38
39%files
40%defattr(644,root,root,755)
6576f132 41%attr(755,root,root) %{_bindir}/rpm-getdeps
This page took 0.064931 seconds and 4 git commands to generate.