source: projects/specs/trunk/w/wmakerconf/wmakerconf-vl.spec @ 9347

Revision 9347, 6.7 KB checked in by inagaki, 9 years ago (diff)

2015-02-10 Ryoichi INAGAKI <ryo1@…>

  • djview, mtpaint, mtpaint-handbook, wmakerconf: updated


Line 
1Name: wmakerconf
2Version: 2.12
3Release: 1%{?_dist_release}
4Summary: Configuration tool for Window Maker
5Summary(ja): Window Maker の設定ツール
6
7License: GPL
8Group: User Interface/Desktops
9Icon: wmakerconf.xpm
10Source: http://downloads.sf.net/%{name}/wmakerconf_%{version}.tar.gz
11Source1: wmakerconf-2.12-ja.po
12Source2: wmakerconf-2.11.data.ja.po
13
14Patch0:         %{name}-2.9.dif
15Patch1:         %{name}-fix-bad-po.patch
16Patch3:         %{name}-2.9-destdir.patch
17Patch4:         %{name}-2.9-config.patch
18Patch5:         %{name}-no-imlib.patch
19Patch7:         %{name}-2.9-varargs.diff
20Patch9:         %{name}-datarootdir.patch
21Patch10:        %{name}-2.12-wmaker-0.95_support.patch
22# PATCH - Fix SUSE: implicit-pointer-decl
23Patch11:        %{name}-implicit-pointer-decl.patch
24
25Buildroot:     %{_tmppath}/%{name}-%{version}-root
26BuildRequires: WindowMaker
27BuildRequires: WindowMaker-devel >= 0.92.0
28BuildRequires: bison
29BuildRequires: gettext
30BuildRequires: gtk2-devel >= 2.4.0
31BuildRequires: libXpm-devel
32BuildRequires: libjpeg-devel
33BuildRequires: libtiff-devel
34BuildRequires: libwebp-devel
35BuildRequires: perl-libwww-perl
36BuildRequires: tar gzip bzip2
37Requires:      WindowMaker
38Obsoletes:     wmakerconf-data
39
40Vendor: Project Vine
41Distribution: Vine Linux
42
43%description
44wmakerconf is a GTK+ based configuration tool for the window manager
45Window Maker. All attributes (including the application menu) can be
46configured by wmakerconf, making it an alternative (or add-on) for the
47built in Window Maker configuration tool WPrefs. Moreover, an easy
48theme installation via WWW is available: a simple drag and drop
49operation from your favorite browser to your wmakerconf themes
50interface will do the job.
51
52%description -l ja
53wmakerconf は, Window Maker の各種設定を行う GTK+ ベースの ツールです.
54フォント設定ブラウザ, pixmapブラウザ, 色選択ダイアログ, ショートカット
55ダイアログ, ファイル選択ダイアログ等を搭載し, Window Makerの全ての属性
56に関して, 容易に設定を行えます. WWW 経由で簡単に新しいテーマのインスト
57ールもできます。好みのブラウザから、ドラッグ・アンド・ドロップでテーマ
58のインストールをしてみてください。
59
60
61%prep
62%setup -q
63%patch0 -p0
64#patch1 -p0
65#patch3 -p0
66#patch4 -p0
67#patch5 -p0
68%patch7 -p0
69%patch9 -p0
70%patch10 -p0
71%patch11 -p0
72
73cp %{SOURCE1} po/ja.po
74cp %{SOURCE2} data/po/ja.po
75
76# instead of patch4
77sed -i -e 's|libwww\.pl|scripts\/libwww\.pl|g' configure
78
79%build
80CFLAGS="$RPM_OPT_FLAGS `pkg-config --cflags gtk+-2.0`"
81CPPFLAGS="$RPM_OPT_FLAGS `pkg-config --cflags gtk+-2.0`"
82NLSDIR=%{_localedir}
83LINGUAS="de es fr it ja"
84GNUSTEP_LOCAL_ROOT='%{_prefix}/lib/GNUstep'
85CPP_PATH=/lib/cpp
86export CFLAGS CPPFLAGS NLSDIR LINGUAS GNUSTEP_LOCAL_ROOT CPP_PATH
87./configure \
88        --prefix=%{_prefix} \
89        --includedir=%{_includedir} \
90        --disable-imlibtest \
91        --with-wmakerdataprefix=%{_datadir} \
92        --with-wmakeretcprefix=%{_sysconfdir}/X11
93
94make %{?_smp_mflags} LDFLAGS="-L%{_libdir}"
95
96
97%install
98rm -rf %{buildroot}
99make \
100        prefix=%{buildroot}%{_prefix} \
101        bindir=%{buildroot}%{_bindir} \
102        mandir=%{buildroot}%{_mandir} \
103        GNOMEDIR=%{buildroot}%{_datadir}/gnome/apps/Setting \
104        install
105
106rm -f %{buildroot}/%{_datadir}/%{name}/{ABOUT-NLS,AUTHORS,COPYING}
107rm -f %{buildroot}/%{_datadir}/%{name}/{ChangeLog,NEWS,NLS-TEAM?,README}
108
109
110%clean
111rm -rf %{buildroot}
112
113
114%files
115%defattr(-,root,root)
116%doc ABOUT-NLS AUTHORS COPYING ChangeLog MANUAL NEWS NLS-TEAM* README TODO
117%{_bindir}/*
118%{_datadir}/%{name}/WMWmakerconf
119%{_datadir}/%{name}/wmaker-version
120%{_datadir}/%{name}/MANUAL
121%{_datadir}/%{name}/*.sh
122%{_datadir}/%{name}/*.pl
123%{_datadir}/%{name}/*.xpm
124%{_localedir}/*/LC_MESSAGES/%{name}-data.*
125%{_localedir}/*/LC_MESSAGES/%{name}.*
126%{_datadir}/applications/%{name}.desktop
127%{_mandir}/man1/*
128
129
130%changelog
131* Mon Feb  9 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.12-1
132- updated to 2.12
133- added Patch0, 7, 9, 10 and 11 from OpenSuSE
134- removed BR: imlib-devel
135- added BR: WindowMaker, WindowMaker-devel, libXpm-devel, libjpeg-devel,
136  libtiff-devel, libwebp-devel and perl-libwww-perl
137
138* Mon Feb 22 2010 Shu KONNO <owa@bg.wakwak.com> 2.11-2
139- rebuilt with new toolchain
140
141* Tue Jun 03 2008 Shu KONNO <owa@bg.wakwak.com> 2.11-1vl5
142- applied new versioning policy and utf-8
143- added BuildRequires: xorg-x11-devel
144
145* Tue Nov 27 2007 Shu KONNO <owa@bg.wakwak.com> wmakerconf-2.11-0vl3
146- changed automake14 to automake19 in %%build section
147- added make script at end of %%build section
148- updated wmakerconf-2.11.data.ja.po
149
150* Sat Feb 25 2006 Shu KONNO <owa@bg.wakwak.com> wmakerconf-2.11-0vl2
151- rebuilt for VineSeed
152
153* Sun Nov 13 2005 Shu KONNO <owa@bg.wakwak.com> wmakerconf-2.11-0vl1
154- updated wmakerconf to 2.11
155- rebuilt with WindowMaker-0.12.0
156
157* Wed Jul 17 2002 Jun Nishii <jun@vinelinux.org>
158- 2.9-0vl1
159- ver.up
160- update ja.po
161
162* Wed Aug 22 2001 Toru Sagami <sagami@vinelinux.org>
163- 2.8.1-0vl1: source is now including Nishii's ja.po
164- move /usr/X11R6 stuff to /usr except /usr/X11R6/bin
165
166* Thu Aug 17 2000 Jun Nishii <jun@vinelinux.org>
167- 2.6.2-0vl1
168- update ja.po
169
170* Fri Jul 21 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
171- added w3m patch
172
173* Wed Apr  5 2000 Jun Nishii <jun@vinelinux.org>
174- updated to 2.6.1
175
176* Mon Apr  3 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
177- updated to 2.6
178- modified ja.po files.
179- removed patches merged.
180
181* Wed Mar 15 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
182- modified data-ja.po
183
184* Wed Jan  5 2000 Jun Nishii <jun@vinelinux.org>
185- change group
186
187* Wed Dec 22 1999 Jun Nishii <jun@vinelinux.org>
188- build for Vine Linux 2.0
189
190* Sun Dec 5 1999 Ullrich Hafner <hafner@bigfoot.de>
191- upgraded to wmakerconf 2.4
192- make the data package part of wmakerconf
193
194* Mon Oct 18 1999 Steve Hamlin <steve@hamlinx.com>
195- upgraded to wmakerconf 2.3
196- applied preview crash patch (and fixed location mistake)
197- added data package back, but now built separately
198- removed libPropList package
199- relocated to /usr/X11R6 from /usr
200
201* Sun Mar 14 1999 Ullrich Hafner <hafner@bigfoot.de>
202- upgraded to wmakerconf 1.8
203- removed data package
204- new NLS structure
205
206* Fri Feb 12 1999 Ullrich Hafner <hafner@bigfoot.de>
207- upgraded to wmakerconf 1.7
208
209* Wed Jan 20 1999 Ullrich Hafner <hafner@bigfoot.de>
210- upgraded to wmakerconf 1.6
211
212* Tue Dec 22 1998 Ullrich Hafner <hafner@bigfoot.de>
213- upgraded to wmakerconf 1.5
214- added prefix
215
216* Thu Nov 19 1998 Ullrich Hafner <hafner@bigfoot.de>
217- upgraded to wmakerconf 1.3
218- updated data files for windowmaker 0.20.2 and above
219- split into wmakerconf and wmakerconf-data package
220
221* Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
222- strip binaries
223- updated data files for windowmaker 0.20 and above
224
225* Fri Sep 18 1998 Cristian Gafton <gafton@redhat.com>
226- packaged for 5.2 to be used with WindowMaker
Note: See TracBrowser for help on using the repository browser.