]>
Commit | Line | Data |
---|---|---|
e7cc95e7 JB |
1 | Summary: Shared application and Window Manager |
2 | Summary(pl.UTF-8): Zarządca współdzielonych aplikacji i okien | |
3 | Name: SaWMan | |
a4c65be5 | 4 | Version: 1.6.3 |
e7cc95e7 JB |
5 | Release: 1 |
6 | License: LGPL v2+ | |
7 | Group: Libraries | |
26add8a3 | 8 | Source0: http://www.directfb.org/downloads/Extras/%{name}-%{version}.tar.gz |
a4c65be5 | 9 | # Source0-md5: 28d03a2e9e5393a39e419181f3844b52 |
366cea63 | 10 | URL: http://www.directfb.org/index.php?path=Platform/SaWMan |
d1489f4d | 11 | BuildRequires: DirectFB-devel >= 1:1.6.0 |
e7cc95e7 | 12 | BuildRequires: pkgconfig >= 1:0.9 |
d1489f4d | 13 | Requires: DirectFB >= 1:1.6.0 |
e7cc95e7 JB |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
d1489f4d | 16 | %define dfblibdir %{_libdir}/directfb-1.6-0 |
26add8a3 | 17 | |
e7cc95e7 JB |
18 | %description |
19 | SaWMan is a new window manager module for use with DirectFB. Its main | |
20 | difference to the default module is that it allows one process to be | |
21 | an application and window manager, implementing all kinds of | |
22 | diversity, while SaWMan is only the working horse. | |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | SaWMan to nowy moduł zarządcy okien dla DirectFB. Główną różnicą w | |
26 | stosunku do domyślnego modułu jest to, że pozwala jednemu procesowi | |
27 | być aplikacją i zarządcą okien, implementując wszystkie urozmaicenia, | |
28 | podczas gdy SaWMan jest tylko silnikiem. | |
29 | ||
30 | %package devel | |
31 | Summary: Header files for sawman library | |
32 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki sawman | |
33 | Group: Development/Libraries | |
34 | Requires: %{name} = %{version}-%{release} | |
d1489f4d | 35 | Requires: DirectFB-devel >= 1:1.6.0 |
e7cc95e7 JB |
36 | |
37 | %description devel | |
38 | Header files for sawman library. | |
39 | ||
40 | %description devel -l pl.UTF-8 | |
41 | Pliki nagłówkowe biblioteki sawman. | |
42 | ||
43 | %package static | |
44 | Summary: Static sawman library | |
45 | Summary(pl.UTF-8): Statyczna biblioteka sawman | |
46 | Group: Development/Libraries | |
47 | Requires: %{name}-devel = %{version}-%{release} | |
48 | ||
49 | %description static | |
50 | Static sawman library. | |
51 | ||
52 | %description static -l pl.UTF-8 | |
53 | Statyczna biblioteka sawman. | |
54 | ||
55 | %prep | |
26add8a3 | 56 | %setup -q |
e7cc95e7 JB |
57 | |
58 | %build | |
59 | %configure \ | |
60 | --enable-static | |
61 | %{__make} | |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %{__make} install \ | |
67 | DESTDIR=$RPM_BUILD_ROOT | |
68 | ||
69 | %clean | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %post -p /sbin/ldconfig | |
73 | %postun -p /sbin/ldconfig | |
74 | ||
75 | %files | |
76 | %defattr(644,root,root,755) | |
26add8a3 | 77 | %doc AUTHORS ChangeLog NEWS README |
366cea63 | 78 | %attr(755,root,root) %{_bindir}/swmdump |
d1489f4d JB |
79 | %attr(755,root,root) %{_libdir}/libsawman-1.6.so.*.*.* |
80 | %attr(755,root,root) %ghost %{_libdir}/libsawman-1.6.so.0 | |
26add8a3 | 81 | %attr(755,root,root) %{dfblibdir}/wm/libdirectfbwm_sawman.so |
e7cc95e7 JB |
82 | |
83 | %files devel | |
84 | %defattr(644,root,root,755) | |
85 | %attr(755,root,root) %{_libdir}/libsawman.so | |
86 | %{_libdir}/libsawman.la | |
87 | %{_includedir}/sawman | |
88 | %{_pkgconfigdir}/sawman.pc | |
89 | ||
90 | %files static | |
91 | %defattr(644,root,root,755) | |
92 | %{_libdir}/libsawman.a | |
26add8a3 | 93 | %{dfblibdir}/wm/libdirectfbwm_sawman.[aol]* |