]> git.pld-linux.org Git - packages/WindowMaker.git/blobdiff - WindowMaker.spec
- updated to 0.60.0,
[packages/WindowMaker.git] / WindowMaker.spec
index 9ebe6a6c9ade572715d137ed11e6af2187e2d894..ca8f0c2fea63560ed0b3013818ef87e329d9c75e 100644 (file)
@@ -4,8 +4,8 @@ Summary:        NeXT-alike window manager
 Summary(fr):   Gestionnaire de fenêtres avec le look NeXT
 Summary(pl):   Mened¿er okien w stylu NeXT
 Name:          WindowMaker
-Version:       0.53.0
-Release:       3
+Version:       0.60.0
+Release:       1
 Group:         X11/Window Managers
 Group(pl):     X11/Zarz±dcy Okien
 Copyright:     GPL
@@ -19,8 +19,9 @@ Patch3:               WindowMaker-pixmaps.patch
 Patch4:                WindowMaker-shared.patch
 Patch5:                WindowMaker-areas.patch
 Patch6:                WindowMaker-runinst.patch
+Patch7:                WindowMaker-ru.po.patch
 URL:           http://www.windowmaker.org/
-BuildPrereq:   libPropList-devel >= 0.8.3
+BuildPrereq:   libPropList-devel >= 1.8.3
 BuildPrereq:   xpm-devel
 BuildPrereq:   libpng-devel
 BuildPrereq:   libjpeg-devel >= 6b
@@ -31,6 +32,10 @@ Requires:    /lib/cpp
 Requires:      %{name}-libs = %{version}
 BuildRoot:     /tmp/%{name}-%{version}-root
 
+%define        _prefix         /usr/X11R6
+%define        _mandir         %{_prefix}/man
+%define        _sysconfdir     /etc/X11
+
 %description
 WindowMaker is a window manager designed to emulate the look and feel of
 part of the NEXTSTEP(tm) GUI. It's supposed to be fast, relatively small,
@@ -101,12 +106,13 @@ aplikacji wykorzystuj
 %setup -q -a 1 -a 2
 
 %patch0 -p1
-%patch1 -p1
+%patch1 -p0
 %patch2 -p0
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p0
 
 %build
 autoconf
@@ -115,9 +121,8 @@ LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
 CPP_PATH="/lib/cpp" ; export CPP_PATH
 
 %configure \
-       --prefix=/usr/X11R6 \
-       --with-nlsdir=/usr/X11R6/share/locale \
-       --sysconfdir=/etc/X11 \
+       --sysconfdir=%{_sysconfdir} \
+       --with-nlsdir=%{_datadir}/locale \
        --enable-kanji \
        --enable-sound \
        --enable-gnome \
@@ -127,7 +132,8 @@ CPP_PATH="/lib/cpp" ; export CPP_PATH
         --enable-newstyle \
        --enable-kde \
        --enable-shared \
-       --enable-static
+       --enable-static \
+       --enable-usermenu
 make \
        LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
                se sk tr zh_CN zh_TW.Big5" \
@@ -137,119 +143,112 @@ make \
 autoconf
 cd %{name}-extra-%{extraver}
 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
-./configure %{_target} \
-       --prefix=/usr/X11R6 \
-       --with-iconsdir=/usr/X11R6/share/pixmaps
+./configure %{_target_platform} \
+       --prefix=%{_prefix} \
+       --mandir=%{_mandir} \
+       --with-nlsdir=%{_datadir}/locale \
+       --with-iconsdir=%{_datadir}/pixmaps
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/usr/X11R6/share/pixmaps
+install -d $RPM_BUILD_ROOT%{_datadir}/pixmaps
 
 make install \
        LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru  \
                se sk tr zh_CN zh_TW.Big5" \
        DESTDIR=$RPM_BUILD_ROOT 
 
-install util/bughint $RPM_BUILD_ROOT/usr/X11R6/bin
+install util/bughint $RPM_BUILD_ROOT%{_bindir}
 
