]> git.ipfire.org Git - people/ms/pakfire.git/blob - macros/templates.macro
Merge branch 'master' of ssh://git.ipfire.org/pub/git/oddments/pakfire
[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 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}/*.so.*
25 ${libdir}/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 %{bindir}/*-config
42 %{includedir}
43 %{libdir}//*.a
44 %{libdir}/pkgconfig
45 %{datadir}/aclocal
46 %{libdir}/*.so
47 %{datadir}/*/cmake
48 %{mandir}/man2
49 %{mandir}/man3
50 %{datadir}/pkgconfig
51 %{datadir}/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