]> git.pld-linux.org Git - packages/SaWMan.git/blob - SaWMan.spec
- added format patch (workarounds to build with -Werror=format-security)
[packages/SaWMan.git] / SaWMan.spec
1 Summary:        Shared application and Window Manager
2 Summary(pl.UTF-8):      Zarządca współdzielonych aplikacji i okien
3 Name:           SaWMan
4 Version:        1.6.2
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:  aeb87cd87a4241f9d4d55a6a363c4b4a
10 Patch0:         %{name}-format.patch
11 URL:            http://www.directfb.org/index.php?path=Platform/SaWMan
12 BuildRequires:  DirectFB-devel >= 1:1.6.0
13 BuildRequires:  pkgconfig >= 1:0.9
14 Requires:       DirectFB >= 1:1.6.0
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %define         dfblibdir       %{_libdir}/directfb-1.6-0
18
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}
36 Requires:       DirectFB-devel >= 1:1.6.0
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
57 %setup -q
58 %patch0 -p1
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)
79 %doc AUTHORS ChangeLog NEWS README
80 %attr(755,root,root) %{_bindir}/swmdump
81 %attr(755,root,root) %{_libdir}/libsawman-1.6.so.*.*.*
82 %attr(755,root,root) %ghost %{_libdir}/libsawman-1.6.so.0
83 %attr(755,root,root) %{dfblibdir}/wm/libdirectfbwm_sawman.so
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
95 %{dfblibdir}/wm/libdirectfbwm_sawman.[aol]*
This page took 0.046513 seconds and 3 git commands to generate.