]> git.ipfire.org Git - pakfire.git/blame - macros/templates.macro
Development packages should always require the installation of the base package.
[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
MT
7packages
8 template MAIN
9 def files
10 /
11 end
db92769b 12
f0618326
MT
13 def configfiles
14 end
db92769b 15 end
c07a3ca7 16
f0618326
MT
17 template LIBS
18 summary = Library files of %{thisapp}.
19 description = Runtime library files of the package %{thisapp}.
c07a3ca7 20
f0618326
MT
21 def files
22 /lib/lib*.so.*
23 /usr/lib*/lib*.so.*
24 end
c07a3ca7 25
f0618326
MT
26 def configfiles
27 end
db92769b 28
f0618326
MT
29 script postin
30 # Update linker cache.
31 /sbin/ldconfig 2>/dev/null || true
32 end
c07a3ca7 33
f0618326
MT
34 script postup
35 /sbin/ldconfig 2>/dev/null || true
36 end
c07a3ca7 37
f0618326
MT
38 script postun
39 /sbin/ldconfig 2>/dev/null || true
40 end
c07a3ca7 41 end
c07a3ca7 42
f0618326
MT
43 template DEVEL
44 summary = Development files of %{thisapp}.
45 description = %{summary}
46
2a436c9e
MT
47 requires = %{name}=%{thisver}
48
f0618326
MT
49 def files
50 /usr/bin/*-config
51 /usr/include
52 /usr/lib/*.a
53 /usr/lib/pkgconfig
54 /usr/share/aclocal
55 /usr/lib/*.so
56 /usr/share/*/cmake
57 /usr/share/man/man2
58 /usr/share/man/man3
59 /usr/share/pkgconfig
60 /usr/share/vala
61 end
db92769b 62
f0618326
MT
63 def configfiles
64 end
db92769b 65 end
c07a3ca7 66end