[521] | 1 | %define ver 0.6.4 |
---|
[5648] | 2 | %define rel 13%{?_dist_release} |
---|
[521] | 3 | |
---|
| 4 | Summary: Gtk+ GUI builder |
---|
| 5 | Summary(ja): Gtk+ GUI ビルダ |
---|
| 6 | Name: glade |
---|
| 7 | Version: %{ver} |
---|
| 8 | Release: %{rel} |
---|
| 9 | License: GPL |
---|
| 10 | Group: Applications/Development |
---|
| 11 | URL: http://glade.gnome.org/ |
---|
| 12 | |
---|
| 13 | Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.6/%{name}-%{ver}.tar.gz |
---|
| 14 | Patch: glade-scrollkeeper-dtd.patch |
---|
| 15 | |
---|
| 16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 17 | BuildRequires: gnome-libs-devel >= 1.4.2-2vl5 |
---|
| 18 | BuildRequires: gtk+-devel >= 1.2 |
---|
| 19 | BuildRequires: bonobo-devel >= 0.27 |
---|
| 20 | BuildRequires: gnome-print-devel >= 0.37-2vl5 |
---|
[5648] | 21 | BuildRequires: libSM-devel |
---|
| 22 | BuildRequires: libxml-devel |
---|
| 23 | BuildRequires: popt-devel |
---|
| 24 | BuildRequires: oaf-devel |
---|
[521] | 25 | BuildRequires: desktop-file-utils, scrollkeeper |
---|
[5648] | 26 | Requires(pre): scrollkeeper |
---|
[521] | 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. It also contains |
---|
| 34 | built-in support for generating the C source code needed to recreate the |
---|
| 35 | interfaces. |
---|
| 36 | |
---|
| 37 | %description -l ja |
---|
| 38 | Glade は Gtk+ ツールキットおよび Gnome デスクトップ環境での |
---|
| 39 | ユーザインタフェースを、簡単に素早く作るための RAD ツールです。 |
---|
| 40 | C、C++、Perl、Python 向けのソースコードを作れます。 |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | %prep |
---|
| 44 | %setup -q |
---|
| 45 | %patch -p0 -b .scrollkeeper-dtd |
---|
| 46 | |
---|
| 47 | %build |
---|
| 48 | %configure --with-bonobo |
---|
| 49 | |
---|
| 50 | make %{?_smp_mflags} PACKAGE_PIXMAPS_DIR=%{_datadir}/pixmaps/glade |
---|
| 51 | |
---|
| 52 | tar czf examples.tgz examples |
---|
| 53 | mv doc/*.txt ./ |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %install |
---|
| 57 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 58 | %makeinstall PACKAGE_PIXMAPS_DIR=$RPM_BUILD_ROOT%{_datadir}/pixmaps/glade |
---|
| 59 | |
---|
| 60 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications |
---|
| 61 | desktop-file-install --vendor net --delete-original \ |
---|
| 62 | --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
| 63 | --add-category X-Red-Hat-Extra \ |
---|
| 64 | --add-category Application \ |
---|
| 65 | --add-category Development \ |
---|
| 66 | $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Development/glade.desktop |
---|
| 67 | |
---|
| 68 | perl -pi -e 's/GTK+/GTK+ 1.2/' $RPM_BUILD_ROOT%{_datadir}/applications/net-glade.desktop |
---|
| 69 | |
---|
| 70 | %find_lang %{name} |
---|
| 71 | |
---|
| 72 | rm -rf $RPM_BUILD_ROOT%{_localstatedir}/{scrollkeeper,lib/scrollkeeper} |
---|
| 73 | |
---|
| 74 | %clean |
---|
| 75 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 76 | |
---|
| 77 | %post |
---|
| 78 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
| 79 | |
---|
| 80 | %postun |
---|
| 81 | scrollkeeper-update > /dev/null 2>&1 || : |
---|
| 82 | |
---|
| 83 | |
---|
| 84 | %files -f %{name}.lang |
---|
| 85 | %defattr(-, root, root) |
---|
| 86 | %doc AUTHORS COPYING ChangeLog INSTALL README NEWS TODO |
---|
| 87 | %doc examples.tgz *.txt |
---|
| 88 | %{_bindir}/glade |
---|
| 89 | %{_datadir}/applications |
---|
| 90 | %{_datadir}/glade |
---|
| 91 | %{_datadir}/gnome/help/glade |
---|
| 92 | %{_datadir}/omf/glade |
---|
| 93 | %{_datadir}/pixmaps/* |
---|
| 94 | |
---|
| 95 | |
---|
| 96 | %changelog |
---|
[5648] | 97 | * Tue Feb 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6.4-13 |
---|
| 98 | - rebuild with Vine6 environment |
---|
| 99 | - add BuildRequires: libSM-devel, libxml-devel, popt-devel, oaf-devel |
---|
| 100 | |
---|
[521] | 101 | * Sat May 2 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.4-12 |
---|
| 102 | - rebuilt with gnome-libs-1.4.2-2vl5 (linking with db-4.6.21) |
---|
| 103 | - spec in UTF-8 |
---|
| 104 | |
---|
| 105 | * Sat Jul 26 2008 Shu KONNO <owa@bg.wakwak.com> 0.6.4-11vl5 |
---|
| 106 | - applied new versioning policy |
---|
| 107 | |
---|
| 108 | * Sat Dec 16 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.4-10vl3 |
---|
| 109 | - added BuildRequires: gnome-print-devel |
---|
| 110 | - added Prereq: scrollkeeper |
---|
| 111 | - changed Group to Applications/Development |
---|
| 112 | |
---|
| 113 | * Sat Nov 6 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.6.4-10vl2 |
---|
| 114 | - rebuilt with db4-4.2.52 |
---|
| 115 | |
---|
| 116 | * Sun Jan 25 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.6.4-10vl1 |
---|
| 117 | - rebuild with new toolchains |
---|
| 118 | - based on Fedora 0.6.4-10 |
---|
| 119 | - remove Requires: gnome-db and BuildPreReq: gnome-db-devel |
---|
| 120 | - add BuildPreReq: desktop-file-utils |
---|
| 121 | - modified spec file to add %post and %postun section |
---|
| 122 | - s/Copyright/License/ |
---|
| 123 | |
---|
| 124 | * Thu Mar 28 2002 Jun Nishii <jun@vinelinux.org> 0.6.4-0vl2 |
---|
| 125 | - added Prereq: scrollkeeper |
---|
| 126 | |
---|
| 127 | * Thu Mar 07 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.6.4-0vl1 |
---|
| 128 | - updated to new upstream release |
---|
| 129 | |
---|
| 130 | * Wed May 09 2001 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
| 131 | - 0.6.2-0vl1 |
---|
| 132 | - New upstream release. |
---|
| 133 | |
---|
| 134 | * Wed Mar 28 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.6.1-0vl1 |
---|
| 135 | - New upstream release. |
---|
| 136 | |
---|
| 137 | * Tue Mar 6 2001 Shoji Matsumoto <shom@vinelinux.org> 0.5.11-0vl1 |
---|
| 138 | - created |
---|
| 139 | |
---|