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