]> git.ipfire.org Git - people/ms/pakfire.git/blob - macros/templates.macro
template: Fix packaging cmake files.
[people/ms/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}/pkgconfig
59 %{datadir}/vala
60 end
61
62 configfiles =
63 end
64
65 template DEBUGINFO
66 summary = Debug information for package %{thisapp}.
67 description
68 This package provides debug information for package %{thisapp}.
69
70 Debug information is useful when developing applications that use
71 this package or when debugging this package.
72 end
73
74 groups = Development/Debug Debug
75
76 files
77 /usr/lib/debug
78 /usr/src/debug
79 end
80 end
81
82 template DOCS
83 summary = Documentation from the %{name} package.
84 description = %{summary}
85
86 files
87 %{datadir}/doc
88 end
89 end
90 end