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