]> git.pld-linux.org Git - packages/AfterStep.git/blob - AfterStep.spec
- use simple name for patch (just -Pager.patch)
[packages/AfterStep.git] / AfterStep.spec
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)
4 #
5 # Conditional build:
6 %bcond_with     mmx     # use MMX
7 #
8 %ifarch pentium3 pentium4 athlon %{x8664}
9 %define         with_mmx        1
10 %endif
11 Summary:        AfterStep Window Manager
12 Summary(ja.UTF-8):      AfterStep ウィンドウマネージャ (NeXT風)
13 Summary(pl.UTF-8):      AfterStep - zarządca okien
14 Name:           AfterStep
15 Version:        2.2.8
16 Release:        0.1
17 License:        GPL v2+
18 Vendor:         The AfterStep Team (see TEAM in docdir)
19 Group:          X11/Window Managers
20 Source0:        ftp://ftp.afterstep.org/stable/%{name}-%{version}.tar.bz2
21 # Source0-md5:  8734622c9cb549f5baa8b3262312db70
22 #Source1:       %{name}.RunWM
23 Source3:        %{name}-xsession.desktop
24 Patch0:         %{name}-no_bash_fix.patch
25 Patch1:         %{name}-install_man.patch
26 Patch2:         %{name}-opt.patch
27 Patch3:         %{name}-link.patch
28 Patch4:         %{name}-Pager.patch
29 URL:            http://www.afterstep.org/
30 BuildRequires:  autoconf >= 2.59-9
31 BuildRequires:  automake
32 BuildRequires:  giflib-devel
33 BuildRequires:  gtk+2-devel >= 1:2.0.0
34 BuildRequires:  libjpeg-devel
35 BuildRequires:  libpng-devel
36 BuildRequires:  libtiff-devel
37 BuildRequires:  pkgconfig
38 BuildRequires:  sgml-tools
39 BuildRequires:  xorg-lib-libXext-devel
40 BuildRequires:  xorg-lib-libXinerama-devel
41 #Requires:      wmconfig >= 0.9.9-5
42 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43
44 %define         _wmpropsdir     /usr/share/wm-properties
45
46 %description
47 AfterStep is a continuation of the BowMan window manager which was
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
53 especially in 1.4 version! The changes which comprise AfterStep's
54 personality were originally part of BowMan development, but due to a
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.
58
59 Important features of AfterStep include:
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
76
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
80 okien o nazwie fvwm napisanym przez Roberta Nationa, a sam fvwm
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ę.
89
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:
94   pomoc/zabicie, akcja/zadania, ikona/maksymalizacja,
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
99 - 5. Pager z pixmapami pulpitu
100 - 6. Łatwe w użyciu pliki wyglądu, dzięki którym można dzielić wygląd
101   pulpitu z kolegami
102 - 7. Wpisy menu Start o hierarchii katalogowej
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
106
107 %prep
108 %setup -q
109 %patch0 -p1
110 %patch1 -p1
111 %patch2 -p1
112 %patch3 -p1
113 %patch4 -p0
114
115 cp -f autoconf/configure*.in .
116
117 %build
118 %{__aclocal}
119 %{__autoconf}
120 %{__autoheader}
121 cd libAfterBase
122 %{__autoconf}
123 %{__autoheader}
124 cd ../libAfterImage
125 %{__autoconf}
126 %{__autoheader}
127 cd ..
128 %configure \
129         %{!?with_mmx:--disable-mmx-optimization} \
130         --enable-i18n \
131         --enable-sharedlibs \
132         --with-gif \
133         --with-helpcommand="xterm -e man" \
134         --with-jpeg \
135         --with-png \
136         --with-xpm
137
138 %{__make}
139 sgml2html doc/afterstep.sgml
140
141 %install
142 rm -rf $RPM_BUILD_ROOT
143 install -d $RPM_BUILD_ROOT{%{_wmpropsdir},%{_datadir}/xsessions,/etc/sysconfig/wmstyle}
144
145 %{__make} install install.man \
146         DESTDIR=$RPM_BUILD_ROOT
147
148 install AfterStep.desktop $RPM_BUILD_ROOT%{_wmpropsdir}
149
150 #install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/afterstep.sh
151 install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/xsessions/AfterStep.desktop
152
153 rm -f $RPM_BUILD_ROOT%{_bindir}/{sessreg,xpmroot}
154 rm -rf $RPM_BUILD_ROOT%{_datadir}/afterstep/doc
155
156 %clean
157 rm -rf $RPM_BUILD_ROOT
158
159 %post   -p /sbin/ldconfig
160 %postun -p /sbin/ldconfig
161
162 %files
163 %defattr(644,root,root,755)
164 %doc doc/code doc/languages TODO *.html
165 %doc UPGRADE NEW README TEAM README.RedHat doc/languages/*
166 #%attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
167 %attr(755,root,root) %{_bindir}/*
168 %attr(755,root,root) %{_libdir}/libAfter*.so.*.*
169 %{_wmpropsdir}/AfterStep.desktop
170 %{_datadir}/afterstep
171 %{_datadir}/xsessions/AfterStep.desktop
172 %{_mandir}/man1/*
173 # ???
174 #%%{_mandir}/man3/*
This page took 0.080633 seconds and 4 git commands to generate.