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