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