]> git.ipfire.org Git - pakfire.git/blob - macros/templates.macro
QA: Add check for illegal libraries in /usr/lib on x86_64.
[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 template MAIN
9 def files
10 /
11 !/usr/lib/debug
12 !/usr/src/debug
13 end
14
15 def configfiles
16 end
17 end
18
19 template LIBS
20 summary = Library files of %{thisapp}.
21 description = Runtime library files of the package %{thisapp}.
22
23 def files
24 /lib/lib*.so.*
25 /usr/lib*/lib*.so.*
26 end
27
28 def configfiles
29 end
30
31 # Linker cache is updated automatically by pakfire.
32 end
33
34 template DEVEL
35 summary = Development files of %{thisapp}.
36 description = %{summary}
37
38 requires = %{name}=%{thisver}
39
40 def files
41 /usr/bin/*-config
42 /usr/include
43 /usr/lib/*.a
44 /usr/lib/pkgconfig
45 /usr/share/aclocal
46 /usr/lib/*.so
47 /usr/share/*/cmake
48 /usr/share/man/man2
49 /usr/share/man/man3
50 /usr/share/pkgconfig
51 /usr/share/vala
52 end
53
54 def configfiles
55 end
56 end
57
58 template DEBUGINFO
59 summary = Debug information for package %{thisapp}.
60 description
61 This package provides debug information for package %{thisapp}.
62
63 Debug information is useful when developing applications that use
64 this package or when debugging this package.
65 end
66
67 groups = Development/Debug Debug
68
69 files
70 /usr/lib/debug
71 /usr/src/debug
72 end
73 end
74 end