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