]>
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 | |
26add8a3 | 4 | Version: 1.4.10 |
e7cc95e7 JB |
5 | Release: 1 |
6 | License: LGPL v2+ | |
7 | Group: Libraries | |
26add8a3 JB |
8 | Source0: http://www.directfb.org/downloads/Extras/%{name}-%{version}.tar.gz |
9 | # Source0-md5: a56cb8a12246e041070d2ae87021e24d | |
10 | Patch0: %{name}-update.patch | |
366cea63 | 11 | URL: http://www.directfb.org/index.php?path=Platform/SaWMan |
26add8a3 | 12 | BuildRequires: DirectFB-devel >= 1:1.4.0 |
e7cc95e7 JB |
13 | BuildRequires: pkgconfig >= 1:0.9 |
14 | %requires_eq DirectFB | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
26add8a3 JB |
17 | %define dfblibdir %{_libdir}/directfb-1.4-5 |
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} | |
26add8a3 | 36 | Requires: DirectFB-devel >= 1:1.4.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 JB |
57 | %setup -q |
58 | %patch0 -p1 | |
e7cc95e7 JB |
59 | |
60 | %build | |
61 | %configure \ | |
62 | --enable-static | |
63 | %{__make} | |
64 | ||
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %{__make} install \ | |
69 | DESTDIR=$RPM_BUILD_ROOT | |
70 | ||
71 | %clean | |
72 | rm -rf $RPM_BUILD_ROOT | |
73 | ||
74 | %post -p /sbin/ldconfig | |
75 | %postun -p /sbin/ldconfig | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
26add8a3 | 79 | %doc AUTHORS ChangeLog NEWS README |
366cea63 | 80 | %attr(755,root,root) %{_bindir}/swmdump |
26add8a3 JB |
81 | %attr(755,root,root) %{_libdir}/libsawman-1.4.so.*.*.* |
82 | %attr(755,root,root) %ghost %{_libdir}/libsawman-1.4.so.5 | |
83 | %attr(755,root,root) %{dfblibdir}/wm/libdirectfbwm_sawman.so | |
e7cc95e7 JB |
84 | |
85 | %files devel | |
86 | %defattr(644,root,root,755) | |
87 | %attr(755,root,root) %{_libdir}/libsawman.so | |
88 | %{_libdir}/libsawman.la | |
89 | %{_includedir}/sawman | |
90 | %{_pkgconfigdir}/sawman.pc | |
91 | ||
92 | %files static | |
93 | %defattr(644,root,root,755) | |
94 | %{_libdir}/libsawman.a | |
26add8a3 | 95 | %{dfblibdir}/wm/libdirectfbwm_sawman.[aol]* |