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

Revision 9350, 6.8 KB checked in by inagaki, 9 years ago (diff)

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

  • WindowMaker?, wmakerconf: fixed spec
  • libPropList: split devel files to devel subpackage


Line 
1Name: wmakerconf
2Version: 2.12
3Release: 2%{?_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: perl-libwww-perl
32BuildRequires: xdg-utils
33BuildRequires: tar gzip bzip2
34Requires:      WindowMaker
35Requires:      xdg-utils
36Obsoletes:     wmakerconf-data
37
38Vendor:        Project Vine
39Distribution:  Vine Linux
40
41%description
42wmakerconf is a GTK+ based configuration tool for the window manager
43Window Maker. All attributes (including the application menu) can be
44configured by wmakerconf, making it an alternative (or add-on) for the
45built in Window Maker configuration tool WPrefs. Moreover, an easy
46theme installation via WWW is available: a simple drag and drop
47operation from your favorite browser to your wmakerconf themes
48interface will do the job.
49
50%description -l ja
51wmakerconf は, Window Maker の各種設定を行う GTK+ ベースの ツールです.
52フォント設定ブラウザ, pixmapブラウザ, 色選択ダイアログ, ショートカット
53ダイアログ, ファイル選択ダイアログ等を搭載し, Window Makerの全ての属性
54に関して, 容易に設定を行えます. WWW 経由で簡単に新しいテーマのインスト
55ールもできます。好みのブラウザから、ドラッグ・アンド・ドロップでテーマ
56のインストールをしてみてください。
57
58
59%prep
60%setup -q
61%patch0 -p0
62#patch1 -p0
63#patch3 -p0
64#patch4 -p0
65#patch5 -p0
66%patch7 -p0
67%patch9 -p0
68%patch10 -p0
69%patch11 -p0
70
71cp %{SOURCE1} po/ja.po
72cp %{SOURCE2} data/po/ja.po
73
74# instead of patch4
75sed -i -e 's|libwww\.pl|scripts\/libwww\.pl|g' configure
76
77%build
78CFLAGS="$RPM_OPT_FLAGS `pkg-config --cflags gtk+-2.0`"
79CPPFLAGS="$RPM_OPT_FLAGS `pkg-config --cflags gtk+-2.0`"
80NLSDIR=%{_localedir}
81LINGUAS="de es fr it ja"
82GNUSTEP_LOCAL_ROOT='%{_prefix}/lib/GNUstep'
83CPP_PATH=/lib/cpp
84export CFLAGS CPPFLAGS NLSDIR LINGUAS GNUSTEP_LOCAL_ROOT CPP_PATH
85./configure \
86        --prefix=%{_prefix} \
87        --includedir=%{_includedir} \
88        --disable-imlibtest \
89        --disable-upgrade \
90        --with-webbrowser=xdg-open \
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* Wed Feb 11 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.12-2
132- added BR: xdg-utils, R: xdg-utils
133- removed BR: libXpm-devel. libjpeg-devel, libtiff-devel, libwebp-devel
134
135* Mon Feb  9 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 2.12-1
136- updated to 2.12
137- added Patch0, 7, 9, 10 and 11 from OpenSuSE
138- removed BR: imlib-devel
139- added BR: WindowMaker, WindowMaker-devel, libXpm-devel, libjpeg-devel,
140  libtiff-devel, libwebp-devel and perl-libwww-perl
141
142* Mon Feb 22 2010 Shu KONNO <owa@bg.wakwak.com> 2.11-2
143- rebuilt with new toolchain
144
145* Tue Jun 03 2008 Shu KONNO <owa@bg.wakwak.com> 2.11-1vl5
146- applied new versioning policy and utf-8
147- added BuildRequires: xorg-x11-devel
148
149* Tue Nov 27 2007 Shu KONNO <owa@bg.wakwak.com> wmakerconf-2.11-0vl3
150- changed automake14 to automake19 in %%build section
151- added make script at end of %%build section
152- updated wmakerconf-2.11.data.ja.po
153
154* Sat Feb 25 2006 Shu KONNO <owa@bg.wakwak.com> wmakerconf-2.11-0vl2
155- rebuilt for VineSeed
156
157* Sun Nov 13 2005 Shu KONNO <owa@bg.wakwak.com> wmakerconf-2.11-0vl1
158- updated wmakerconf to 2.11
159- rebuilt with WindowMaker-0.12.0
160
161* Wed Jul 17 2002 Jun Nishii <jun@vinelinux.org>
162- 2.9-0vl1
163- ver.up
164- update ja.po
165
166* Wed Aug 22 2001 Toru Sagami <sagami@vinelinux.org>
167- 2.8.1-0vl1: source is now including Nishii's ja.po
168- move /usr/X11R6 stuff to /usr except /usr/X11R6/bin
169
170* Thu Aug 17 2000 Jun Nishii <jun@vinelinux.org>
171- 2.6.2-0vl1
172- update ja.po
173
174* Fri Jul 21 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
175- added w3m patch
176
177* Wed Apr  5 2000 Jun Nishii <jun@vinelinux.org>
178- updated to 2.6.1
179
180* Mon Apr  3 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
181- updated to 2.6
182- modified ja.po files.
183- removed patches merged.
184
185* Wed Mar 15 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
186- modified data-ja.po
187
188* Wed Jan  5 2000 Jun Nishii <jun@vinelinux.org>
189- change group
190
191* Wed Dec 22 1999 Jun Nishii <jun@vinelinux.org>
192- build for Vine Linux 2.0
193
194* Sun Dec 5 1999 Ullrich Hafner <hafner@bigfoot.de>
195- upgraded to wmakerconf 2.4
196- make the data package part of wmakerconf
197
198* Mon Oct 18 1999 Steve Hamlin <steve@hamlinx.com>
199- upgraded to wmakerconf 2.3
200- applied preview crash patch (and fixed location mistake)
201- added data package back, but now built separately
202- removed libPropList package
203- relocated to /usr/X11R6 from /usr
204
205* Sun Mar 14 1999 Ullrich Hafner <hafner@bigfoot.de>
206- upgraded to wmakerconf 1.8
207- removed data package
208- new NLS structure
209
210* Fri Feb 12 1999 Ullrich Hafner <hafner@bigfoot.de>
211- upgraded to wmakerconf 1.7
212
213* Wed Jan 20 1999 Ullrich Hafner <hafner@bigfoot.de>
214- upgraded to wmakerconf 1.6
215
216* Tue Dec 22 1998 Ullrich Hafner <hafner@bigfoot.de>
217- upgraded to wmakerconf 1.5
218- added prefix
219
220* Thu Nov 19 1998 Ullrich Hafner <hafner@bigfoot.de>
221- upgraded to wmakerconf 1.3
222- updated data files for windowmaker 0.20.2 and above
223- split into wmakerconf and wmakerconf-data package
224
225* Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
226- strip binaries
227- updated data files for windowmaker 0.20 and above
228
229* Fri Sep 18 1998 Cristian Gafton <gafton@redhat.com>
230- packaged for 5.2 to be used with WindowMaker
Note: See TracBrowser for help on using the repository browser.