]> git.ipfire.org Git - people/ms/pakfire.git/blame - macros/templates.macro
jail: Fix incorrect variable name
[people/ms/pakfire.git] / macros / templates.macro
CommitLineData
c07a3ca7
MT
1
2# XXX fill in description
3_release = %{release}.%{DISTRO_DISTTAG}
4thisapp = %{name}-%{version}
5thisver = %{version}-%{_release}
6
f0618326 7packages
02bbd776
MT
8 # Don't inherit dependency information from somewhere else
9 # (like build dependencies).
10 prerequires =
11 requires =
12 provides =
13 conflicts =
14 obsoletes =
15
f0618326 16 template MAIN
8b0486b7 17 files
f0618326 18 /
3ce6a8ad
MT
19 !/usr/lib/debug
20 !/usr/src/debug
f0618326 21 end
db92769b 22
8b0486b7 23 configfiles =
db92769b 24 end
c07a3ca7 25
f0618326
MT
26 template LIBS
27 summary = Library files of %{thisapp}.
28 description = Runtime library files of the package %{thisapp}.
c07a3ca7 29
8b0486b7 30 files
28d69c2c 31 /%{lib}/*.so.*
abf91cdf 32 %{libdir}/lib*.so.*
f0618326 33 end
c07a3ca7 34
8b0486b7 35 configfiles =
db92769b 36
361f134d 37 # Linker cache is updated automatically by pakfire.
c07a3ca7 38 end
c07a3ca7 39
f0618326
MT
40 template DEVEL
41 summary = Development files of %{thisapp}.
42 description = %{summary}
43
8b0486b7
MT
44 requires
45 %{name} = %{thisver}
46 end
2a436c9e 47
8b0486b7 48 files
28d69c2c
MT
49 %{bindir}/*-config
50 %{includedir}
7dab0c01 51 %{libdir}/*.a
28d69c2c
MT
52 %{libdir}/pkgconfig
53 %{datadir}/aclocal
54 %{libdir}/*.so
42d6af74 55 %{datadir}/cmake
28d69c2c
MT
56 %{mandir}/man2
57 %{mandir}/man3
326e179e 58 %{datadir}/gir*
28d69c2c
MT
59 %{datadir}/pkgconfig
60 %{datadir}/vala
f0618326 61 end
db92769b 62
8b0486b7 63 configfiles =
db92769b 64 end
3ce6a8ad
MT
65
66 template DEBUGINFO
67 summary = Debug information for package %{thisapp}.
68 description
69 This package provides debug information for package %{thisapp}.
70
71 Debug information is useful when developing applications that use
72 this package or when debugging this package.
73 end
74
1ff44a65 75 groups = Development/Debug Debug
3ce6a8ad
MT
76
77 files
78 /usr/lib/debug
79 /usr/src/debug
80 end
81 end
2b402795
MT
82
83 template DOCS
84 summary = Documentation from the %{name} package.
85 description = %{summary}
86
87 files
88 %{datadir}/doc
89 end
90 end
7ac1cb68
MT
91
92 template PYTHON
93 summary = Python bindings from the %{name} package.
94 description = %{summary}
95
96 files
97 %{python_sitearch}
98 %{python_sitelib}
99 end
100 end
101
102 template PYTHON3
103 summary = Python 3 bindings from the %{name} package.
104 description = %{summary}
105
106 files
107 %{python3_sitearch}
108 %{python3_sitelib}
109 end
110 end
c07a3ca7 111end