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