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