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