source: projects/specs/trunk/w/wmconfig/wmconfig-vl.spec @ 521

Revision 521, 3.5 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: A configuration tool for X window managers.
2Summary(ja): ¥¦¥£¥ó¥É¥¦¡¦¥Þ¥Í¡¼¥¸¥ãÀßÄê¥Ä¡¼¥ë
3Name: wmconfig
4%define version 0.9.8
5Version: %{version}
6Release: 1vl5
7License: GPL
8Group: User Interface/Desktops
9Vendor: Project Vine
10Distribution: Vine Linux
11Packager: Yasuyuki Furukawa <furukawa@vinelinux.org>
12
13Source: ftp://ftp.redhat.com/home/gafton/wmconfig/wmconfig-%{version}.tar.gz
14
15# Patches for Vine
16Patch100: wmconfig-0.9.8-noneed_libgnome.patch
17Patch101: wmconfig-0.9.8-gnome_i18n_dir.patch
18Patch102: wmconfig-0.9.8-gnome_terminal.patch
19Patch103: wmconfig-0.9.8-short_lang.patch
20Patch104: wmconfig-0.9.8-kde_i18n.patch
21Patch105: wmconfig-0.9.8-ignorecase.patch
22Patch106: wmconfig-0.9.8-vine.patch
23
24BuildRoot: %{_tmppath}/%{name}-%{version}-root
25BuildRequires:  autoconf213, automake14
26
27%description
28The wmconfig program is a helper program which provides output for use
29in configuring window managers.  Wmconfig will produce a list of menu
30definitions for a specified X window manager (currently, FVWM2,
31FVWM95, AfterStep, MWM, IceWM and KDE are supported).  Wmconfig's
32output can be placed into your .rc file or you can use the output for
33other configuration purposes.
34
35%description -l ja
36Wmconfig¥×¥í¥°¥é¥à¤Ï¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ã¤ÎÀßÄê¤Î¤¿¤á¤Î½ÐÎϤòÅǤ­½Ð¤¹¡¢
37Êä½õ¥×¥í¥°¥é¥à¤Ç¤¹¡£Wmconfig¤Ï»ØÄê¤ÎX¥¦¥£¥ó¥É¥¦¥Þ¥Í¡¼¥¸¥ãÍѤΥá¥Ë¥å¡¼
38ÄêµÁ¤Î°ìÍ÷¤ò½ÐÎϤ·¤Þ¤¹¡£¸½ºß, Fvwm2, Fvwm95, AfterStep, MWM, IceWM,
39KDE¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Þ¤¹¡£
40Wmconfig ¤Î½ÐÎÏ¤Ï ¼«Ê¬¤Î .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
60export PATH=`pwd`:$PATH
61# End workaround
62
63automake
64autoconf
65CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr/X11R6 \
66        --enable-gnome
67make
68
69%install
70rm -rf $RPM_BUILD_ROOT
71make DESTDIR=$RPM_BUILD_ROOT install-strip
72mkdir -p $RPM_BUILD_ROOT/etc/X11/wmconfig
73
74%clean
75rm -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
Note: See TracBrowser for help on using the repository browser.