]>
Commit | Line | Data |
---|---|---|
8b04c294 | 1 | Summary: Y Windows - modern windowing system |
395c26b0 | 2 | Summary(pl.UTF-8): Y Windows - nowoczesny system okienkowy |
7ef0de3c | 3 | Name: Y |
4 | Version: 0.2 | |
bc2d3403 | 5 | Release: 0.1 |
8b04c294 JB |
6 | License: LGPL (communication libraries), CPL (yiterm), GPL (the rest) |
7 | Group: Libraries | |
e758ab16 | 8 | Source0: http://www.efaref.net/arch/2004/Y/Y--devel/Y--devel--0.2/patch-1/Y--devel--0.2--patch-1.tar.gz |
bc2d3403 | 9 | # Source0-md5: 30bce6027bcb36b39fc89d8cff98e2b0 |
8b04c294 | 10 | Patch0: %{name}-make.patch |
6e7f9c94 | 11 | Patch1: %{name}-clients.patch |
8b04c294 JB |
12 | URL: http://www.y-windows.org/ |
13 | BuildRequires: SDL-devel >= 1.2.0 | |
14 | BuildRequires: autoconf >= 2.53 | |
0a75d291 | 15 | BuildRequires: automake >= 1:1.7 |
8b04c294 JB |
16 | BuildRequires: freetype-devel >= 2.1.3 |
17 | BuildRequires: libiterm-devel >= 0.5 | |
18 | BuildRequires: libsigc++1-devel >= 1.0.0 | |
19 | BuildRequires: libtool >= 2:1.5 | |
43b45b03 | 20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
7ef0de3c | 21 | |
22 | %description | |
8b04c294 JB |
23 | Y is an implementation of a modern windowing system. The Y design has |
24 | the following features: | |
25 | - network transparency | |
26 | - modularity | |
27 | - in-server implementation of widgets | |
28 | - consistency and themeability | |
29 | - support for hardware acceleration | |
30 | - better internationalization, localization and accessibility. | |
7ef0de3c | 31 | |
563f8670 | 32 | %description -l pl.UTF-8 |
8b04c294 | 33 | Y to implementacja nowoczesnego systemu okienkowe. Projekt Y ma |
563f8670 JR |
34 | następujące cechy: |
35 | - przezroczystość względem sieci | |
36 | - modularność | |
37 | - implementacja widgetów w serwerze | |
38 | - spójność i możliwość używania motywów | |
39 | - obsługa akceleracji sprzętowej | |
40 | - lepsze umiędzynarodowienie, lokalizacja i ułatwienia dostępu. | |
7ef0de3c | 41 | |
42 | %package devel | |
8b04c294 | 43 | Summary: Header files for Y Windows libraries |
395c26b0 | 44 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Y Windows |
8b04c294 JB |
45 | License: LGPL |
46 | Group: Development/Libraries | |
47 | Requires: %{name} = %{version}-%{release} | |
48 | # for libY++: libsigc++1-devel | |
49 | ||
7ef0de3c | 50 | %description devel |
8b04c294 | 51 | Header files for Y Windows libraries. |
7ef0de3c | 52 | |
563f8670 JR |
53 | %description devel -l pl.UTF-8 |
54 | Pliki nagłówkowe bibliotek Y Windows. | |
7ef0de3c | 55 | |
56 | %package static | |
8b04c294 | 57 | Summary: Static Y Windows libraries |
395c26b0 | 58 | Summary(pl.UTF-8): Statyczne biblioteki Y Windows |
8b04c294 JB |
59 | License: LGPL |
60 | Group: Development/Libraries | |
61 | Requires: %{name}-devel = %{version}-%{release} | |
62 | ||
7ef0de3c | 63 | %description static |
8b04c294 | 64 | Static Y Windows libraries. |
7ef0de3c | 65 | |
563f8670 | 66 | %description static -l pl.UTF-8 |
8b04c294 | 67 | Statyczne biblioteki Y Windows. |
7ef0de3c | 68 | |
69 | %package utils | |
8b04c294 | 70 | Summary: Y Windows utilities |
395c26b0 | 71 | Summary(pl.UTF-8): Programy użytkowe Y Windows |
8b04c294 JB |
72 | License: CPL (yiterm), GPL (the rest) |
73 | Group: Applications | |
74 | Requires: %{name} = %{version}-%{release} | |
75 | ||
7ef0de3c | 76 | %description utils |
8b04c294 | 77 | Y Windows utilities. |
7ef0de3c | 78 | |
563f8670 JR |
79 | %description utils -l pl.UTF-8 |
80 | Programy użytkowe Y Windows. | |
7ef0de3c | 81 | |
82 | %prep | |
83 | %setup -q -n Y--devel--0.2--patch-1 | |
8b04c294 | 84 | %patch0 -p1 |
6e7f9c94 | 85 | %patch1 -p1 |
7ef0de3c | 86 | |
87 | %build | |
88 | ./autogen.sh | |
8b04c294 JB |
89 | %configure |
90 | %{__make} | |
7ef0de3c | 91 | |
92 | %install | |
93 | rm -rf $RPM_BUILD_ROOT | |
7ef0de3c | 94 | |
8b04c294 JB |
95 | %{__make} install \ |
96 | DESTDIR=$RPM_BUILD_ROOT | |
7ef0de3c | 97 | |
8b04c294 | 98 | rm -f $RPM_BUILD_ROOT%{_libdir}/Y/{*,*/*}/*.{la,a} |
7ef0de3c | 99 | |
100 | %clean | |
101 | rm -rf $RPM_BUILD_ROOT | |
102 | ||
8b04c294 JB |
103 | %post -p /sbin/ldconfig |
104 | %postun -p /sbin/ldconfig | |
105 | ||
7ef0de3c | 106 | %files |
107 | %defattr(644,root,root,755) | |
8b04c294 JB |
108 | # COPYING contains only notes which part is on which license |
109 | %doc AUTHORS COPYING ChangeLog TODO | |
110 | # communication libs | |
111 | %attr(755,root,root) %{_libdir}/lib*.so.*.*.* | |
112 | ||
113 | # Y server | |
2af26e51 | 114 | %attr(755,root,root) %{_bindir}/Y |
115 | %attr(755,root,root) %{_bindir}/startY | |
8b04c294 JB |
116 | %dir %{_libdir}/Y |
117 | %dir %{_libdir}/Y/driver | |
118 | %dir %{_libdir}/Y/driver/input | |
119 | %attr(755,root,root) %{_libdir}/Y/driver/input/*.so | |
120 | %dir %{_libdir}/Y/driver/ipc | |
121 | %attr(755,root,root) %{_libdir}/Y/driver/ipc/*.so | |
122 | %dir %{_libdir}/Y/driver/video | |
123 | %attr(755,root,root) %{_libdir}/Y/driver/video/fbdev.so | |
124 | %dir %{_libdir}/Y/theme | |
125 | %attr(755,root,root) %{_libdir}/Y/theme/*.so | |
126 | %dir %{_libdir}/Y/wm | |
127 | %attr(755,root,root) %{_libdir}/Y/wm/*.so | |
128 | %{_sysconfdir}/Y | |
129 | ||
130 | # driver-sdl | |
131 | %attr(755,root,root) %{_libdir}/Y/driver/video/sdl.so | |
7ef0de3c | 132 | |
133 | %files devel | |
134 | %defattr(644,root,root,755) | |
8b04c294 JB |
135 | %attr(755,root,root) %{_libdir}/lib*.so |
136 | %{_libdir}/*.la | |
7ef0de3c | 137 | %{_includedir}/Y |
138 | ||
139 | %files static | |
140 | %defattr(644,root,root,755) | |
7ef0de3c | 141 | %{_libdir}/*.a |
142 | ||
143 | %files utils | |
144 | %defattr(644,root,root,755) | |
8b04c294 | 145 | %doc COPYING.CPL |
2af26e51 | 146 | %attr(755,root,root) %{_bindir}/y* |