few updates
[wmaker-crm.git] / contrib / WindowMaker.spec.in
blob06e8c6bac9ee04d418d2dc146457ff0c9010b638
1 %define name @PACKAGE@
2 %define version @VERSION@
3 %define release 1
4 %define serial 2
6 Summary: A window manager for the X Window System.
7 Name: %{name}
8 Version: %{version}
9 Release: %{release}
10 Serial: %{serial}
11 Copyright: GPL
12 Group: User Interface/Desktops
13 Vendor: The Window Maker Team
14 Url: http://www.windowmaker.org
15 Source: %{name}-%{version}.tar.gz
16 Requires: wmconfig, libPropList >= 0.10.1
17 Obsoletes: windowmaker, windowmaker-devel, windowmaker-libs, WindowMaker-devel
18 Provides: windowmaker
19 BuildRoot: /var/tmp/%{name}-%{version}
21 %description
22 Window Maker is an X11 window manager which emulates the look
23 and feel of the NeXTSTEP (TM) graphical user interface. It is
24 relatively fast, feature rich and easy to configure and use.
25 Window Maker is part of the official GNU project, which means that
26 Window Maker can interoperate with other GNU projects, such as
27 GNOME.
29 Window Maker allows users to switch themes 'on the fly,' to place
30 favorite applications on either an application dock, similar to
31 AfterStep's Wharf or on a workspace dock, a 'clip' which extends
32 the application dock's usefulness.
34 You should install the WindowMaker package if you use Window
35 Maker as your window manager or if you'd like to try using it.
36 If you do install the WindowMaker package, you may also want
37 to install the AfterStep-APPS package, which includes
38 applets that will work with both AfterStep and Window Maker
39 window managers.
41 %prep
42 %setup -q
44 %build
45 CFLAGS="$RPM_OPT_FLAGS";
46 LINGUAS="@supported_locales@";
47 NLSDIR="/usr/share/locale";
48 GNUSTEP_LOCAL_ROOT='$(prefix)/X11R6/lib/GNUstep';
49 export CFLAGS LINGUAS NLSDIR GNUSTEP_LOCAL_ROOT;
51 ./configure --prefix=/usr --exec-prefix=/usr/X11R6 \
52 --sysconfdir=/etc/X11 --enable-modelock \
53 --enable-kde --enable-gnome --enable-openlook \
54 --enable-usermenu
55 make
57 %install
58 if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
60 cp -f WindowMaker/plmenu WindowMaker/Defaults/WMRootMenu
61 make install DESTDIR=$RPM_BUILD_ROOT
63 strip $RPM_BUILD_ROOT/usr/X11R6/bin/* || :
64 strip $RPM_BUILD_ROOT/usr/X11R6/lib/GNUstep/Apps/WPrefs.app/WPrefs
66 %post -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
69 %clean
70 if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
72 %files
73 %defattr(-,root,root)
74 %doc AUTHORS BUGFORM BUGS ChangeLog NEWS FAQ* README
75 %doc TODO MIRRORS README.*
76 %doc AUTHORS.sk
77 %config /etc/X11/WindowMaker
78 /usr/X11R6/bin/*
79 /usr/X11R6/lib/lib*
80 /usr/X11R6/lib/GNUstep/Apps/WPrefs.app
81 /usr/include/*
82 /usr/share/WindowMaker
83 /usr/share/locale/*/LC_MESSAGES/*
84 /usr/share/WINGs
85 /usr/man/*/*
86 /usr/man/*/*/*
88 %changelog