]> git.pld-linux.org Git - packages/test.git/blob - test.spec
0ab7f6c6b257b29a934504486794bb4335068fdd
[packages/test.git] / test.spec
1
2 %define         kpkg    %(echo %{ksa} | tr , '\\n' | while read n ; do echo %%pkg $n; done)
3
4 Summary:        testing something
5 Name:           test
6 Version:        1
7 Release:        0.1
8 License:        GPL
9 Group:          Applications/System
10 URL:            http://www.pld-linux.org/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %define kernel_pkg()\
14 %package -n kernel%{_alt_kernel}-net-%{pname} %1\
15 Summary:        Intel(R) PRO/1000e driver for Linux
16 Summary(pl.UTF-8):      Sterownik do karty Intel® PRO/1000e
17 Release:        %{rel}@%{_kernel_ver_str}
18 Group:          Base/Kernel
19 Requires(post,postun):  /sbin/depmod
20 %if %{with dist_kernel}
21 %requires_releq_kernel
22 Requires(postun):       %releq_kernel
23 %endif
24
25 %description -n kernel%{_alt_kernel}-net-%{pname}
26 This package contains the Linux driver for the Intel(R) PRO/1000
27 family of 10/100/1000 Ethernet network adapters. This driver is
28 designed to work with the Intel(R) 82571/2/3/4 PCI-E family of gigabit
29 adapters and 82567 controllers.
30
31 %description -n kernel%{_alt_kernel}-net-%{pname} -l pl.UTF-8
32 Ten pakiet zawiera sterownik dla Linuksa do kart sieciowych
33 10/100/1000Mbit z rodziny Intel® PRO/1000. Ten sterownik jest
34 stworzony aby pracować z kartami gigabitowymi rodziny Intel®
35 82571/2/3/4 PCI-E oraz kontrolerami 82567.
36
37 Summary:        Munin plugins from MuninExchange - %1\
38 Summary(pl.UTF-8):      Wtyczki munina z MuninExchange - %1\
39 Group:          Daemons\
40 Requires:       munin-node\
41 \
42 %description %1\
43 This package contains plugins for Munin from MuninExchange repository\
44 located at <https://github.com/munin-monitoring/contrib/>.\
45 \
46 %description %1 -l pl.UTF-8\
47 Ten pakiet zawera wtyczki dla Munina z repozytorium MuninExchange,\
48 znajdującym się na <https://github.com/munin-monitoring/contrib/>.\
49 \
50 %files %1 -f %1.list\
51 %defattr(755,root,root,755)\
52 %{nil}
53
54 %description
55 testing something
56
57 %{expand:%kpkg}
58
59 %prep
60 %setup -qcT
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT
65
66 touch a.list b.list c.list
67
68 %define _alt_kernel    xxx
69 echo %{_kernelsrcdir}
70 %define _alt_kernel    zzz
71 echo %{_kernelsrcdir}
72
73 %clean
74
75 %files
76 %defattr(644,root,root,755)
This page took 0.066508 seconds and 2 git commands to generate.