source: projects/specs/trunk/b/blackbox/blackbox-vl.spec @ 521

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

import VineSeed package specs

Line 
1Summary: Blackbox - an X11 Window manager
2Summary(ja): Blackbox - X11 ¥¦¥£¥ó¥É¥¦¡¦¥Þ¥Í¡¼¥¸¥ã
3Name: blackbox
4Version: 0.61.1
5Release: 0vl2
6Group:  User Interface/Desktops
7Copyright: GPL
8Requires: wmconfig, xscreensaver
9Buildroot: %{_tmppath}/%{name}-root
10
11Source: ftp://portal.alug.org/pub/blackbox/0.6x.x/blackbox-%{version}.tar.bz2
12# sources/patches for vine.
13Source101: blackbox-menu-vine.in
14Source102: blackbox-menu-vine.ja.in
15Source103: blackbox-CleanVine_theme
16Patch100: blackbox-0.61.1-ja_nls.patch
17Patch101: blackbox-0.60.3-snap_to_edges.patch
18Patch102: blackbox-0.60.3-menu_extend-1.1.patch
19Patch103: blackbox-0.60.3-large_font.patch
20# XXX: This patch is too stupud patch for kinput2.
21Patch104: blackbox-0.60.3-kinput2.patch
22# patch for gcc-2.95.x
23Patch110: blackbox-0.60.3-gcc295.patch
24
25Vendor: Project Vine
26Distribution: Vine Linux
27Packager: Yasuyuki Furukawa <furukawa@vinelinux.org>
28
29%description
30Blackbox is yet another addition of the list of window managers
31for the Open Group's X Window System, Version 11 Release 6 and above.
32Blackbox is built with C++, sharing no common code with any other
33window manager (even though the graphics implementation is similar
34to that of Window Maker).
35
36This package's default menu is customized for Vine Linux.
37
38
39%description -l ja
40Blackbox¤Ï¡¢Open Group ¤Î X ¥¦¥£¥ó¥É¥¦¥·¥¹¥Æ¥à, X11R6°Ê¹ßÍѤÎ
41¥¦¥£¥ó¥É¥¦¡¦¥Þ¥Í¡¼¥¸¥ã¤Î°ì¤Ä¤Ç¤¹¡£Blackbox¤Ï¡¢Â¾¤Î¥¦¥£¥ó¥É¥¦¡¦
42¥Þ¥Í¡¼¥¸¥ã¤È¤Î¶¦Ä̤Υ³¡¼¥É¤ò»ÈÍѤ»¤º¤Ë¡¢C++¤Ç¥¹¥¯¥é¥Ã¥Á¤«¤é½ñ
43¤«¤ì¤Æ¤¤¤Þ¤¹¡£(Window Maker¤Î¥°¥é¥Õ¥£¥Ã¥¯¤Î¼ÂÁõ¤ò»²¹Í¤Ë¤·¤Æ¤¤¤Þ
44¤¹¤¬)
45
46¤Þ¤¿¡¢¤³¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ç¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Î¥á¥Ë¥å¡¼¤òVine LinuxÍѤË
47¥«¥¹¥¿¥Þ¥¤¥º¤·¤Æ¤¤¤Þ¤¹¡£
48
49%prep
50%setup -q
51%patch100 -p1 -b .ja_nls
52%patch101 -p1 -b .snap_to_edges
53%patch102 -p1 -b .menu_extend
54%patch103 -p1
55%patch104 -p1 -b .kinput2
56%patch110 -p1
57rm -f data/styles/*~ data/styles/*.orig
58cp %{SOURCE101} data/menu.in
59cp %{SOURCE102} data/menu.ja_JP.in
60touch aclocal.m4 Makefile.in */Makefile.in config.h.in
61rm -rf   %{buildroot}
62
63%build
64./configure --prefix=%{_prefix}
65CFLAGS="$RPM_OPT_FLAGS"
66make
67
68%install
69make prefix=%{buildroot}%{_prefix} install
70
71strip %{buildroot}%{_bindir}/*  || :
72
73# recreate symbolic directories.
74# (use relative path instead of full path that is included "/var/tmp/..." )
75for lang in POSIX US_ASCII en en_US; do
76rm -f %{buildroot}%{_datadir}/Blackbox/nls/${lang}
77ln -s C %{buildroot}%{_datadir}/Blackbox/nls/${lang}
78done
79
80rm -f %{buildroot}%{_datadir}/Blackbox/nls/es
81ln -s es_ES %{buildroot}%{_datadir}/Blackbox/nls/es
82rm -f %{buildroot}%{_datadir}/Blackbox/nls/ja
83ln -s ja_JP %{buildroot}%{_datadir}/Blackbox/nls/ja
84
85# install my poor theme :)
86cp %{SOURCE103} %{buildroot}%{_datadir}/Blackbox/styles/CleanVine
87
88%clean
89rm -rf %{buildroot}
90
91%files
92%defattr(-,root,root)
93%doc AUTHORS ChangeLog*
94%doc INSTALL LICENSE README README.bbtools TODO
95%doc data/README data/README.menu data/README.style
96%{_datadir}/Blackbox/*
97%{_bindir}/*
98
99
100%changelog
101* Fri Mar 15 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.61.1-0vl2
102- rebuilt with glibc > 2.2
103
104* Sat Jul 28 2001 IWAI Masaharu <iwaim@cc.mbn.or.jp>
105- updated to 0.61.1
106- modified ja_nls patch
107
108* Fri Aug 25 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
109- modified poor kinput2  patch for mozilla
110
111* Fri Aug 18 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
112- updated to 0.61.0
113- remove style_fix patch
114- added my poor CleanVine theme :)
115
116* Wed Jul 21 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
117- 0.60.3-0vl2
118- added a small patch to work with gcc-2.95.x
119
120* Thu Jul  4 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
121- first release for 0.60.3
122- replace menu files for vine.
123- added ja_nls patch for Japanese catalog and menu files.
124- added snap_to_edge and menu_extend patch from old 0.53.x
125- FIXME!! added very stupid kinput2 patch.
126- FIXME!! added temporary style_fix patch to prevend blackbox 0.60.3 style bug.
Note: See TracBrowser for help on using the repository browser.