]>
Commit | Line | Data |
---|---|---|
c07a3ca7 MT |
1 | |
2 | # XXX fill in description | |
3 | _release = %{release}.%{DISTRO_DISTTAG} | |
4 | thisapp = %{name}-%{version} | |
5 | thisver = %{version}-%{_release} | |
6 | ||
f0618326 MT |
7 | packages |
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 | ||
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 | |
db92769b | 60 | |
f0618326 MT |
61 | def configfiles |
62 | end | |
db92769b | 63 | end |
c07a3ca7 | 64 | end |