source: projects/specs/trunk/g/glade3/glade3-vl.spec @ 12396

Revision 12396, 7.1 KB checked in by tomop, 4 years ago (diff)

updated 15 packages

devhelp-3.36.2-1

gitg-3.32.1-

glade3-3.22.2-1

glib-networking-2.64.2-1

gnome-builder-3.36.0-1

gspell-1.8.3-1

gtk3-3.24.20-1

gtkspell3-3.0.10-2

json-glib-1.4.4-2

libdazzle-3.36.0-1

libepoxy-1.5.4-1

libgee-0.20.3-1

libpeas-1.26.0-1

pango-1.44.7-1

vte3-0.60.2-1

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