]> git.pld-linux.org Git - packages/AfterStep.git/blob - AfterStep.spec
- added opt,link patches
[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):    AfterStep ¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã (NeXTÉ÷)
13 Summary(pl):    AfterStep - zarz±dca okien
14 Name:           AfterStep
15 Version:        2.2.3
16 Release:        0.2
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:  c4dd1739a3e76599815d91f0212d1a43
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 URL:            http://www.afterstep.org/
29 BuildRequires:  autoconf >= 2.59-9
30 BuildRequires:  automake
31 BuildRequires:  giflib-devel
32 BuildRequires:  gtk+2-devel >= 1:2.0.0
33 BuildRequires:  libjpeg-devel
34 BuildRequires:  libpng-devel
35 BuildRequires:  libtiff-devel
36 BuildRequires:  pkgconfig
37 BuildRequires:  sgml-tools
38 BuildRequires:  xorg-lib-libXext-devel
39 BuildRequires:  xorg-lib-libXinerama-devel
40 #Requires:      wmconfig >= 0.9.9-5
41 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43 %define         _wmpropsdir     /usr/share/wm-properties
44
45 %description
46 AfterStep is a continuation of the BowMan window manager which was
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
52 especially in 1.4 version! The changes which comprise AfterStep's
53 personality were originally part of BowMan development, but due to a
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.
57
58 Important features of AfterStep include:
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
75
76 %description -l pl
77 AfterStep jest kontynuacj± zarz±dcy okienek o nazwie BowMan, który
78 zosta³ opracowany przez Bo Yanga. BowMan bazowa³ na innym zarz±dcy
79 okien o nazwie fvwm napisanym przez Roberta Nationa, a sam fvwm
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ê.
88
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:
93   pomoc/zabicie, akcja/zadania, ikona/maksymalizacja,
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
98 - 5. Pager z pixmapami pulpitu
99 - 6. £atwe w u¿yciu pliki wygl±du, dziêki którym mo¿na dzieliæ wygl±d
100   pulpitu z kolegami
101 - 7. Wpisy menu Start o hierarchii katalogowej
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
105
106 %prep
107 %setup -q
108 %patch0 -p1
109 %patch1 -p1
110 %patch2 -p1
111 %patch3 -p1
112
113 cp -f autoconf/configure*.in .
114
115 %build
116 %{__aclocal}
117 %{__autoconf}
118 %{__autoheader}
119 cd libAfterBase
120 %{__autoconf}
121 %{__autoheader}
122 cd ../libAfterImage
123 %{__autoconf}
124 %{__autoheader}
125 cd ..
126 %configure \
127         %{!?with_mmx:--disable-mmx-optimization} \
128         --enable-i18n \
129         --enable-sharedlibs \
130         --with-gif \
131         --with-helpcommand="xterm -e man" \
132         --with-jpeg \
133         --with-png \
134         --with-xpm
135
136 %{__make}
137 sgml2html doc/afterstep.sgml
138
139 %install
140 rm -rf $RPM_BUILD_ROOT
141 install -d $RPM_BUILD_ROOT{%{_wmpropsdir},%{_datadir}/xsessions,/etc/sysconfig/wmstyle}
142
143 %{__make} install install.man \
144         DESTDIR=$RPM_BUILD_ROOT
145
146 install AfterStep.desktop $RPM_BUILD_ROOT%{_wmpropsdir}
147
148 #install %{SOURCE1} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/afterstep.sh
149 install %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/xsessions/AfterStep.desktop
150
151 rm -f $RPM_BUILD_ROOT%{_bindir}/{sessreg,xpmroot}
152 rm -rf $RPM_BUILD_ROOT%{_datadir}/afterstep/doc
153
154 %clean
155 rm -rf $RPM_BUILD_ROOT
156
157 %post   -p /sbin/ldconfig
158 %postun -p /sbin/ldconfig
159
160 %files
161 %defattr(644,root,root,755)
162 %doc doc/code doc/languages TODO *.html
163 %doc UPGRADE NEW README TEAM README.RedHat doc/languages/*
164 #%attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
165 %attr(755,root,root) %{_bindir}/*
166 %attr(755,root,root) %{_libdir}/libAfter*.so.*.*
167 %{_wmpropsdir}/AfterStep.desktop
168 %{_datadir}/afterstep
169 %{_datadir}/xsessions/AfterStep.desktop
170 %{_mandir}/man1/*
171 # ???
172 %{_mandir}/man3/*
This page took 0.058649 seconds and 3 git commands to generate.