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