-install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT/usr/X11R6/share/pixmaps
+install WindowMaker-data/pixmaps/* $RPM_BUILD_ROOT%{_datadir}/pixmaps
 
 (cd %{name}-extra-%{extraver};
 make DESTDIR=$RPM_BUILD_ROOT install )
 
-strip --strip-unneeded $RPM_BUILD_ROOT/usr/X11R6/lib/lib*so.*.*
+strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
 
-gzip -9nf $RPM_BUILD_ROOT/usr/X11R6/share/man/man1/* \
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
        AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README
 
+%find_lang %{name}
+
 %post   -p /sbin/ldconfig
 %postun -p /sbin/ldconfig
 
 %clean
 rm -r $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS.gz BUGFORM.gz BUGS.gz 
 %doc ChangeLog.gz FAQ.gz NEWS.gz README.gz
 
 %dir /etc/X11/WindowMaker
-%config %verify(not size mtime md5) /etc/X11/WindowMaker/*
-
-/usr/X11R6/share/man/man1/*
-
-/usr/X11R6/share/pixmaps/*
-
-%attr(755,root,root) /usr/X11R6/bin/geticonset
-%attr(755,root,root) /usr/X11R6/bin/getstyle
-%attr(755,root,root) /usr/X11R6/bin/seticons
-%attr(755,root,root) /usr/X11R6/bin/setstyle
-%attr(755,root,root) /usr/X11R6/bin/wdwrite
-%attr(755,root,root) /usr/X11R6/bin/wkdemenu.pl
-%attr(755,root,root) /usr/X11R6/bin/wm-oldmenu2new
-%attr(755,root,root) /usr/X11R6/bin/wmaker
-%attr(755,root,root) /usr/X11R6/bin/wmaker.inst
-%attr(755,root,root) /usr/X11R6/bin/wmsetbg
-%attr(755,root,root) /usr/X11R6/bin/wsetfont
-%attr(755,root,root) /usr/X11R6/bin/wxcopy
-%attr(755,root,root) /usr/X11R6/bin/wxpaste
-
-/usr/X11R6/share/WindowMaker
-
-%dir /usr/X11R6/GNUstep
-%dir /usr/X11R6/GNUstep/Apps
-%dir /usr/X11R6/GNUstep/Apps/WPrefs.app
-
-%attr(755,root,root) /usr/X11R6/GNUstep/Apps/WPrefs.app/WPrefs
-
-%lang(cs) /usr/X11R6/share/locale/cs/LC_MESSAGES/*
-%lang(de) /usr/X11R6/share/locale/de/LC_MESSAGES/*
-%lang(el) /usr/X11R6/share/locale/el/LC_MESSAGES/*
-%lang(es) /usr/X11R6/share/locale/es/LC_MESSAGES/*
-%lang(fi) /usr/X11R6/share/locale/fi/LC_MESSAGES/*
-%lang(fr) /usr/X11R6/share/locale/fr/LC_MESSAGES/*
-%lang(gl) /usr/X11R6/share/locale/gl/LC_MESSAGES/*
-%lang(hr) /usr/X11R6/share/locale/hr/LC_MESSAGES/*
-%lang(it) /usr/X11R6/share/locale/it/LC_MESSAGES/*
-%lang(ja) /usr/X11R6/share/locale/ja/LC_MESSAGES/*
-%lang(ko) /usr/X11R6/share/locale/ko/LC_MESSAGES/*
-%lang(nl) /usr/X11R6/share/locale/nl/LC_MESSAGES/*
-%lang(no) /usr/X11R6/share/locale/no/LC_MESSAGES/*
-%lang(pl) /usr/X11R6/share/locale/pl/LC_MESSAGES/*
-%lang(pt) /usr/X11R6/share/locale/pt/LC_MESSAGES/*
-%lang(ro) /usr/X11R6/share/locale/ro/LC_MESSAGES/*
-%lang(ru) /usr/X11R6/share/locale/ru/LC_MESSAGES/*
-%lang(se) /usr/X11R6/share/locale/se/LC_MESSAGES/*
-%lang(sk) /usr/X11R6/share/locale/sk/LC_MESSAGES/*
-%lang(tr) /usr/X11R6/share/locale/tr/LC_MESSAGES/*
-%lang(zh_CN) /usr/X11R6/share/locale/zh_CN/LC_MESSAGES/*
-%lang(zh_TW.Big5) /usr/X11R6/share/locale/zh_TW.Big5/LC_MESSAGES/*
-
-/usr/X11R6/GNUstep/Apps/WPrefs.app/tiff
-/usr/X11R6/GNUstep/Apps/WPrefs.app/xpm
-/usr/X11R6/GNUstep/Apps/WPrefs.app/WPrefs.tiff
-/usr/X11R6/GNUstep/Apps/WPrefs.app/WPrefs.xpm
+%config %verify(not size mtime md5) %{_sysconfdir}/WindowMaker/*
+
+%{_mandir}/man1/*
+
+%{_datadir}/pixmaps/*
+
+%attr(755,root,root) %{_bindir}/geticonset
+%attr(755,root,root) %{_bindir}/getstyle
+%attr(755,root,root) %{_bindir}/seticons
+%attr(755,root,root) %{_bindir}/setstyle
+%attr(755,root,root) %{_bindir}/wdwrite
+%attr(755,root,root) %{_bindir}/wkdemenu.pl
+%attr(755,root,root) %{_bindir}/wm-oldmenu2new
+%attr(755,root,root) %{_bindir}/wmaker
+%attr(755,root,root) %{_bindir}/wmaker.inst
+%attr(755,root,root) %{_bindir}/wmsetbg
+%attr(755,root,root) %{_bindir}/wsetfont
+%attr(755,root,root) %{_bindir}/wxcopy
+%attr(755,root,root) %{_bindir}/wxpaste
+
+%{_datadir}/WindowMaker
+
+%dir %{_prefix}/GNUstep
+%dir %{_prefix}/GNUstep/Apps
+%dir %{_prefix}/GNUstep/Apps/WPrefs.app
+
+%attr(755,root,root) %{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs
+
+%{_prefix}/GNUstep/Apps/WPrefs.app/tiff
+%{_prefix}/GNUstep/Apps/WPrefs.app/xpm
+%{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs.tiff
+%{_prefix}/GNUstep/Apps/WPrefs.app/WPrefs.xpm
 
 %files libs
 %defattr(644,root,root,755)
-%attr(755,root,root) /usr/X11R6/lib/lib*.so.*.*
-/usr/X11R6/share/WINGs
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%{_datadir}/WINGs
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) /usr/X11R6/lib/lib*.so
-%attr(755,root,root) /usr/X11R6/bin/get-wraster-flags
-/usr/X11R6/include/*.h
-/usr/X11R6/lib/lib*.la
+%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_bindir}/get-wraster-flags
+%{_includedir}/*.h
+%{_libdir}/lib*.la
 
 %files static
 %defattr(644,root,root,755)
-/usr/X11R6/lib/lib*.a
+%{_libdir}/lib*.a
 
 %changelog
+* Fri Jun 25 1999 Piotr Czerwiñski <pius@pld.org.pl> 
+  [0.60.0-1]
+- updated to 0.60.0,
+- added using more rpm macros,
+- added %{name}-ru.po.patch,
+- added --enable-usermenu to ./configure options.
+
+* Mon Jun 07 1999 Jan Rêkorajski <baggins@pld.org.pl>
+  [0.53.0-4]
+- fixed --prefix
+- added find_lang macro
+
 * Sun May  9 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
   [0.53.0-3]
-- now package is FHS 2.0 compliat.
+- now package is FHS 2.0 compliant.
 
 * Wed Apr 28 1999 Artur Frysiak <wiget@pld.org.pl>
   [0.53.0-2]
@@ -326,9 +325,9 @@ rm -r $RPM_BUILD_ROOT
   field),
 - WindowMaker is now builded from bz2 source tar,
 - removed Packager field (this must be placed in persolan ~/.rpmrc),
-- nls stuff moved to /usr/share/locale,
+- nls stuff moved to %{_datadir}/locale,
 - added --disable-debug for configure,
-- adde %lang macros for /usr/share/locale/*/LC_MESSAGES/* files,
+- adde %lang macros for %{_datadir}/locale/*/LC_MESSAGES/* files,
 - added WindowMaker-fix_po.patch wit fixing .po files,
 - simplification in %files and added using %defattr macro also.
 
This page took 0.036701 seconds and 4 git commands to generate.