[521] | 1 | Summary: A configuration tool for X window managers. |
---|
| 2 | Summary(ja): ¥¦¥£¥ó¥É¥¦¡¦¥Þ¥Í¡¼¥¸¥ãÀßÄê¥Ä¡¼¥ë |
---|
| 3 | Name: wmconfig |
---|
| 4 | %define version 0.9.8 |
---|
| 5 | Version: %{version} |
---|
| 6 | Release: 1vl5 |
---|
| 7 | License: GPL |
---|
| 8 | Group: User Interface/Desktops |
---|
| 9 | Vendor: Project Vine |
---|
| 10 | Distribution: Vine Linux |
---|
| 11 | Packager: Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
| 12 | |
---|
| 13 | Source: ftp://ftp.redhat.com/home/gafton/wmconfig/wmconfig-%{version}.tar.gz |
---|
| 14 | |
---|
| 15 | # Patches for Vine |
---|
| 16 | Patch100: wmconfig-0.9.8-noneed_libgnome.patch |
---|
| 17 | Patch101: wmconfig-0.9.8-gnome_i18n_dir.patch |
---|
| 18 | Patch102: wmconfig-0.9.8-gnome_terminal.patch |
---|
| 19 | Patch103: wmconfig-0.9.8-short_lang.patch |
---|
| 20 | Patch104: wmconfig-0.9.8-kde_i18n.patch |
---|
| 21 | Patch105: wmconfig-0.9.8-ignorecase.patch |
---|
| 22 | Patch106: wmconfig-0.9.8-vine.patch |
---|
| 23 | |
---|
| 24 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 25 | BuildRequires: autoconf213, automake14 |
---|
| 26 | |
---|
| 27 | %description |
---|
| 28 | The wmconfig program is a helper program which provides output for use |
---|
| 29 | in configuring window managers. Wmconfig will produce a list of menu |
---|
| 30 | definitions for a specified X window manager (currently, FVWM2, |
---|
| 31 | FVWM95, AfterStep, MWM, IceWM and KDE are supported). Wmconfig's |
---|
| 32 | output can be placed into your .rc file or you can use the output for |
---|
| 33 | other configuration purposes. |
---|
| 34 | |
---|
| 35 | %description -l ja |
---|
| 36 | Wmconfig¥×¥í¥°¥é¥à¤Ï¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤ÎÀßÄê¤Î¤¿¤á¤Î½ÐÎϤòÅǤ½Ð¤¹¡¢ |
---|
| 37 | Êä½õ¥×¥í¥°¥é¥à¤Ç¤¹¡£Wmconfig¤Ï»ØÄê¤ÎX¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ãÍѤΥá¥Ë¥å¡¼ |
---|
| 38 | ÄêµÁ¤Î°ìÍ÷¤ò½ÐÎϤ·¤Þ¤¹¡£¸½ºß, Fvwm2, Fvwm95, AfterStep, MWM, IceWM, |
---|
| 39 | KDE¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£ |
---|
| 40 | Wmconfig ¤Î½ÐÎÏ¤Ï ¼«Ê¬¤Î .rc ¥Õ¥¡¥¤¥ë¤ØÃÖ¤¤¤¿¤ê¡¢¤¢¤ë¤¤¤ÏÊ̤ÎÀßÄêÌÜŪ |
---|
| 41 | ¤Ç½ÐÎϤòÍøÍѤ¹¤ë¤³¤È¤¬¤Ç¤¤Þ¤¹¡£ |
---|
| 42 | |
---|
| 43 | %prep |
---|
| 44 | %setup -q |
---|
| 45 | %patch100 -p1 -b .noneed_libgnome |
---|
| 46 | %patch101 -p1 -b .gnome_i18n_dir |
---|
| 47 | %patch102 -p1 -b .gnome_terminal |
---|
| 48 | %patch103 -p1 -b .short_lang |
---|
| 49 | %patch104 -p1 -b .kde_i18n |
---|
| 50 | %patch105 -p1 -b .ignore_case |
---|
| 51 | # If the vine patch is used, please modify the menus of fvwm2, too. |
---|
| 52 | #%patch106 -p1 -b .vine |
---|
| 53 | |
---|
| 54 | %build |
---|
| 55 | # Workaround for legacy auto* tools |
---|
| 56 | [ -x /usr/bin/autoconf-2.13 ] && ln -s /usr/bin/autoconf-2.13 autoconf |
---|
| 57 | [ -x /usr/bin/autoheader-2.13 ] && ln -s /usr/bin/autoheader-2.13 autoheader |
---|
| 58 | [ -x /usr/bin/aclocal-1.4 ] && ln -s /usr/bin/aclocal-1.4 aclocal |
---|
| 59 | [ -x /usr/bin/automake-1.4 ] && ln -s /usr/bin/automake-1.4 automake |
---|
| 60 | export PATH=`pwd`:$PATH |
---|
| 61 | # End workaround |
---|
| 62 | |
---|
| 63 | automake |
---|
| 64 | autoconf |
---|
| 65 | CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr/X11R6 \ |
---|
| 66 | --enable-gnome |
---|
| 67 | make |
---|
| 68 | |
---|
| 69 | %install |
---|
| 70 | rm -rf $RPM_BUILD_ROOT |
---|
| 71 | make DESTDIR=$RPM_BUILD_ROOT install-strip |
---|
| 72 | mkdir -p $RPM_BUILD_ROOT/etc/X11/wmconfig |
---|
| 73 | |
---|
| 74 | %clean |
---|
| 75 | rm -rf $RPM_BUILD_ROOT |
---|
| 76 | |
---|
| 77 | %files |
---|
| 78 | %defattr(-,root,root) |
---|
| 79 | /usr/X11R6/bin/wmconfig |
---|
| 80 | %dir /etc/X11/wmconfig |
---|
| 81 | /usr/X11R6/man/man1/wmconfig.1* |
---|
| 82 | %doc COPYING |
---|
| 83 | |
---|
| 84 | %changelog |
---|
| 85 | * Sat Jul 19 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.9.8-1vl5 |
---|
| 86 | - rebuilt with new toolchains |
---|
| 87 | - add BuildRequires: autoconf213, automake14 |
---|
| 88 | - fixed BuildRoot to use rpmmacro |
---|
| 89 | - s/Copyright/License/ |
---|
| 90 | |
---|
| 91 | * Fri Sep 08 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
| 92 | - 0.9.8-1vl4 |
---|
| 93 | - modified %files section to handle compressed man page(s) |
---|
| 94 | |
---|
| 95 | * Wed Mar 13 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
| 96 | - modified gnome_dir_i18n and kde_i1n patches for KDE users |
---|
| 97 | |
---|
| 98 | * Tue Feb 29 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
| 99 | - added a ignorecase patch. |
---|
| 100 | |
---|
| 101 | * Sun Feb 26 2000 Yasuyuki Furukawa <furukawa@vinelinux.org> |
---|
| 102 | - updated 0.9.8 |
---|
| 103 | - added noneed_libgnome patch for nodepend to gnome libraries. |
---|
| 104 | - added gnome_i18n_dir, gnome_terminal patch |
---|
| 105 | - added vine(but not used) patch |
---|
| 106 | - added short_lang and kde_i18n patch. |
---|
| 107 | - enable gnome again |
---|
| 108 | |
---|
| 109 | * Wed Jan 26 2000 Jun Nishii <jun@vinelinux.org> |
---|
| 110 | - disable gnome |
---|
| 111 | |
---|
| 112 | * Sat Oct 23 1999 Jun Nishii <jun@flatout.org> |
---|
| 113 | - added %defattr in %files |
---|