]>
Commit | Line | Data |
---|---|---|
b05d4e94 JB |
1 | # TODO: what are man3 pages? |
2 | # if not API docs - shouldn't be in another section? | |
3 | # if API docs - no devel files are installed (well, except perl, but AFAICS perl is not installed at all) | |
f11342de JB |
4 | # |
5 | # Conditional build: | |
6 | %bcond_with mmx # use MMX | |
7 | # | |
8 | %ifarch pentium3 pentium4 athlon %{x8664} | |
9 | %define with_mmx 1 | |
10 | %endif | |
704fe2f9 | 11 | Summary: AfterStep Window Manager |
c3faefca ER |
12 | Summary(ja.UTF-8): AfterStep ウィンドウマネージャ (NeXT風) |
13 | Summary(pl.UTF-8): AfterStep - zarządca okien | |
704fe2f9 | 14 | Name: AfterStep |
14a0f3a6 | 15 | Version: 2.2.9 |
03bfe610 | 16 | Release: 0.1 |
29a56e04 | 17 | License: GPL v2+ |
b213dc4a | 18 | Vendor: The AfterStep Team (see TEAM in docdir) |
73368d64 | 19 | Group: X11/Window Managers |
27c2c11b | 20 | Source0: ftp://ftp.afterstep.org/stable/%{name}-%{version}.tar.bz2 |
14a0f3a6 | 21 | # Source0-md5: 59d739b2416ac18201027d7cc0888c20 |
cdc459bb | 22 | #Source1: %{name}.RunWM |
7a98e910 | 23 | Source3: %{name}-xsession.desktop |
c1b9f662 | 24 | Patch0: %{name}-no_bash_fix.patch |
29a56e04 | 25 | Patch1: %{name}-install_man.patch |
f11342de JB |
26 | Patch2: %{name}-opt.patch |
27 | Patch3: %{name}-link.patch | |
b213dc4a | 28 | URL: http://www.afterstep.org/ |
35274d18 | 29 | BuildRequires: autoconf >= 2.59-9 |
4fa2d317 | 30 | BuildRequires: automake |
35274d18 JB |
31 | BuildRequires: giflib-devel |
32 | BuildRequires: gtk+2-devel >= 1:2.0.0 | |
27c529c9 | 33 | BuildRequires: libjpeg-devel |
34 | BuildRequires: libpng-devel | |
35274d18 JB |
35 | BuildRequires: libtiff-devel |
36 | BuildRequires: pkgconfig | |
4fa2d317 | 37 | BuildRequires: sgml-tools |
35274d18 JB |
38 | BuildRequires: xorg-lib-libXext-devel |
39 | BuildRequires: xorg-lib-libXinerama-devel | |
cdc459bb | 40 | #Requires: wmconfig >= 0.9.9-5 |
220e3ec6 | 41 | Conflicts: filesystem < 3.0-20 |
169c0cb1 | 42 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
704fe2f9 | 43 | |
220e3ec6 | 44 | %define _wmpropsdir /usr/share/gnome/wm-properties |
704fe2f9 JR |
45 | |
46 | %description | |
47 | AfterStep is a continuation of the BowMan window manager which was | |
5ed489aa | 48 | originally put together by Bo Yang. BowMan was based on the fvwm |
49 | window manager, written by Robert Nation. Fvwm was based on code from | |
50 | twm. And so on... It was originally designed to emulate some of the | |
51 | look and feel of the NEXTSTEP user interface, but has since taken | |
52 | steps towards adding more useful, requested, and neat features | |
742cc931 JB |
53 | especially in 1.4 version! The changes which comprise AfterStep's |
54 | personality were originally part of BowMan development, but due to a | |
5ed489aa | 55 | desire to move past simple emulation and into a niche as its own |
56 | valuable window manager, AfterStep designers decided to change the | |
57 | project name and move on. | |
704fe2f9 JR |
58 | |
59 | Important features of AfterStep include: | |
742cc931 JB |
60 | - 1. Wharf: a free-floating application loader which can "Swallow" |
61 | running programs and also can contain "Folders" of more | |
62 | applications. | |
63 | - 2. Gradient filled TitleBars with 5 button: help/zap, action/tasks, | |
64 | iconize/maximise, shade/stick & close/destroy buttons | |
65 | - 3. Gradient filled root window PopUp menus which can be configured | |
66 | to accomodate different tastes and styles of management | |
67 | - 4. NEXTSTEP style icons which give a consistent look to the entire | |
68 | desktop | |
69 | - 5. Pixmapped Pager with desktop pixmmaping | |
70 | - 6. Easy to use look files, to share you desktop appearance with your | |
71 | friends | |
72 | - 7. Start menu entries in a hierarchy of directories | |
73 | - 8. WinList: a tasklist which can be horizontal or vertical | |
74 | - 9. Many modules & asapps to give a good look to your X window | |
75 | station | |
704fe2f9 | 76 | |
991b3559 JR |
77 | %description -l pl.UTF-8 |
78 | AfterStep jest kontynuacją zarządcy okienek o nazwie BowMan, który | |
79 | został opracowany przez Bo Yanga. BowMan bazował na innym zarządcy | |
5ed489aa | 80 | okien o nazwie fvwm napisanym przez Roberta Nationa, a sam fvwm |
991b3559 JR |
81 | bazował na kodzie źródłowym zarządcy okien twm. I tak dalej... |
82 | AfterStep początkowo miał imitować część zachowania interfejsu | |
83 | użytkownika NEXTSTEP, ale potem rozwinął się w kierunku dodawania | |
84 | bardziej przydatnych, pożądanych i przyjemnych możliwości, szczególnie | |
85 | w wersji 1.4. Zmiany obejmujące osobowość AfterStepa były początkowo | |
86 | częścią rozwoju BowMana, ale ze względu na chęć wykroczenia poza | |
87 | prostą imitację do niszy samodzielnego wartościowego zarządcy okien, | |
88 | projektanci AfterStepa zdecydowali się zmienić nazwę. | |
742cc931 | 89 | |
991b3559 JR |
90 | Najważniejsze cechy AfterStepa obejmują: |
91 | - 1. Dok - obiekt do ładowania aplikacji mogący "połykać" uruchomione | |
92 | programy i zawierać "foldery" większej liczby aplikacji | |
93 | - 2. Wypełnione gradientem paski tytułowe z 5 przyciskami: | |
742cc931 | 94 | pomoc/zabicie, akcja/zadania, ikona/maksymalizacja, |
991b3559 JR |
95 | cień/przyklejenie oraz zamknięcie/zniszczenie |
96 | - 3. Wypełnione gradientem wyskakujące menu w głównym oknie, | |
97 | konfigurowalne aby sprostać różnym smakom i stylom zarządzania | |
98 | - 4. Ikony w stylu NEXTSTEPA dające spójny wygląd całego pulpitu | |
742cc931 | 99 | - 5. Pager z pixmapami pulpitu |
991b3559 | 100 | - 6. Łatwe w użyciu pliki wyglądu, dzięki którym można dzielić wygląd |
742cc931 JB |
101 | pulpitu z kolegami |
102 | - 7. Wpisy menu Start o hierarchii katalogowej | |
991b3559 JR |
103 | - 8. WinList - pozioma lub pionowa lista zadań |
104 | - 9. Wiele modułów i aplikacji AfterStepa (asapps) dających dobry | |
105 | wygląd stacji X Window | |
c6282515 | 106 | |
704fe2f9 | 107 | %prep |
d9396566 | 108 | %setup -q |
3efcc5de | 109 | %patch0 -p1 |
29a56e04 | 110 | %patch1 -p1 |
f11342de JB |
111 | %patch2 -p1 |
112 | %patch3 -p1 | |
f400183c | 113 | |
35274d18 JB |
114 | cp -f autoconf/configure*.in . |
115 | ||
704fe2f9 | 116 | %build |
aad65ab0 | 117 | %{__aclocal} |
af669b37 | 118 | %{__autoconf} |
35274d18 | 119 | %{__autoheader} |
f11342de JB |
120 | cd libAfterBase |
121 | %{__autoconf} | |
122 | %{__autoheader} | |
123 | cd ../libAfterImage | |
124 | %{__autoconf} | |
125 | %{__autoheader} | |
126 | cd .. | |
f400183c | 127 | %configure \ |
f11342de | 128 | %{!?with_mmx:--disable-mmx-optimization} \ |
35274d18 | 129 | --enable-i18n \ |
f11342de | 130 | --enable-sharedlibs \ |
35274d18 | 131 | --with-gif \ |
704fe2f9 | 132 | --with-helpcommand="xterm -e man" \ |
4fa2d317 | 133 | --with-jpeg \ |
35274d18 JB |
134 | --with-png \ |
135 | --with-xpm | |
c6282515 | 136 | |
2252f85a | 137 | %{__make} |
704fe2f9 JR |
138 | sgml2html doc/afterstep.sgml |
139 | ||
140 | %install | |
141 | rm -rf $RPM_BUILD_ROOT | |
6777d809 | 142 | install -d $RPM_BUILD_ROOT{%{_wmpropsdir},%{_datadir}/xsessions,/etc/sysconfig/wmstyle} |
704fe2f9 | 143 | |
d9396566 JB |
144 | %{__make} install install.man \ |
145 | DESTDIR=$RPM_BUILD_ROOT | |
704fe2f9 | 146 | |
67411aa9 | 147 | install AfterStep.desktop $RPM_BUILD_ROOT%{_wmpropsdir} |
48416a1b | 148 | |
cdc459bb | 149 | #install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/afterstep.sh |
7a98e910 | 150 | install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/xsessions/AfterStep.desktop |
3b23f2d2 | 151 | |
48416a1b | 152 | rm -f $RPM_BUILD_ROOT%{_bindir}/{sessreg,xpmroot} |
153 | rm -rf $RPM_BUILD_ROOT%{_datadir}/afterstep/doc | |
704fe2f9 | 154 | |
704fe2f9 JR |
155 | %clean |
156 | rm -rf $RPM_BUILD_ROOT | |
157 | ||
f11342de JB |
158 | %post -p /sbin/ldconfig |
159 | %postun -p /sbin/ldconfig | |
160 | ||
704fe2f9 JR |
161 | %files |
162 | %defattr(644,root,root,755) | |
163 | %doc doc/code doc/languages TODO *.html | |
b4614431 | 164 | %doc UPGRADE NEW README TEAM README.RedHat doc/languages/* |
cdc459bb | 165 | #%attr(755,root,root) /etc/sysconfig/wmstyle/*.sh |
704fe2f9 | 166 | %attr(755,root,root) %{_bindir}/* |
f11342de | 167 | %attr(755,root,root) %{_libdir}/libAfter*.so.*.* |
67411aa9 | 168 | %{_wmpropsdir}/AfterStep.desktop |
704fe2f9 | 169 | %{_datadir}/afterstep |
7a98e910 | 170 | %{_datadir}/xsessions/AfterStep.desktop |
704fe2f9 | 171 | %{_mandir}/man1/* |
b05d4e94 | 172 | # ??? |
03bfe610 | 173 | #%%{_mandir}/man3/* |