]> git.pld-linux.org Git - packages/fvwm2.git/blob - fvwm2.spec
- updated to current snapshot
[packages/fvwm2.git] / fvwm2.spec
1 #
2 # TODO: more updates in system.fvwm2rc (see warnings on run)
3 #
4 # Conditional build:
5 # _with_fribidi         - with bidirectional text support
6 # _with_gnome           - with gnome-libs
7 # _with_rplay           - with internal sound support (through rplay)
8 # _without_stroke       - without mouse strokes (gestures) support
9 # _without_xft          - without Xft (1 or 2) support
10 #
11 %include        /usr/lib/rpm/macros.perl
12 %define snap    20031027
13 Summary:        An improved version of the FVWM X-based window manager
14 Summary(de):    F(?) Virtual Window Manager
15 Summary(es):    Administrador de ventanas semejante al mwm
16 Summary(fr):    F(?) Virtual Window Manager
17 Summary(ja):    ²þÎÉÈÇ FVWM - X ÍÑ¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã
18 Summary(tr):    Yaygýn bir pencere denetleyicisi
19 Summary(pl):    Ulepszona wersja zarz±dcy okien FVWM
20 Summary(pt_BR): Gerenciador de janelas semelhante ao mwm
21 Summary(ru):    ÷ÉÒÔÕÁÌØÎÙÊ ÏËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ F(?)
22 Name:           fvwm2
23 Version:        2.5.8
24 Release:        0.%{snap}.1
25 License:        GPL
26 Group:          X11/Window Managers
27 Source0:        ftp://ftp.fvwm.org/pub/fvwm/devel/snapshots/fvwm-snap-%{snap}.tar.gz
28 # Source0-md5:  d6260e16e46f778db3d36743f43d1515
29 Source1:        fvwm-2.0.46.icons.tar.gz
30 # Source1-md5:  8d81420cf49442fca4bb2b61ae54eeb9
31 Source2:        %{name}.desktop
32 Source3:        %{name}-system.%{name}rc.tar.gz
33 # Source3-md5:  22c1f6c5ab4bd84376daa37debd3e889
34 Source4:        %{name}.RunWM
35 Source5:        %{name}.wm_style
36 Source6:        %{name}-xsession.desktop
37 Patch0:         %{name}-paths.patch
38 Patch1:         FvwmIconMan.patch
39 URL:            http://www.fvwm.org/
40 %{!?_without_xft:BuildRequires: Xft-devel}
41 BuildRequires:  autoconf
42 BuildRequires:  automake
43 %{?_with_fribidi:BuildRequires: fribidi-devel}
44 %{?_with_gnome:BuildRequires:   gnome-libs-devel}
45 BuildRequires:  gtk+-devel
46 BuildRequires:  libpng-devel
47 %{!?_without_stroke:BuildRequires:      libstroke-devel}
48 BuildRequires:  readline-devel >= 4.2
49 %{?_with_rplay:BuildRequires:   rplay-devel}
50 BuildRequires:  rpm-perlprov
51 Requires:       fvwm2-icons
52 Requires:       wmconfig >= 0.9.10-6
53 Requires:       m4
54 Requires:       xinitrc >= 3.0
55 Requires:       XFree86-tools
56 Obsoletes:      fvwm95
57 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
58
59 %define         _sysconfdir     /etc/X11/fvwm2
60 %define         _wmpropsdir     /usr/share/wm-properties
61
62 %description
63 FVWM2 (the F stands for whatever you want, but the VWM stands for
64 Virtual Window Manager) is an improved version of the FVWM window
65 manager for the X Window System and shares the same characteristics as
66 FVWM.
67
68 %description -l es
69 Fvwm2 es una versión del popular administrador de ventanas "Feeble
70 Virtual Window Manager".
71
72 %description -l ja
73 FVWM2 (F¤Ï¹¥¤­¤Ê¤è¤¦¤Ë²ò¼á¤·¤Æ¤¯¤À¤µ¤¤¡£¤¿¤À¤·¡¢ VWM ¤Ï Virtual Window
74 Manager ¤ò¾Êά¤·¤¿¤â¤Î¤Ç¤¹¡£)¤Ï FVWM ¤ÈƱ¤¸ÆÃħ¤ò»ý¤Á ¹¹¤Ë³ÈÄ¥¤µ¤ì¤¿ X
75 Window System ÍÑ¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤Ç¤¹¡£
76
77 %description -l pl
78 FVWM (za F mo¿na sobie podstawic co kto woli, lecz VWM pochodzi od
79 pierwszych liter "Virtual Window Manager", czyli wirtualny zarz±dca
80 okien) to ulepszona wersja zarz±dcy okien dla systemu X Window FVWM i
81 posiadaj±ca te same cechy.
82
83 %description -l pt_BR
84 Fvwm2 é uma versão do popular gerenciador de janelas "Feeble Virtual
85 Window Manager".
86
87 %description -l ru
88 fvwm2 - ÜÔÏ ×ÅÒÓÉÑ ÐÏÐÕÌÑÒÎÏÇÏ "Feeble Virtual Window Manager".
89
90 %package icons
91 Summary:        Graphic files used by the FVWM and FVWM2 window managers
92 Summary(de):    Symbole und Pixmaps für fvwm
93 Summary(fr):    Icônes et pixmaps pour fvwm
94 Summary(pl):    Pliki graficzne u¿ywane przez zarz±dców okien FVWM i FVWM2
95 Summary(ru):    ðÉËÔÏÇÒÁÍÍÙ É ÒÁÓÔÒÏ×ÙÅ ËÁÒÔÉÎËÉ ÄÌÑ fvwm2
96 Summary(tr):    Fvwm için çeþitli minik görüntü ve simgeler
97 Group:          X11/Window Managers
98 Obsoletes:      fvwm95-icons
99
100 %description icons
101 This package contains icons, bitmaps and pixmaps for fvwm and fvwm2.
102
103 %description icons -l de
104 Dieses Paket enthält Symbole, Bitmaps und Pixmaps für fvwm und fvwm2.
105
106 %description icons -l fr
107 Ce package contient des icones, bitmaps et pixmaps pour fvwm et fvwm2.
108
109 %description icons -l pl
110 Ten pakiet zawiera ikony, bitmapy i pixmapy dla fvwm i fvwm2.
111
112 %description icons -l ru
113 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÉËÔÏÇÒÁÍÍÙ É ÐÒÏÞÉÅ ËÁÒÔÉÎËÉ ÄÌÑ fvwm2.
114
115 %description icons -l tr
116 Fvwm için çeþitli minik görüntü ve simgeler.
117
118 %package perl
119 Summary:        fvwm-perllib, FvwmPerl and dependent modules
120 Summary(pl):    fvwm-perllib, FvwmPerl i zale¿ne modu³y
121 Group:          X11/Window Managers/Tools
122 Requires:       %{name} = %{version}
123
124 %description perl
125 fvwm-perllib, FvwmPerl and dependent modules.
126
127 %description perl -l pl
128 fvwm-perllib, FvwmPerl i zale¿ne modu³y.
129
130 %prep
131 %setup -n fvwm-snap-%{snap} -q -a1 -a3
132 %patch0 -p1
133 %patch1 -p1
134
135 %build
136 rm -f missing
137 %{__aclocal}
138 %{__autoconf}
139 %{__automake}
140 %configure \
141         --disable-dmalloc \
142         --disable-efence \
143         --%{!?debug:dis}%{?debug:en}able-debug-msgs \
144         --disable-command-log \
145         %{!?_with_fribidi:--disable-bidi} \
146         %{?_without_xft:--disable-xft} \
147         --enable-multibyte \
148         --enable-shape \
149         --enable-sm \
150         %{?_with_gnome:--with-gnome}%{!?_with_gnome:--without-gnome} \
151         --with-xpm-library \
152         %{!?_with_rplay:--without-rplay-library} \
153         --with-stroke-library \
154         --with-ncurses-library \
155         --with-readline-library \
156         --with-ncurses-library \
157         --without-termcap-library
158
159 %{__make}
160
161 %install
162 rm -rf $RPM_BUILD_ROOT
163 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/sysconfig/wmstyle,%{_wmpropsdir},%{_datadir}/{locale,xsessions}}
164
165 %{__make} install \
166         DESTDIR=$RPM_BUILD_ROOT
167
168 %find_lang %{name} --all-name
169
170 sed -e 's@^ModulePath.*@ModulePath /usr/lib/fvwm:/usr/share/fvwm@;s@^PixmapPath.*@@' \
171         -e 's@^IconPath.*@ImagePath /usr/share/pixmaps:/usr/X11R6/share/pixmaps:/usr/X11R6/include/X11/pixmaps:/usr/X11R6/include/X11/bitmaps:/usr/share/icons:/usr/share/icons/mini@' \
172         system.fvwm2rc > $RPM_BUILD_ROOT%{_sysconfdir}/system.fvwm2rc
173 install fvwm2.menu.m4 $RPM_BUILD_ROOT%{_sysconfdir}
174
175 rm -rf $RPM_BUILD_ROOT%{_datadir}/icons
176 install -d $RPM_BUILD_ROOT%{_datadir}/icons/mini
177
178 install icons/*.xpm $RPM_BUILD_ROOT%{_datadir}/icons
179 mv -f $RPM_BUILD_ROOT%{_datadir}/icons/mini-*.xpm $RPM_BUILD_ROOT%{_datadir}/icons/mini
180
181 install %{SOURCE2} $RPM_BUILD_ROOT%{_wmpropsdir}
182
183 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
184 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
185 install %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
186
187 # conflicts with gimp
188 rm -f $RPM_BUILD_ROOT%{_datadir}/icons/{folder,question}.xpm
189
190 %clean
191 rm -rf $RPM_BUILD_ROOT
192
193 %files -f %{name}.lang
194 %defattr(644,root,root,755)
195 %doc README AUTHORS NEWS docs
196 %dir /etc/X11/fvwm2
197 %config(noreplace) %verify(not size mtime md5) /etc/X11/fvwm2/*
198 %attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
199 /etc/sysconfig/wmstyle/*.names
200 %attr(755,root,root) %{_bindir}/[!f]*
201 %attr(755,root,root) %{_bindir}/fvwm
202 %attr(755,root,root) %{_bindir}/fvwm2
203 %attr(755,root,root) %{_bindir}/fvwm-[!p]*
204 %dir %{_libdir}/fvwm
205 %attr(755,root,root) %{_libdir}/fvwm/Fvwm[!DGPW]*
206 %attr(755,root,root) %{_libdir}/fvwm/FvwmD[!e]*
207 %attr(755,root,root) %{_libdir}/fvwm/FvwmGtk
208 %attr(755,root,root) %{_libdir}/fvwm/FvwmP[!e]*
209 %attr(755,root,root) %{_libdir}/fvwm/FvwmW[!i]*
210 %attr(755,root,root) %{_libdir}/fvwm/FvwmWinList
211 %dir %{_datadir}/fvwm
212 %{_datadir}/fvwm/[!p]*
213 %{_datadir}/xsessions/%{name}.desktop
214 %{_wmpropsdir}/fvwm2.desktop
215 %{_mandir}/man1/[!Ff]*.1*
216 %{_mandir}/man1/Fvwm[!DGPW]*.1*
217 %{_mandir}/man1/FvwmD[!e]*.1*
218 %{_mandir}/man1/FvwmP[!e]*.1*
219 %{_mandir}/man1/FvwmW[!i]*.1*
220 %{_mandir}/man1/FvwmWinList.1*
221 %{_mandir}/man1/fvwm.1*
222 %{_mandir}/man1/fvwm-[!p]*.1*
223
224 %files icons
225 %defattr(644,root,root,755)
226 %dir %{_datadir}/icons
227 %dir %{_datadir}/icons/mini
228 %{_datadir}/icons/*.xpm
229 %{_datadir}/icons/mini/*.xpm
230
231 %files perl
232 %defattr(644,root,root,755)
233 %attr(755,root,root) %{_bindir}/fvwm-perllib
234 %attr(755,root,root) %{_libdir}/fvwm/FvwmDebug
235 %attr(755,root,root) %{_libdir}/fvwm/FvwmGtkDebug
236 %attr(755,root,root) %{_libdir}/fvwm/FvwmPerl
237 %attr(755,root,root) %{_libdir}/fvwm/FvwmWindowMenu
238 %{_datadir}/fvwm/perllib
239 %{_mandir}/man1/fvwm-perllib.1*
240 %{_mandir}/man1/FvwmDebug.1*
241 %{_mandir}/man1/FvwmGtkDebug.1*
242 %{_mandir}/man1/FvwmPerl.1*
243 %{_mandir}/man1/FvwmWindowMenu.1*
This page took 0.121338 seconds and 4 git commands to generate.