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