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