ad31cc8
Summary:	A fast, feature rich Window Manager
ad31cc8
Name:		WindowMaker
00160f5
Version:	0.92.0
b22d45e
Release:	18%{?dist}
b95e054
fe9af7b
License:	GPLv2+
ad31cc8
Group:		User Interface/Desktops
ad31cc8
URL:		http://www.windowmaker.org/
00160f5
Source0:	ftp://windowmaker.org/pub/source/release/WindowMaker-0.92.0.tar.bz2
00160f5
Source2:        WindowMaker.desktop
83322e0
Source3:	WindowMaker-uk.po
83322e0
Source4:	WPrefs-uk.po
83322e0
Source5:	WindowMaker-README.newbuttons
83322e0
Source6:	WindowMaker-newbuttons.nextstyle.tiff
83322e0
Source7:	WindowMaker-newbuttons.nextstyle.xpm
83322e0
Source8:	WindowMaker-newbuttons.oldstyle.tiff
83322e0
83322e0
Source10:       ftp://windowmaker.org/pub/source/release/WindowMaker-extra-0.1.tar.gz
83322e0
83322e0
# cvs snapshot
83322e0
Patch0:         WindowMaker-0.92.0-cvs20060123.patch
83322e0
Patch1:         WindowMaker-gcc41.patch
83322e0
#patches from altlinux
83322e0
Patch101:       WindowMaker-0.91.0-alt-sowings.patch
83322e0
Patch102:       WindowMaker-0.91.0-alt-session.patch
83322e0
Patch103:       WindowMaker-0.91.0-alt-restartscrpt.patch
83322e0
Patch104:       WindowMaker-0.91.0-alt-menutrans.patch
83322e0
Patch105:       WindowMaker-0.91.0-alt-titlebar.patch
83322e0
Patch106:       WindowMaker-0.91.0-alt-clipnotext.patch
83322e0
Patch107:       WindowMaker-0.91.0-alt-mmx.patch
83322e0
Patch108:       WindowMaker-0.80.2-cvs-alt-textfield.patch
83322e0
Patch109:       WindowMaker-0.91.0-alt-focus.patch
83322e0
83322e0
#add new features as well (sound good)
83322e0
Patch200:	WindowMaker-0.91.0-wmcontrib-singleclick.patch
83322e0
Patch201:	WindowMaker-0.91.0-alt-dockhotkeys.patch
83322e0
Patch202:	WindowMaker-0.91.0-alt-vlaad-trance.patch
83322e0
Patch203:	WindowMaker-0.91.0-alt-vlaad-newbuttons.patch
83322e0
Patch204:	WindowMaker-0.91.0-alt-adialog.patch
83322e0
Patch205:	WindowMaker-0.91.0-hmepas-minimizeall.patch
83322e0
Patch206:	WindowMaker-0.91.0-hmepas-swmenu_rclick.patch
83322e0
Patch207:	WindowMaker-0.91.0-sga-moving-add.patch
83322e0
Patch208:	WindowMaker-0.91.0-peter-newappicon.patch
83322e0
Patch209:	WindowMaker-0.91.0-peter-mouse-placement.patch
e166f64
# actually a fixed version that does respect animations of settings
e166f64
# for the bounce animation. Fixes #185579.
83322e0
Patch210:	WindowMaker-0.91.0-peter-appicon-bouncer2.patch
83322e0
Patch211:       WindowMaker-0.91.0-sga-swpanel-customization.patch
83322e0
Patch212:       WindowMaker-0.92.0-alt-newpo.patch
83322e0
cd95b5f
# wakeup enhancements to save power (#267041)
cd95b5f
Patch301:       WindowMaker-wakeup-dnotify.patch
cd95b5f
Patch302:       WindowMaker-wakeup-delayedAction.patch
cd95b5f
Patch303:       WindowMaker-wakeup-timer.patch
cd95b5f
ad31cc8
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
9c868e5
BuildRequires:	libpng-devel libjpeg-devel libungif-devel
fffeda3
BuildRequires:	libtiff-devel zlib-devel gettext-devel
9c868e5
BuildRequires:  libICE-devel
9c868e5
BuildRequires:  libSM-devel
9c868e5
BuildRequires:  libX11-devel
9c868e5
BuildRequires:  libXext-devel
9c868e5
BuildRequires:  libXft-devel
9c868e5
BuildRequires:  libXinerama-devel
9c868e5
BuildRequires:  libXpm-devel
9c868e5
BuildRequires:  libXrender-devel
b296602
BuildRequires:  xorg-x11-proto-devel
676c6fe
BuildRequires:  fontconfig-devel
676c6fe
BuildRequires:  automake14 libtool
b296602
8bb4cf7
Requires:       WINGs-libs = %{version}-%{release}
8bb4cf7
cvsextras 43e64ba
%package devel
5feedb7
Summary:	Development files needed for WindowMaker
cvsextras 43e64ba
Group:		System Environment/Libraries
ad31cc8
Requires:	%{name} = %{version}-%{release}
5feedb7
Requires:       WINGs-devel = %{version}-%{release}
e166f64
Requires:	libX11-devel
e166f64
Requires:	pkgconfig
cvsextras 43e64ba
cvsextras 43e64ba
%description
cvsextras 43e64ba
Window Maker is an X11 window manager designed to give additional
cvsextras 43e64ba
integration support to the GNUstep Desktop Environment. In every way
cvsextras 43e64ba
possible, it reproduces the elegant look and feel of the NeXTSTEP[tm]
cvsextras 43e64ba
GUI. It is fast, feature rich, easy to configure, and easy to use. In
cvsextras 43e64ba
addition, Window Maker works with GNOME and KDE, making it one of the
cvsextras 43e64ba
most useful and universal window managers available.
cvsextras 43e64ba
cvsextras 43e64ba
%description devel
cvsextras 43e64ba
Window Maker is an X11 window manager designed to give additional
cvsextras 43e64ba
integration support to the GNUstep Desktop Environment. In every way
cvsextras 43e64ba
possible, it reproduces the elegant look and feel of the NeXTSTEP[tm]
5feedb7
GUI. This package contains development files for WindowMaker libraries.
cvsextras 43e64ba
8bb4cf7
%package -n WINGs-libs
5feedb7
Summary:	Widgets and image libraries needed for WindowMaker
8bb4cf7
Group:		System Environment/Libraries
8bb4cf7
8bb4cf7
%description -n WINGs-libs
5feedb7
Widgets and image libraries needed for WindowMaker.
8bb4cf7
8bb4cf7
%package -n WINGs-devel
8bb4cf7
Summary:        Development files for the WINGs library
8bb4cf7
Group:          System Environment/Libraries
8bb4cf7
Requires:	libX11-devel
8bb4cf7
Requires:	xorg-x11-proto-devel
8bb4cf7
Requires:	libXinerama-devel
8bb4cf7
Requires:	libXext-devel
8bb4cf7
Requires:	libtiff-devel
8bb4cf7
Requires:	zlib-devel
8bb4cf7
Requires:	libXpm-devel
8bb4cf7
Requires:	libjpeg-devel
8bb4cf7
Requires:	libpng-devel
8bb4cf7
Requires:	libungif-devel
5feedb7
Requires:	libXft-devel
8bb4cf7
Requires:	fontconfig-devel
5feedb7
8bb4cf7
%description -n WINGs-devel
5feedb7
Development files for the WINGs library.
cvsextras 43e64ba
cvsextras 43e64ba
%prep
83322e0
%setup -q -a10
83322e0
83322e0
%patch0 -p1
83322e0
%patch1
83322e0
%patch101 -p1
83322e0
%patch102 -p1
83322e0
%patch103 -p1
83322e0
%patch104 -p1
83322e0
%patch105 -p1
83322e0
%patch106 -p1
83322e0
%patch107 -p1
83322e0
%patch108 -p1
83322e0
%patch109 -p1
83322e0
%patch200 -p1
83322e0
%patch201 -p1
83322e0
%patch202 -p1
83322e0
%patch203 -p1 
83322e0
%patch204 -p1 
83322e0
%patch205 -p1
83322e0
%patch206 -p1 
83322e0
%patch207 -p1 
83322e0
%patch208 -p1 
83322e0
%patch209 -p1 
83322e0
%patch210 -p1 
83322e0
%patch211 -p1
83322e0
%patch212 -p1 -b .vns
cd95b5f
%patch301 -p1
cd95b5f
%patch302 -p1
cd95b5f
%patch303 -p1
83322e0
83322e0
cp %{SOURCE3} po/uk.po
83322e0
cp %{SOURCE4} WPrefs.app/po/uk.po
83322e0
cp %{SOURCE5} README.newbuttons
83322e0
83322e0
cp %{SOURCE6} WPrefs.app/tiff/nextstyle.tiff
83322e0
cp %{SOURCE7} WPrefs.app/xpm/nextstyle.xpm
83322e0
cp %{SOURCE8} WPrefs.app/tiff/oldstyle.tiff
83322e0
e9890b9
for i in WindowMaker/*menu* ; do
e9890b9
echo $i
035b8ee
sed -i.old -e 's:/usr/local/:%{_prefix}/:g' \
035b8ee
  -e 's:/home/mawa:$(HOME):g' \
035b8ee
  -e 's:GNUstep/Applications/WPrefs.app:bin:g' $i 
e9890b9
done
cvsextras 43e64ba
83322e0
autoreconf -sif
83322e0
cvsextras 43e64ba
%build
83322e0
# enable new features
83322e0
CFLAGS="$RPM_OPT_FLAGS -DBOUNCE_APP -DNEWAPPICON -DVIRTUAL_DESKTOP"
cvsextras 43e64ba
LINGUAS=`(cd po ; echo *.po|sed 's/zh_TW.Big5.po//g;s/.po//g')`
cvsextras 43e64ba
NLSDIR="%{_datadir}/locale"
8bb4cf7
export CFLAGS LINGUAS NLSDIR
fffeda3
%configure --enable-gnome --enable-kde --enable-usermenu --enable-xinerama \
676c6fe
--enable-fast-install --enable-modelock --x-includes=%{_includedir} \
83322e0
--x-libraries=%{_libdir} --disable-mmx --disable-static --enable-shared
83322e0
#smp_mflags are broken atm
83322e0
make #%{?_smp_mflags}
cvsextras 43e64ba
83322e0
# do extras stuff
83322e0
cd WindowMaker-extra-0.1
83322e0
%configure --x-libraries=%{_libdir} --x-includes=%{_includedir}
83322e0
cd ..
cvsextras 43e64ba
cvsextras 43e64ba
%install
cvsextras 43e64ba
rm -rf $RPM_BUILD_ROOT
cvsextras 43e64ba
make DESTDIR=$RPM_BUILD_ROOT NLSDIR=%{_datadir}/locale install
cvsextras 43e64ba
cvsextras 43e64ba
%find_lang '\(WPrefs\|%{name}\|WINGs\)'
cvsextras 43e64ba
466bc83
install -D -m0644 -p %{SOURCE2} \
466bc83
%{buildroot}%{_datadir}/xsessions/WindowMaker.desktop
cvsextras 43e64ba
83322e0
find %{buildroot} -type f -name "*.la" -exec rm -f {} ';'
83322e0
8bb4cf7
chmod 755 %{buildroot}%{_datadir}/%{name}/{autostart.sh,exitscript.sh}
8bb4cf7
83322e0
# now install extras stuff
83322e0
make -C WindowMaker-extra-0.1 install DESTDIR=$RPM_BUILD_ROOT
83322e0
8bb4cf7
# clean up wmlib.pc
8bb4cf7
sed -i -e 's:-lWUtil::' $RPM_BUILD_ROOT%{_libdir}/pkgconfig/wmlib.pc
8bb4cf7
cd95b5f
#multilib fun
f5eaabd
sed -i -e 's:^WLFLAGS[\w="].*::' \
cd95b5f
    $RPM_BUILD_ROOT%{_bindir}/get-{wutil,wings,wraster}-flags
cd95b5f
touch -r NEWS $RPM_BUILD_ROOT%{_bindir}/get-{wutil,wings,wraster}-flags
cd95b5f
cvsextras 43e64ba
%clean
cvsextras 43e64ba
rm -rf $RPM_BUILD_ROOT
cvsextras 43e64ba
8bb4cf7
%post -p /sbin/ldconfig
8bb4cf7
8bb4cf7
%postun -p /sbin/ldconfig
8bb4cf7
8bb4cf7
%post -n WINGs-libs -p /sbin/ldconfig
8bb4cf7
8bb4cf7
%postun -n WINGs-libs -p /sbin/ldconfig
cvsextras 43e64ba
cvsextras 43e64ba
%files -f '\(WPrefs\|%{name}\|WINGs\)'.lang
cvsextras 43e64ba
%defattr(-,root,root,-)
cvsextras 43e64ba
%doc AUTHORS ChangeLog NEWS FAQ* README* COPYING*
cvsextras 43e64ba
%config %{_sysconfdir}/%{name}
cvsextras 43e64ba
%{_bindir}/*
8bb4cf7
%{_libdir}/libWMaker.so.*
8bb4cf7
%{_datadir}/xsessions/WindowMaker.desktop
8bb4cf7
%{_datadir}/%{name}/
8bb4cf7
%{_datadir}/WPrefs/
cvsextras 43e64ba
%{_mandir}/man1/*.1x*
cvsextras 43e64ba
%{_mandir}/sk/man1/*.1x*
00160f5
%exclude %{_bindir}/get-*-flags
cvsextras 43e64ba
cvsextras 43e64ba
%files devel
cvsextras 43e64ba
%defattr(-,root,root,-)
cvsextras 43e64ba
%{_bindir}/get-wutil-flags
8bb4cf7
%{_libdir}/libWMaker.so
8bb4cf7
%{_libdir}/pkgconfig/wmlib.pc
cvsextras 43e64ba
%{_includedir}/WMaker.h
cvsextras 43e64ba
8bb4cf7
%files -n WINGs-libs
8bb4cf7
%defattr(-,root,root,-)
8bb4cf7
%{_libdir}/libWINGs.so.*
8bb4cf7
%{_libdir}/libwraster.so.*
8bb4cf7
%{_libdir}/libExtraWINGs.so.*
8bb4cf7
%{_libdir}/libWUtil.so.*
8bb4cf7
%{_datadir}/WINGs/
8bb4cf7
8bb4cf7
%files -n WINGs-devel
8bb4cf7
%defattr(-,root,root,-)
8bb4cf7
%{_bindir}/get-wings-flags
8bb4cf7
%{_bindir}/get-wraster-flags
8bb4cf7
%{_libdir}/libWINGs.so
8bb4cf7
%{_libdir}/libWUtil.so
8bb4cf7
%{_libdir}/libExtraWINGs.so
8bb4cf7
%{_libdir}/libwraster.so
8bb4cf7
%{_libdir}/pkgconfig/wrlib.pc
8bb4cf7
%{_libdir}/pkgconfig/WINGs.pc
8bb4cf7
%{_includedir}/WINGs/
8bb4cf7
%{_includedir}/wraster.h
cvsextras 43e64ba
cvsextras 43e64ba
%changelog
b22d45e
* Wed Jul  2 2008 Petr Machata <pmachata@redhat.com> - 0.92.0-18
b22d45e
- Bump up for rebuild.
b22d45e
- Resolves: #448360
b22d45e
ef48422
* Mon Feb 11 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de> - 0.92.0-17
ef48422
- Rebuilt for gcc43
ef48422
f5eaabd
* Thu Jan 03 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
f5eaabd
- 0.92.0-16
f5eaabd
- fix #427430
f5eaabd
cd95b5f
* Sun Dec 09 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
cd95b5f
- 0.92.0-15
cd95b5f
- add patches from #267041 for less wakeup calls
cd95b5f
- fix multilib stuff #343431
cd95b5f
fe9af7b
* Thu Aug 23 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
fe9af7b
- 0.92.0-14
fe9af7b
- new license tag
fe9af7b
- rebuild for buildid
fe9af7b
035b8ee
* Sun Jun 03 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
035b8ee
0.92.0-13
035b8ee
- fix a menu bug for WPrefs
035b8ee
- clean up menu path
035b8ee
5feedb7
* Thu Apr 26 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
5feedb7
0.92.0-12
5feedb7
- apply some changes from Patrice Dumas
5feedb7
- fix requires
5feedb7
8bb4cf7
* Sun Mar 04 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
8bb4cf7
0.92.0-11
8bb4cf7
- fix install location of WPrefs (#228346)
8bb4cf7
- fix menu modification sniplet
8bb4cf7
- split into sub packages to fix multilib issues (#228346)
8bb4cf7
- mark sh files executable
8bb4cf7
e166f64
* Sat Nov 04 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
e166f64
0.92.0-10
e166f64
- fix #185579: bouncing animation will respect animations off setting
e166f64
- fix #211263: missing dependencies in devel package
e166f64
43b2bf8
* Fri Sep 15 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
43b2bf8
0.92.0-9
43b2bf8
- FE6 rebuild
43b2bf8
466bc83
* Thu Mar 02 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
466bc83
0.92.0-8
466bc83
- fix gdm detection
466bc83
83322e0
* Sun Feb 26 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
83322e0
0.92.0-7
83322e0
- fix #181981
83322e0
- go to new cvs snapshot (which includes qt fix)
83322e0
- add patches from altlinuxs rpm (suggested by Andrew Zabolotny)
83322e0
- get rid of static libs (finally)
83322e0
- tune configure
83322e0
- add uk translation
83322e0
- finally add extras source
83322e0
- fix stack-smash while reading workspace names
83322e0
9b575db
* Thu Feb 16 2006 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
9b575db
0.92.0-6
9b575db
- Rebuild for Fedora Extras 5
9b575db
9c868e5
* Fri Nov 25 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
9c868e5
0.92.0-5
9c868e5
- modular xorg integration
9c868e5
e9890b9
* Thu Nov 17 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
e9890b9
0.92.0-4
e9890b9
- add menu fix from Rudol Kastel (#173329)
e9890b9
73d3b00
* Mon Aug 22 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
73d3b00
0.92.0-3
73d3b00
- add gcc4/x86_64 patch from cvs
73d3b00
00160f5
* Tue Aug 09 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
5d7e356
0.92.0-2
5d7e356
- try to fix x86_64 build
5d7e356
5d7e356
* Tue Aug 09 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
00160f5
0.92.0-1
00160f5
- upgrade to new version 
00160f5
- use dist tag
00160f5
- use smp_mflags
00160f5
- fix #163459
00160f5
fffeda3
* Tue May 31 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
667169d
- add disttag fc3
667169d
667169d
* Tue May 31 2005 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
fffeda3
0.91.0-1
fffeda3
- upgrade to 0.91.0
fffeda3
b95e054
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
b95e054
- rebuilt
b95e054
cvsextras 43e64ba
* Fri Nov 28 2003 Dams <anvil[AT]livna.org> - 0:0.80.2-0.fdr.6
cvsextras 43e64ba
- exclude -> rm
cvsextras 43e64ba
- Added patch to fix gtk2 apps handling and other focus things
cvsextras 43e64ba
cvsextras 43e64ba
* Wed Sep 17 2003 Dams <anvil[AT]livna.org> 0:0.80.2-0.fdr.5
cvsextras 43e64ba
- Shortened files section
cvsextras 43e64ba
- Fixed tarball permissions (now a+r)
cvsextras 43e64ba
cvsextras 43e64ba
* Wed Sep 17 2003 Dams <anvil[AT]livna.org> 0:0.80.2-0.fdr.4
cvsextras 43e64ba
- Header files were installed in the wrong directory. Fixed. Slovak
cvsextras 43e64ba
  man pages installation fixed same way.
cvsextras 43e64ba
- WindowWaker-libs is now obsolete.
cvsextras 43e64ba
cvsextras 43e64ba
* Tue Aug 12 2003 Dams <anvil[AT]livna.org> 0:0.80.2-0.fdr.3
cvsextras 43e64ba
- buildroot -> RPM_BUILD_ROOT
cvsextras 43e64ba
- New devel package
cvsextras 43e64ba
- No more libs package
cvsextras 43e64ba
cvsextras 43e64ba
* Thu Apr 10 2003 Dams <anvil[AT]livna.org> 0:0.80.2-0.fdr.2
cvsextras 43e64ba
- Added missing Require: for gettext
cvsextras 43e64ba
ad31cc8
* Tue Apr  8 2003 Dams <anvil[AT]livna.org>
cvsextras 43e64ba
- Initial build.