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