]> git.pld-linux.org Git - packages/fvwm2.git/blob - fvwm2.spec
45d9b418516d605adc8b7cfa8b20b3d522918e08
[packages/fvwm2.git] / fvwm2.spec
1 Summary:        An improved version of the FVWM X-based window manager
2 Summary(de):    F(?) Virtual Window Manager
3 Summary(es):    Administrador de ventanas semejante al mwm
4 Summary(fr):    F(?) Virtual Window Manager
5 Summary(ja):    ²þÎÉÈÇ FVWM - X ÍÑ¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã
6 Summary(tr):    Yaygýn bir pencere denetleyicisi
7 Summary(pt_BR): Gerenciador de janelas semelhante ao mwm
8 Summary(ru):    ÷ÉÒÔÕÁÌØÎÙÊ ÏËÏÎÎÙÊ ÍÅÎÅÄÖÅÒ F(?)
9 Name:           fvwm2
10 Version:        2.4.3
11 Release:        4
12 License:        GPL
13 Group:          X11/Window Managers
14 Group(de):      X11/Fenstermanager
15 Group(es):      X11/Administraadores De Ventanas
16 Group(fr):      X11/Gestionnaires De Fenêtres
17 Group(pl):      X11/Zarz±dcy Okien
18 URL:            http://www.fvwm.org/
19 Source0:        ftp://ftp.fvwm.org/pub/fvwm/version-2/fvwm-%{version}.tar.gz
20 Source1:        fvwm-2.0.46.icons.tar.gz
21 Source2:        %{name}.desktop
22 Source3:        %{name}-system.%{name}rc.tar.gz
23 Source4:        %{name}.RunWM
24 Source5:        %{name}.wm_style
25 Patch0:         %{name}-paths.patch
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Requires:       fvwm2-icons
28 Requires:       wmconfig >= 0.9.10-6
29 Requires:       m4
30 Requires:       xinitrc >= 3.0
31 BuildRequires:  autoconf
32 BuildRequires:  automake
33 BuildRequires:  gtk+-devel
34 BuildRequires:  readline-devel >= 4.2
35 Obsoletes:      fvwm95
36
37 %define         _prefix         /usr/X11R6
38 %define         _mandir         %{_prefix}/man
39 %define         _sysconfdir     /etc/X11/fvwm2
40 %define         _wmpropsdir     %{_datadir}/wm-properties
41
42 %description
43 FVWM2 (the F stands for whatever you want, but the VWM stands for
44 Virtual Window Manager) is an improved version of the FVWM window
45 manager for the X Window System and shares the same characteristics as
46 FVWM.
47
48 Install the fvwm2 package if you'd like to use the FVWM2 window
49 manager. If you install fvwm2, you'll also need to install
50 fvwm2-icons.
51
52 %description -l es
53 Fvwm2 es una versión del popular administrador de ventanas "Feeble
54 Virtual Window Manager".
55
56 %description -l ja
57 FVWM2 (F¤Ï¹¥¤­¤Ê¤è¤¦¤Ë²ò¼á¤·¤Æ¤¯¤À¤µ¤¤¡£¤¿¤À¤·¡¢ VWM ¤Ï Virtual Window
58 Manager ¤ò¾Êά¤·¤¿¤â¤Î¤Ç¤¹¡£)¤Ï FVWM ¤ÈƱ¤¸ÆÃħ¤ò»ý¤Á ¹¹¤Ë³ÈÄ¥¤µ¤ì¤¿ X
59 Window System ÍÑ¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤Ç¤¹¡£
60
61 FVWM2 ¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤ò»ÈÍѤ¹¤ë¾ì¹ç¡¢ fvwm2
62 ¥Ñ¥Ã¥±¡¼¥¸¤ò¥¤¥ó¥¹¥È¡¼¥ë ¤·¤Æ¤¯¤À¤µ¤¤¡£ fvwm2
63 ¥Ñ¥Ã¥±¡¼¥¸¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ë¤Ï fvwm2-icons ¥Ñ¥Ã¥±¡¼¥¸ ¤âɬÍפǤ¹¡£
64
65 %description -l pl
66 FVWM (za F mo¿na sobie podstawic co kto woli, lecz VWM pochodzi od
67 pierwszych liter "Virtual Window Manager", czyli wirtualnego mened¿era
68 okien) to ulepszona wersja mened¿era okien dla systemu X Window FVWM i
69 posiada te same cechy.
70
71 Nale¿y zainstalowaæ pakiet fvwm2 jesli chce siê uzywaæ mened¿era okien
72 FVWM2. Instaluj±c fvwm2 nalezy równiez zainstalowaæ pakiet
73 fvwm2-icons.
74
75 %description -l pt_BR
76 Fvwm2 é uma versão do popular gerenciador de janelas "Feeble Virtual
77 Window Manager".
78
79 %description -l ru
80 fvwm2 - ÜÔÏ ×ÅÒÓÉÑ ÐÏÐÕÌÑÒÎÏÇÏ "Feeble Virtual Window Manager".
81
82 %package icons
83 Summary:        Graphic files used by the FVWM and FVWM2 window managers
84 Summary(de):    Symbole und Pixmaps für fvwm
85 Summary(fr):    Icônes et pixmaps pour fvwm
86 Summary(ru):    ðÉËÔÏÇÒÁÍÍÙ É ÒÁÓÔÒÏ×ÙÅ ËÁÒÔÉÎËÉ ÄÌÑ fvwm2
87 Summary(tr):    Fvwm için çeþitli minik görüntü ve simgeler
88 Group:          X11/Window Managers
89 Group(de):      X11/Fenstermanager
90 Group(es):      X11/Administraadores De Ventanas
91 Group(fr):      X11/Gestionnaires De Fenêtres
92 Group(pl):      X11/Zarz±dcy Okien
93 Obsoletes:      fvwm95-icons
94
95 %description icons
96 The fvwm2-icons package contains icons, bitmaps and pixmaps used by
97 the FVWM and FVWM2 X Window System window managers.
98
99 You'll need to install fvwm2-icons if you are installing fvwm and/or
100 fvwm2.
101
102 %description icons
103 This package contains icons, bitmaps and pixmaps for fvwm and fvwm2.
104
105 %description -l de icons
106 Dieses Paket enthält Symbole, Bitmaps und Pixmaps für fvwm und fvwm2.
107
108 %description -l fr icons
109 Ce package contient des icones, bitmaps et pixmaps pour fvwm et fvwm2.
110
111 %description icons -l ru
112 üÔÏÔ ÐÁËÅÔ ÓÏÄÅÒÖÉÔ ÐÉËÔÏÇÒÁÍÍÙ É ÐÒÏÞÉÅ ËÁÒÔÉÎËÉ ÄÌÑ fvwm2.
113
114 %description -l tr icons
115 Fvwm için çeþitli minik görüntü ve simgeler.
116
117 %prep
118 %setup -n fvwm-%{version} -q -a1 -a3
119 %patch0 -p1
120
121 %build
122 rm missing
123 aclocal
124 autoconf
125 automake -a -c
126 CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions" \
127 %configure \
128         --disable-package-subdirs \
129         --disable-dmalloc \
130         --disable-efence \
131         --disable-debug-msgs \
132         --disable-command-log \
133         --enable-multibyte \
134         --enable-shape \
135         --disable-gnome \
136         --enable-sm \
137         --disable-xinerama \
138         --with-xpm-library \
139         --with-rplay-library \
140         --with-stroke-library \
141         --with-readline-library \
142         --with-ncurses-library \
143         --with-gnome
144
145 %{__make}
146
147 %install
148 rm -rf $RPM_BUILD_ROOT
149 #install -d $RPM_BUILD_ROOT{%{_sysconfdir}/{sysconfig/wmstyle,X11/fvwm2},%{_wmpropsdir}}
150 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/sysconfig/wmstyle}
151
152 %{__make} install \
153         DESTDIR=$RPM_BUILD_ROOT
154
155 install system.fvwm2rc $RPM_BUILD_ROOT%{_sysconfdir}
156 install fvwm2.menu.m4 $RPM_BUILD_ROOT%{_sysconfdir}
157
158 rm -rf $RPM_BUILD_ROOT%{_datadir}/icons
159 install -d $RPM_BUILD_ROOT%{_datadir}/icons/mini
160
161 install icons/*.xpm $RPM_BUILD_ROOT%{_datadir}/icons
162 mv -f $RPM_BUILD_ROOT%{_datadir}/icons/mini-*.xpm $RPM_BUILD_ROOT%{_datadir}/icons/mini
163
164 install %{SOURCE2} $RPM_BUILD_ROOT%{_wmpropsdir}
165
166 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.sh
167 install %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/wmstyle/%{name}.names
168
169 # conflicts with gimp
170 rm -f $RPM_BUILD_ROOT%{_datadir}/icons/{folder,question}.xpm
171
172 mv $RPM_BUILD_ROOT%{_datadir}/wm-properties{,_}
173 install -d $RPM_BUILD_ROOT%{_wmpropsdir}
174 mv $RPM_BUILD_ROOT{%{_datadir}/wm-properties_,%{_wmpropsdir}/fvwm2.desktop}
175
176 gzip -9fn README AUTHORS NEWS
177
178 %clean
179 rm -rf $RPM_BUILD_ROOT
180
181 %files
182 %defattr(644,root,root,755)
183 %doc {README,AUTHORS,NEWS,ChangeLog}.gz
184 %doc docs
185 %dir /etc/X11/fvwm2
186 %config(noreplace) /etc/X11/fvwm2/*
187 %attr(755,root,root) /etc/sysconfig/wmstyle/*.sh
188 /etc/sysconfig/wmstyle/*.names
189 %attr(755,root,root) %{_libdir}/Fvwm*
190 %attr(755,root,root) %{_bindir}/*
191 %dir %{_datadir}/fvwm
192 %{_datadir}/fvwm/*
193 %{_wmpropsdir}/fvwm2.desktop
194 %{_mandir}/man1/*
195
196 %files icons
197 %defattr(644,root,root,755)
198 %dir %{_datadir}/icons
199 %dir %{_datadir}/icons/mini
200 %{_datadir}/icons/*.xpm
201 %{_datadir}/icons/mini/*.xpm
This page took 0.077703 seconds and 3 git commands to generate.