|
|
f699f88 |
Name: fvwm
|
|
|
3d79172 |
Version: 2.5.30
|
|
|
f46958f |
Release: 4%{?dist}
|
|
|
f699f88 |
Summary: Highly configurable multiple virtual desktop window manager
|
|
|
f699f88 |
|
|
|
f699f88 |
Group: User Interface/X
|
|
|
fa8bbba |
License: GPLv2+
|
|
|
f699f88 |
URL: http://www.fvwm.org/
|
|
|
f699f88 |
Source0: ftp://ftp.fvwm.org/pub/fvwm/version-2/%{name}-%{version}.tar.bz2
|
|
|
f699f88 |
Source1: %{name}.desktop
|
|
|
f699f88 |
Source2: http://www.cl.cam.ac.uk/~pz215/fvwm-scripts/scripts/fvwm-xdg-menu.py
|
|
|
f699f88 |
|
|
|
f699f88 |
|
|
|
3d79172 |
Patch0: fvwm-2.5.30-xdg-open.patch
|
|
|
3d79172 |
Patch1: fvwm-2.5.30-mimeopen.patch
|
|
|
f699f88 |
Patch2: fvwm-2.5.21-menu-generate.patch
|
|
|
d801d70 |
Patch3: fvwm-2.5.30-more-mouse-buttons.patch
|
|
|
f46958f |
Patch5: fvwm-0005-Explicitly-link-against-fontconfig.patch
|
|
|
f699f88 |
|
|
|
f46958f |
BuildRequires: autoconf
|
|
|
f46958f |
BuildRequires: automake
|
|
|
f699f88 |
BuildRequires: gettext libX11-devel libXt-devel libXext-devel libXinerama-devel libXpm-devel
|
|
|
f699f88 |
BuildRequires: libXft-devel libXrender-devel
|
|
|
f699f88 |
BuildRequires: libstroke-devel readline-devel libpng-devel fribidi-devel
|
|
|
3c9fb2b |
BuildRequires: librsvg2-devel
|
|
|
f699f88 |
Requires: xterm %{_bindir}/mimeopen
|
|
|
f699f88 |
|
|
|
f699f88 |
# for fvwm-bug
|
|
|
f699f88 |
Requires: %{_sbindir}/sendmail
|
|
|
f699f88 |
|
|
|
f699f88 |
# for fvwm-menu-headlines
|
|
|
715ad99 |
Requires: xdg-utils
|
|
|
f699f88 |
|
|
|
f699f88 |
# for fvwm-menu-xlock
|
|
|
f699f88 |
Requires: xlockmore
|
|
|
f699f88 |
|
|
|
f699f88 |
# for auto-menu generation
|
|
|
f699f88 |
Requires: ImageMagick pyxdg
|
|
|
f699f88 |
|
|
|
f699f88 |
|
|
|
f699f88 |
%description
|
|
|
f699f88 |
Fvwm is a window manager for X11. It is designed to
|
|
|
f699f88 |
minimize memory consumption, provide a 3D look to window frames,
|
|
|
f699f88 |
and implement a virtual desktop.
|
|
|
f699f88 |
|
|
|
f699f88 |
|
|
|
f699f88 |
%prep
|
|
|
f699f88 |
%setup -q
|
|
|
3d79172 |
%patch0 -p1 -b .xdg-open
|
|
|
2f9f28d |
%patch1 -p1 -b .mimeopen
|
|
|
2f9f28d |
%patch2 -p1 -b .menu-generate
|
|
|
d801d70 |
%patch3 -p1 -b .more-mouse-buttons
|
|
|
f46958f |
%patch5 -p1 -b .implicit_dso_linking
|
|
|
f699f88 |
|
|
|
f699f88 |
# Filter out false Perl provides
|
|
|
f699f88 |
cat << \EOF > %{name}-prov
|
|
|
f699f88 |
#!/bin/sh
|
|
|
f699f88 |
%{__perl_provides} $* |\
|
|
|
f699f88 |
sed -e '/perl(FVWM::.*)\|perl(FvwmCommand)\|perl(General::FileSystem)\|perl(General::Parse)/d'
|
|
|
f699f88 |
EOF
|
|
|
f699f88 |
|
|
|
5e9bbe2 |
%global __perl_provides %{_builddir}/%{name}-%{version}/%{name}-prov
|
|
|
f699f88 |
chmod +x %{__perl_provides}
|
|
|
f699f88 |
|
|
|
f699f88 |
|
|
|
f699f88 |
# Filter false requires for old perl(Gtk) and for the above provides
|
|
|
f699f88 |
cat << \EOF > %{name}-req
|
|
|
f699f88 |
#!/bin/sh
|
|
|
f699f88 |
%{__perl_requires} $* |\
|
|
|
f699f88 |
sed -e '/perl(Gtk)\|perl(FVWM::Module::Gtk)\|perl(FVWM::.*)\|perl(FvwmCommand)\|perl(General::FileSystem)\|perl(General::Parse)/d'
|
|
|
f699f88 |
EOF
|
|
|
f699f88 |
|
|
|
5e9bbe2 |
%global __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req
|
|
|
f699f88 |
chmod +x %{__perl_requires}
|
|
|
f699f88 |
|
|
|
f699f88 |
|
|
|
f699f88 |
%build
|
|
|
f46958f |
aclocal --force
|
|
|
f46958f |
autoreconf -ivf
|
|
|
f699f88 |
%configure
|
|
|
f699f88 |
make %{?_smp_mflags}
|
|
|
f699f88 |
|
|
|
f699f88 |
|
|
|
f699f88 |
%install
|
|
|
f699f88 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
f699f88 |
%find_lang %{name}
|
|
|
f699f88 |
%find_lang FvwmScript
|
|
|
f699f88 |
%find_lang FvwmTaskBar
|
|
|
f699f88 |
cat FvwmScript.lang FvwmTaskBar.lang >> %{name}.lang
|
|
|
f699f88 |
|
|
|
f699f88 |
# Fedora doesn't have old Gtk Perl
|
|
|
f699f88 |
rm $RPM_BUILD_ROOT%{_datadir}/%{name}/perllib/FVWM/Module/Gtk.pm
|
|
|
f699f88 |
rm $RPM_BUILD_ROOT%{_libexecdir}/%{name}/%{version}/FvwmGtkDebug
|
|
|
f699f88 |
|
|
|
f699f88 |
# xsession
|
|
|
f699f88 |
install -D -m0644 -p %{SOURCE1} \
|
|
|
f699f88 |
$RPM_BUILD_ROOT%{_datadir}/xsessions/%{name}.desktop
|
|
|
f699f88 |
|
|
|
f699f88 |
# menus
|
|
|
f699f88 |
install -D -m0755 -p %{SOURCE2} \
|
|
|
f699f88 |
$RPM_BUILD_ROOT%{_bindir}/fvwm-xdg-menu
|
|
|
f699f88 |
|
|
|
f699f88 |
|
|
|
f699f88 |
%files -f %{name}.lang
|
|
|
f699f88 |
%defattr(-,root,root,-)
|
|
|
f699f88 |
%doc README AUTHORS NEWS ChangeLog COPYING
|
|
|
f699f88 |
%{_bindir}/*
|
|
|
f699f88 |
%{_libexecdir}/%{name}/
|
|
|
f699f88 |
%{_datadir}/%{name}/
|
|
|
f699f88 |
%{_mandir}/man1/*
|
|
|
f699f88 |
%{_datadir}/xsessions/%{name}.desktop
|
|
|
f699f88 |
|
|
|
f699f88 |
|
|
|
f699f88 |
%changelog
|
|
|
f46958f |
* Sat Mar 05 2011 Peter Lemenkov <lemenkov@gmail.com> - 2.5.30-4
|
|
|
f46958f |
- Fixed FTBFS issue (rhbz #661049)
|
|
|
f46958f |
|
|
|
feb0965 |
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.30-3
|
|
|
feb0965 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
feb0965 |
|
|
|
d801d70 |
* Mon Jul 12 2010 Adam Goode <adam@spicenitz.org> - 2.5.30-2
|
|
|
d801d70 |
- Increase number of mouse buttons (#548534)
|
|
|
d801d70 |
|
|
|
3d79172 |
* Sun Jul 11 2010 Adam Goode <adam@spicenitz.org> - 2.5.30-1
|
|
|
3d79172 |
- New upstream release, many changes, see http://www.fvwm.org/news/
|
|
|
3d79172 |
|
|
|
3b8c407 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.26-4
|
|
|
3b8c407 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
3b8c407 |
|
|
|
2009232 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.26-3
|
|
|
2009232 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
2009232 |
|
|
|
2f9f28d |
* Sat Aug 30 2008 Adam Goode <adam@spicenitz.org> - 2.5.26-2
|
|
|
2f9f28d |
- RPM 4.6 fix for patch tag
|
|
|
2f9f28d |
|
|
|
57dbf86 |
* Wed Jun 4 2008 Adam Goode <adam@spicenitz.org> - 2.5.26-1
|
|
|
57dbf86 |
- Upgrade to new release
|
|
|
57dbf86 |
- Remove module_list patch, fixed in upstream
|
|
|
57dbf86 |
|
|
|
693f4c0 |
* Sat Feb 9 2008 Adam Goode <adam@spicenitz.org> - 2.5.24-2
|
|
|
693f4c0 |
- Really fix segfault (#382321)
|
|
|
693f4c0 |
|
|
|
4be203f |
* Sun Dec 2 2007 Adam Goode <adam@spicenitz.org> - 2.5.24-1
|
|
|
4be203f |
- New upstream release
|
|
|
4be203f |
- Fixes segfault (#382321)
|
|
|
4be203f |
|
|
|
715ad99 |
* Tue Oct 2 2007 Adam Goode <adam@spicenitz.org> - 2.5.23-3
|
|
|
715ad99 |
- Change htmlview to xdg-open (thanks, Ville Skyttä !)
|
|
|
715ad99 |
|
|
|
3c9fb2b |
* Mon Sep 10 2007 Adam Goode <adam@spicenitz.org> - 2.5.23-2
|
|
|
3c9fb2b |
- Don't add gnome-libs-devel to BR (not on ppc64?)
|
|
|
3c9fb2b |
|
|
|
8e87a88 |
* Mon Sep 10 2007 Adam Goode <adam@spicenitz.org> - 2.5.23-1
|
|
|
fc0019e |
- New upstream release
|
|
|
fc0019e |
|
|
|
9ef8fb4 |
* Tue Aug 21 2007 Adam Goode <adam@spicenitz.org> - 2.5.21-5
|
|
|
9ef8fb4 |
- Update license tag
|
|
|
9ef8fb4 |
- Rebuild for buildid
|
|
|
9ef8fb4 |
|
|
|
f699f88 |
* Thu Mar 15 2007 Adam Goode <adam@spicenitz.org> - 2.5.21-4
|
|
|
f699f88 |
- Don't patch configure, just patch a few files
|
|
|
f699f88 |
|
|
|
f699f88 |
* Thu Mar 8 2007 Adam Goode <adam@spicenitz.org> - 2.5.21-3
|
|
|
f699f88 |
- Rebuild configure with autoconf >= 2.60 (for datarootdir)
|
|
|
f699f88 |
- Filter out local Perl libraries from provides and requires
|
|
|
f699f88 |
|
|
|
f699f88 |
* Wed Feb 28 2007 Adam Goode <adam@spicenitz.org> - 2.5.21-2
|
|
|
f699f88 |
- Shorten description
|
|
|
f699f88 |
- Enable auto-generate menus in the Setup Form config generator
|
|
|
f699f88 |
- Use htmlview instead of netscape
|
|
|
f699f88 |
- Use mimeopen instead of EDITOR
|
|
|
f699f88 |
- Add more Requires
|
|
|
f699f88 |
|
|
|
f699f88 |
* Sun Jan 21 2007 Adam Goode <adam@spicenitz.org> - 2.5.21-1
|
|
|
f699f88 |
- New specfile for Fedora
|