1 | %define helpdir glade3 |
---|
2 | |
---|
3 | Version: 3.18.3 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | |
---|
6 | Summary: A user interface builder for the GTK+ toolkit and GNOME |
---|
7 | Summary(ja): GTK+ツールキット及びGNOME向けのユーザインターフェースビルダー |
---|
8 | Name: glade3 |
---|
9 | License: GPL |
---|
10 | Group: Applications/Development |
---|
11 | URL: http://glade.gnome.org/ |
---|
12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/glade/3.16/glade-%{version}.tar.xz |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildRequires: gtk3-devel >= 3.0.2 |
---|
16 | BuildRequires: libxml2-devel >= 2.4.0 |
---|
17 | BuildRequires: python-devel |
---|
18 | BuildRequires: pygobject3-devel |
---|
19 | BuildRequires: libSM-devel |
---|
20 | BuildRequires: yelp-tools |
---|
21 | BuildRequires: docbook-style-xsl |
---|
22 | |
---|
23 | Requires: gtk3 >= 3.0.2 |
---|
24 | Requires: libxml2 >= 2.4.0 |
---|
25 | Requires: pygobject3 |
---|
26 | Requires: devhelp |
---|
27 | |
---|
28 | Vendor: Project Vine |
---|
29 | Distribution: Vine Linux |
---|
30 | |
---|
31 | %description |
---|
32 | Glade is a RAD tool to enable quick & easy development of user interfaces |
---|
33 | for the Gtk+ toolkit and the GNOME desktop environment. |
---|
34 | The user interfaces designed in Glade are stored in XML format, |
---|
35 | enabling easy integration with external tools. |
---|
36 | In particular libglade can load the XML files and create the interfaces |
---|
37 | at runtime. The DTD for the XML files is included with libglade, and is |
---|
38 | also at http://glade.gnome.org/glade-2.0.dtd. |
---|
39 | Other tools are available which can turn the XML files into source code |
---|
40 | in languages such as C++, Perl and Python. |
---|
41 | |
---|
42 | %description -l ja |
---|
43 | Gladeは、GTK+ツールキットやGNOME向けのユーザインターフェースを素早く簡単に開 |
---|
44 | 発する事が可能なRADツールです。 |
---|
45 | Gladeでデザインされたユーザインターフェースは外部ツールに用意に統合可能なXML |
---|
46 | フォーマットで保存されます。 |
---|
47 | 特にlibgladeは、XMLファイルを読み込み、ランタイムにインターフェースを生成す |
---|
48 | ることが出来ます。このXMLファイルのDTDは、libgladeに含まれており、 |
---|
49 | http://glade.gnome.org/glade-2.0.dtdにもあります。 |
---|
50 | このXMLファイルをC++、PerlやPythonといった言語のソースコードに変換する他のツー |
---|
51 | ルも利用可能です。 |
---|
52 | |
---|
53 | %package devel |
---|
54 | Summary: the Glade UI Builder core library |
---|
55 | Group: Development/Libraries |
---|
56 | Requires: %{name} = %{version}-%{release} |
---|
57 | |
---|
58 | %description devel |
---|
59 | the Glade UI Builder core library to integrate Glade into your application |
---|
60 | and integrate your custom (GTK+ based) widget toolkit into the Glade |
---|
61 | UI Builder. |
---|
62 | |
---|
63 | %prep |
---|
64 | %setup -q -n glade-%{version} |
---|
65 | pushd src |
---|
66 | ## change gnome help directory |
---|
67 | mv glade-window.c glade-window.c.orig |
---|
68 | sed "s|GLADE_GNOMEHELPDIR, \"glade\"|GLADE_GNOMEHELPDIR, \"%{helpdir}\"|" \ |
---|
69 | glade-window.c.orig > glade-window.c |
---|
70 | popd |
---|
71 | |
---|
72 | |
---|
73 | %build |
---|
74 | %configure --disable-static |
---|
75 | %__make %{_smp_mflags} |
---|
76 | |
---|
77 | |
---|
78 | %install |
---|
79 | rm -rf $RPM_BUILD_ROOT |
---|
80 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
81 | |
---|
82 | rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache |
---|
83 | rm -f $RPM_BUILD_ROOT%{_libdir}/glade/modules/*.la |
---|
84 | rm -f $RPM_BUILD_ROOT%{_libdir}/libgladeui-2.la |
---|
85 | |
---|
86 | %find_lang glade --all-name --with-gnome |
---|
87 | |
---|
88 | %clean |
---|
89 | rm -rf $RPM_BUILD_ROOT |
---|
90 | |
---|
91 | %post |
---|
92 | /sbin/ldconfig |
---|
93 | touch --no-create %{_datadir}/icons/hicolor |
---|
94 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
95 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
96 | fi |
---|
97 | |
---|
98 | %postun |
---|
99 | /sbin/ldconfig |
---|
100 | touch --no-create %{_datadir}/icons/hicolor |
---|
101 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
102 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
103 | fi |
---|
104 | |
---|
105 | %files -f glade.lang |
---|
106 | %defattr(-,root,root) |
---|
107 | %{_bindir}/glade |
---|
108 | %{_bindir}/glade-previewer |
---|
109 | %{_libdir}/libgladeui-2.so.* |
---|
110 | %{_libdir}/glade/modules/*.so |
---|
111 | %{_libdir}/girepository-1.0/Gladeui-2.0.typelib |
---|
112 | %{_datadir}/appdata/glade.appdata.xml |
---|
113 | %{_datadir}/applications/glade.desktop |
---|
114 | %{_datadir}/glade |
---|
115 | %{_datadir}/icons/hicolor/*/apps/glade.png |
---|
116 | %{_mandir}/man1/glade-previewer.1.gz |
---|
117 | %{_mandir}/man1/glade.1.gz |
---|
118 | |
---|
119 | %files devel |
---|
120 | %defattr(-,root,root) |
---|
121 | %{_includedir}/libgladeui-2.0/gladeui/* |
---|
122 | %{_libdir}/pkgconfig/*.pc |
---|
123 | %{_libdir}/libgladeui-2.so |
---|
124 | %{_datadir}/gir-1.0/Gladeui-2.0.gir |
---|
125 | %{_datadir}/gtk-doc/html/gladeui-2 |
---|
126 | |
---|
127 | %changelog |
---|
128 | * Sat May 17 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.3-1 |
---|
129 | - new upstream release |
---|
130 | |
---|
131 | * Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.2-1 |
---|
132 | - new upstream release |
---|
133 | |
---|
134 | * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.1-1 |
---|
135 | - new upstream release |
---|
136 | |
---|
137 | * Tue Dec 24 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.1-1 |
---|
138 | - new upstream release |
---|
139 | |
---|
140 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
141 | - new upstream release |
---|
142 | - add BuildRequires: docbook-style-xsl |
---|
143 | |
---|
144 | * Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1 |
---|
145 | - new upstream release |
---|
146 | |
---|
147 | * Mon Oct 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1 |
---|
148 | - new upstream release |
---|
149 | - add BuildRequires: python-devel, pygobject3-devel |
---|
150 | |
---|
151 | * Sun Sep 30 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1 |
---|
152 | - new upstream release |
---|
153 | - change BuildRequires: yelp-tools instead of gnome-doc-utils |
---|
154 | |
---|
155 | * Sat May 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1 |
---|
156 | - new upstream release |
---|
157 | |
---|
158 | * Wed Apr 18 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
159 | - new upstream release |
---|
160 | |
---|
161 | * Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.2-1 |
---|
162 | - new upstream release |
---|
163 | |
---|
164 | * Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.0-1 |
---|
165 | - new upstream release |
---|
166 | - change BuildRequires: gtk3-devel instead of gtk2-devel |
---|
167 | - delete BuildRequires: libgnomeui-devel, libbonoboui-devel |
---|
168 | |
---|
169 | * Sat Sep 25 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.7-4 |
---|
170 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
171 | - add BuildRequires: libSM-devel |
---|
172 | |
---|
173 | * Fri Nov 06 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.6.7-3 |
---|
174 | - add gnome-doc-utils to BR |
---|
175 | - comment out desktop-file-install |
---|
176 | |
---|
177 | * Tue Nov 03 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.6.7-2 |
---|
178 | - rebuild with gtk2-2.18.2 |
---|
179 | |
---|
180 | * Sat Aug 01 2009 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.6.7-1 |
---|
181 | - new upstream release |
---|
182 | - care ld and icon cache |
---|
183 | - define helpdir |
---|
184 | |
---|
185 | * Sun May 17 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.6.3-1 |
---|
186 | - new upstream release |
---|
187 | - spec in utf-8 (fixed) |
---|
188 | |
---|
189 | * Fri May 01 2009 Shu KONNO <owa@bg.wakwak.com> 3.6.2-2 |
---|
190 | - spec in utf-8 |
---|
191 | |
---|
192 | * Sun Apr 19 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.6.2-1 |
---|
193 | - new upstream release |
---|
194 | |
---|
195 | * Sat Jul 26 2008 Shu KONNO <owa@bg.wakwak.com> 3.5.2-1 |
---|
196 | - new upstream version. |
---|
197 | |
---|
198 | * Tue May 13 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.4.5-1 |
---|
199 | - new upstream version. |
---|
200 | - update Requires. |
---|
201 | - update description. |
---|
202 | |
---|
203 | * Tue May 13 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.4.1-2vl5 |
---|
204 | - use macro for release |
---|
205 | |
---|
206 | * Fri May 09 2008 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.4.1-1vl5 |
---|
207 | - apply new virsioning policy. |
---|
208 | - remove *.la |
---|
209 | |
---|
210 | * Fri Jan 04 2008 Shu KONNO <owa@bg.wakwak.com> 3.4.1-0vl |
---|
211 | - new upstream version |
---|
212 | - added Requires: devhelp |
---|
213 | - added Prereq: scrollkeeper |
---|
214 | - added disable-scrollkeeper to configure |
---|
215 | - added scrollkeeper-update in %%post and %%postun sections |
---|
216 | - changed gnome help directory temporarily |
---|
217 | |
---|
218 | * Sun Dec 17 2006 Yasumichi Akahoshi <yasumichi@vinelinux.org> 3.0.3-0vl |
---|
219 | - build for VineSeed |
---|
220 | |
---|