]> git.ipfire.org Git - people/stevee/pakfire.git/blob - macros/templates.macro
Add gir files for gobject-introspection to the DEVEL template.
[people/stevee/pakfire.git] / macros / templates.macro
1
2 # XXX fill in description
3 _release = %{release}.%{DISTRO_DISTTAG}
4 thisapp = %{name}-%{version}
5 thisver = %{version}-%{_release}
6
7 packages
8 # Don't inherit dependency information from somewhere else
9 # (like build dependencies).
10 prerequires =
11 requires =
12 provides =
13 conflicts =
14 obsoletes =
15
16 template MAIN
17 files
18 /
19 !/usr/lib/debug
20 !/usr/src/debug
21 end
22
23 configfiles =
24 end
25
26 template LIBS
27 summary = Library files of %{thisapp}.
28 description = Runtime library files of the package %{thisapp}.
29
30 files
31 /%{lib}/*.so.*
32 %{libdir}/lib*.so.*
33 end
34
35 configfiles =
36
37 # Linker cache is updated automatically by pakfire.
38 end
39
40 template DEVEL
41 summary = Development files of %{thisapp}.
42 description = %{summary}
43
44 requires
45 %{name} = %{thisver}
46 end
47
48 files
49 %{bindir}/*-config
50 %{includedir}
51 %{libdir}/*.a
52 %{libdir}/pkgconfig
53 %{datadir}/aclocal
54 %{libdir}/*.so
55 %{datadir}/cmake
56 %{mandir}/man2
57 %{mandir}/man3
58 %{datadir}/gir*/
59 %{datadir}/pkgconfig
60 %{datadir}/vala
61 end
62
63 configfiles =
64 end
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
75 groups = Development/Debug Debug
76
77 files
78 /usr/lib/debug
79 /usr/src/debug
80 end
81 end
82
83 template DOCS
84 summary = Documentation from the %{name} package.
85 description = %{summary}
86
87 files
88 %{datadir}/doc
89 end
90 end
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
111 end