]> git.pld-linux.org Git - packages/rpm-build-macros.git/blob - rpm-build-macros.spec
- rpm_macros_rev 1.266 (%service with brains)
[packages/rpm-build-macros.git] / rpm-build-macros.spec
1 %define rpm_macros_rev  1.266
2 Summary:        PLD Linux RPM build macros
3 Summary(pl):    Makra do budowania pakietów RPM dla Linuksa PLD
4 Name:           rpm-build-macros
5 Version:        %{rpm_macros_rev}
6 Release:        1
7 License:        GPL
8 Group:          Base
9 Source0:        rpm.macros
10 Source1:        service_generator.sh
11 Requires:       rpm-build
12 Provides:       rpmbuild(macros) = %{rpm_macros_rev}
13 Obsoletes:      rpm-macros
14 BuildArch:      noarch
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         _rpmlibdir /usr/lib/rpm
18
19 %description
20 This package contains rpm build macros for PLD Linux.
21
22 %description -l pl
23 Ten pakiet zawiera makra rpm-a do budowania pakietów dla Linuksa PLD.
24
25 %prep
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT%{_rpmlibdir}
30 cp %{SOURCE0} $RPM_BUILD_ROOT%{_rpmlibdir}/macros.build
31 install %{SOURCE1} $RPM_BUILD_ROOT%{_rpmlibdir}/service_generator.sh
32
33 %clean
34 rm -rf $RPM_BUILD_ROOT
35
36 %files
37 %defattr(644,root,root,755)
38 %{_rpmlibdir}/macros.build
39 %attr(755,root,root) %{_rpmlibdir}/service_generator.sh
This page took 0.037768 seconds and 4 git commands to generate.