]>
Commit | Line | Data |
---|---|---|
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 | end | |
12 | ||
13 | def configfiles | |
14 | end | |
15 | end | |
16 | ||
17 | template LIBS | |
18 | summary = Library files of %{thisapp}. | |
19 | description = Runtime library files of the package %{thisapp}. | |
20 | ||
21 | def files | |
22 | /lib/lib*.so.* | |
23 | /usr/lib*/lib*.so.* | |
24 | end | |
25 | ||
26 | def configfiles | |
27 | end | |
28 | ||
29 | script postin | |
30 | # Update linker cache. | |
31 | /sbin/ldconfig 2>/dev/null || true | |
32 | end | |
33 | ||
34 | script postup | |
35 | /sbin/ldconfig 2>/dev/null || true | |
36 | end | |
37 | ||
38 | script postun | |
39 | /sbin/ldconfig 2>/dev/null || true | |
40 | end | |
41 | end | |
42 | ||
43 | template DEVEL | |
44 | summary = Development files of %{thisapp}. | |
45 | description = %{summary} | |
46 | ||
47 | def files | |
48 | /usr/bin/*-config | |
49 | /usr/include | |
50 | /usr/lib/*.a | |
51 | /usr/lib/pkgconfig | |
52 | /usr/share/aclocal | |
53 | /usr/lib/*.so | |
54 | /usr/share/*/cmake | |
55 | /usr/share/man/man2 | |
56 | /usr/share/man/man3 | |
57 | /usr/share/pkgconfig | |
58 | /usr/share/vala | |
59 | end | |
60 | ||
61 | def configfiles | |
62 | end | |
63 | end | |
64 | end |