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