info: WindowMaker.spec

Pawel Gajda pagaj w brave.shadow.eu.org
Wto, 29 Wrz 1998, 09:37:11 CEST


Hej
Z przyczyn niezależnych ode mnie spec do WindowMakera 0.20.0 wędruje na listę
dopiero teraz.  Chyba udało mi się zdążyć przed 0.20.1 :-)

-- 
Paweł Gajda

-------------- następna część ---------
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.20.0
Release:     1
Group:       X11/Window Managers
Copyright:   GPL
Vendor:      Dan Pascu <dan w services.iiruc.ro>
URL:         http://www.windowmaker.org
Source:      ftp://ftp.windowmaker.org/pub/beta/srcs/%{name}-%{version}.tar.bz2
Patch0:      WindowMaker.patch
Patch1:      WindowMaker-ro.po.patch
Prereq:      /lib/cpp
BuildRoot:   /tmp/%{name}-%{version}-root

%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,
feature rich and easy to configure, with a simple and elegant appearance
borrowed from NEXTSTEP(tm).

%description -l fr
WindowMaker est un "Window Manager" conçu pour émuler l'apparence et la
sensation de l'interface graphique NeXTSTEP(tm). Il est suposé ętre rapide,
relativement petit, facile a configurer, extremement complet et avec
l'apparence simple et élégante empruntée a NeXTSTEP(tm).

%description -l pl
WindowMaker jest menedżerem okien przypominający wyglądem i wygodą obsługi
interfejs systemu NeXTSTEP(tm). Jest szybki, stosunkowo mały, o dużych
możliwościach i łatwy w konfiguracji. Konfiguruje się go myszką, za pomocą
programu WPrefs wchodzącego w skład tego pakietu.

%package devel
Summary:     WindowMaker libraries
Summary(fr): Librairies de WindowMaker
Summary(pl): Biblioteki WindowMakera
Group:       Development/Libraries
Requires:    %{name} = %{version}

%description devel
This package contains libraries for building WindowMaker-enhanced
applications.

%description devel -l fr
Ce paquet contient des librairies pour faire des applications mise en valeur
par WindowMaker.

%description devel -l pl
Ten pakiet zawiera pliki nagłówkowe i biblioteki niezbędne do tworzenia
aplikacji wykorzystujących możliwości menedżera okien WindowMaker.

%prep
%setup -q
%patch0 -p1
%patch1 -p1

aclocal
automake
autoconf

%build
echo "b" | LINGUAS="cs de el es fi fr gl hr it ja ko nl no pl pt ro ru se tr" \
		CFLAGS=$RPM_OPT_FLAGS LDFLAGS="-s" ./configure \
		--prefix=/usr/X11R6 \
		--with-nlsdir=/usr/X11R6/share/locale --enable-kanji \
		--enable-sound --with-gnome \
		--disable-shm \
		--disable-debug
make


%install
rm -rf $RPM_BUILD_ROOT

make	prefix=$RPM_BUILD_ROOT/usr/X11R6 \
	exec_prefix=$RPM_BUILD_ROOT/usr/X11R6 \
	nlsdir=$RPM_BUILD_ROOT/usr/X11R6/share/locale \
	includedir=$RPM_BUILD_ROOT/usr/X11R6/include install

install util/bughint $RPM_BUILD_ROOT/usr/X11R6/bin

%clean
rm -r $RPM_BUILD_ROOT

%files
%defattr(644, root, root, 755)
%doc AUTHORS BUGFORM BUGS ChangeLog FAQ NEWS README TODO 
%attr(755, root, root) /usr/X11R6/bin/dockit
%attr(755, root, root) /usr/X11R6/bin/wmaker.inst
%attr(755, root, root) /usr/X11R6/bin/bughint
%attr(711, root, root) /usr/X11R6/bin/geticonset
%attr(711, root, root) /usr/X11R6/bin/getstyle
%attr(711, root, root) /usr/X11R6/bin/seticons
%attr(711, root, root) /usr/X11R6/bin/setstyle
%attr(711, root, root) /usr/X11R6/bin/wdwrite
%attr(711, root, root) /usr/X11R6/bin/wmaker
%attr(711, root, root) /usr/X11R6/bin/wmsetbg
%attr(711, root, root) /usr/X11R6/bin/wxcopy
%attr(711, root, root) /usr/X11R6/bin/wxpaste
/usr/X11R6/share/WINGs/*
/usr/X11R6/share/WindowMaker/*

%dir /usr/X11R6/GNUstep
%dir /usr/X11R6/GNUstep/Apps
%dir /usr/X11R6/GNUstep/Apps/WPrefs.app
%attr(711, root, root) /usr/X11R6/GNUstep/Apps/WPrefs.app/WPrefs
/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

%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(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(tr) /usr/X11R6/share/locale/tr/LC_MESSAGES/*

%files devel
%attr(644,root,root) /usr/X11R6/include/*.h
%attr(644,root,root) /usr/X11R6/lib/lib*.a

%changelog
* Sat Sep 26 1998 Paweł Gajda <pagaj w shadow.eu.org>
  [0.20.0-1]
- added --disable-shm option to configure script
- added patches to fix I18N stuff
- moved bughint script to /usr/X11R6/bin
- WPrefs is now back in /usr/X11R6/GNUstep
- built against Tornado (glibc 2.0.94) from non-root account

* Mon Sep 21 1998 Paweł Gajda <pagaj w shadow.eu.org>
  [0.19.3-2]
- fixed problems with paths to icons, styles and WPrefs
- removed all patches
- changed ELF executables attributes to 711
- moved WPrefs stuff to /usr/X11R6/share/GNUstep
- fixed I18N
- added Polish summary and description

* Thu Sep  8 1998 Tomasz Kłoczko <kloczek w rudy.mif.pg.gda.pl>
  [0.19.3-1]
- added -q %setup parameter,
- changed Buildroot to /tmp/%%{name}-%%{version}-root,
- added using %%{name} and %%{version} in Source,
- changeded dependences to "Requires: %%{name} = %%{version}" in devel
  subpackage,
- removed "rm -r %%{builddir}" - it's automatically removed if rpm is runed
  on building with --clean,
- removed COPYING and INSTALL from %doc (copyright statment is in Copyright
  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,
- added --disable-debug for configure,
- adde %lang macros for /usr/share/locale/*/LC_MESSAGES/* files,
- added WindowMaker-fix_po.patch wit fixing .po files,
- simplification in %files and added using %defattr macro also.

* Tue Jul 21 1998 W. Reilly Cooley <wcooley w nakedape.ml.org>
- updated from 16.1 to 17.2; made it use RPM_OPT_FLAGS


Więcej informacji o liście dyskusyjnej pld-devel-pl