[521] | 1 | # Note that this is NOT a relocatable package |
---|
| 2 | %define name libglade |
---|
| 3 | %define ver 0.17 |
---|
[1981] | 4 | %define rel 16%{?_dist_release} |
---|
[521] | 5 | |
---|
| 6 | Summary: libglade library |
---|
| 7 | Summary(ja): libglade ライブラリ |
---|
| 8 | Name: %{name} |
---|
| 9 | Version: %{ver} |
---|
| 10 | Release: %{rel} |
---|
| 11 | License: LGPL |
---|
| 12 | Group: System Environment/Libraries |
---|
| 13 | URL: http://www.gnome.org |
---|
| 14 | Source: ftp://ftp.gnome.org/pub/GNOME/stable/sources/%{name}/%{name}-%{ver}.tar.gz |
---|
| 15 | Patch0: libglade-0.16-fixquote.patch |
---|
| 16 | Patch1: libglade-0.17-gtkdoc.patch |
---|
| 17 | Patch2: libglade-0.17-clist-gettext.patch |
---|
| 18 | |
---|
| 19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 20 | BuildRequires: libxml-devel >= 1.8.16 |
---|
| 21 | BuildRequires: gnome-libs-devel >= 1.4.2-2vl5 |
---|
| 22 | Requires: libxml >= 1.8.16 |
---|
| 23 | Requires: gnome-libs >= 1.4.2-2vl5 |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | This library allows you to load user interfaces in your program, which are |
---|
| 27 | stored externally. This allows alteration of the interface without |
---|
| 28 | recompilation of the program. |
---|
| 29 | |
---|
| 30 | The interfaces can also be edited with GLADE. |
---|
| 31 | |
---|
| 32 | %description -l ja |
---|
| 33 | このライブラリを使うと、外部に格納されたユーザインタフェースを |
---|
| 34 | プログラムに読み込むことができます。これによりプログラムを |
---|
| 35 | 再コンパイルすることなくインタフェースの見た目を変えることが |
---|
| 36 | 可能になります。 |
---|
| 37 | |
---|
| 38 | このインタフェースは GLADE を使って編集することができます。 |
---|
| 39 | |
---|
| 40 | %package devel |
---|
| 41 | Summary: Libraries, includes, etc to develop libglade applications |
---|
| 42 | Summary(ja): libglade アプリケーション開発の為のライブラリ/ヘッダ等 |
---|
| 43 | Group: Development/Libraries |
---|
| 44 | Requires: %{name} = %{version}-%{release} |
---|
| 45 | Requires: libxml-devel >= 1.8.16 |
---|
| 46 | Requires: gnome-libs-devel >= 1.4.2-2vl5 |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %description devel |
---|
| 50 | Libraries, include files, etc you can use to develop libglade applications. |
---|
| 51 | |
---|
| 52 | %description devel -l ja |
---|
| 53 | libglade アプリケーションを開発するのに必要なライブラリ/ヘッダファイル等 |
---|
| 54 | |
---|
| 55 | |
---|
| 56 | %prep |
---|
| 57 | %setup -q |
---|
| 58 | %patch0 -p1 -b .fixquote |
---|
| 59 | %patch1 -p1 -b .gtkdoc |
---|
| 60 | %patch2 -p1 -b .clist-gettext |
---|
| 61 | |
---|
| 62 | %build |
---|
| 63 | autoconf |
---|
| 64 | %configure --without-bonobo --disable-static |
---|
| 65 | make %{?_smp_mflags} |
---|
| 66 | |
---|
| 67 | |
---|
| 68 | %install |
---|
| 69 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 70 | |
---|
| 71 | %makeinstall |
---|
| 72 | |
---|
| 73 | # remove unpackaged files from the buildroot |
---|
| 74 | rm -f $RPM_BUILD_ROOT%{_libdir}/{libglade-gnome.la,libglade.la} |
---|
| 75 | |
---|
| 76 | %clean |
---|
| 77 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 78 | |
---|
| 79 | %post -p /sbin/ldconfig |
---|
| 80 | |
---|
| 81 | %postun -p /sbin/ldconfig |
---|
| 82 | |
---|
| 83 | |
---|
| 84 | %files |
---|
| 85 | %defattr(-, root, root) |
---|
| 86 | %doc AUTHORS ChangeLog NEWS README COPYING |
---|
| 87 | %{_libdir}/lib*.so.* |
---|
| 88 | |
---|
| 89 | %files devel |
---|
| 90 | %defattr(-, root, root) |
---|
| 91 | %{_bindir}/* |
---|
| 92 | %{_libdir}/lib*.so |
---|
| 93 | #{_libdir}/*a |
---|
| 94 | %{_libdir}/*Conf.sh |
---|
| 95 | %{_libdir}/pkgconfig/*.pc |
---|
| 96 | %{_includedir}/* |
---|
| 97 | %{_datadir}/aclocal/* |
---|
| 98 | |
---|
| 99 | %doc test-libglade.c |
---|
| 100 | %doc *.glade |
---|
| 101 | %doc %{_datadir}/gnome/html/libglade/* |
---|
| 102 | |
---|
| 103 | |
---|
| 104 | %changelog |
---|
[1981] | 105 | * Sat Oct 02 2010 Shu KONNO <owa@bg.wakwak.com> 0.17-16 |
---|
| 106 | - rebuilt with rpm-4.8.1 for pkg-config |
---|
| 107 | |
---|
[521] | 108 | * Fri Feb 12 2010 NAKAMURA Kenta <kenta@vinelinux.org> 0.17-15 |
---|
| 109 | - rebuilt with db4-4.8 |
---|
| 110 | |
---|
| 111 | * Sat May 2 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-14 |
---|
| 112 | - rebuilt with gnome-libs-1.4.2-2vl5 (linking db-4.6.21) |
---|
| 113 | - removed lib*.a files |
---|
| 114 | |
---|
| 115 | * Sat Jul 26 2008 Shu KONNO <owa@bg.wakwak.com> 0.17-13vl5 |
---|
| 116 | - applied new versioning policy and spec in utf-8 |
---|
| 117 | |
---|
| 118 | * Sun May 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.17-12vl3 |
---|
| 119 | - rebuilt with db4-4.3.29 |
---|
| 120 | |
---|
| 121 | * Wed Oct 13 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.17-12vl2 |
---|
| 122 | - rebuilt with db4-4.2.52 |
---|
| 123 | |
---|
| 124 | * Wed Jan 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.17-12vl1 |
---|
| 125 | - based on Fedora 0.17-12.2 |
---|
| 126 | * Wed Jun 19 2002 Jeremy Katz <katzj@redhat.com> |
---|
| 127 | - remove .la files |
---|
| 128 | * Tue Apr 16 2002 Havoc Pennington <hp@redhat.com> |
---|
| 129 | - patch from Harald to call gettext on clist column titles, #63338 |
---|
| 130 | * Tue Mar 5 2002 Havoc Pennington <hp@redhat.com> |
---|
| 131 | - install .pc files, #59522 |
---|
| 132 | - fix more prefix/lib->libdir sort of things |
---|
| 133 | - use autoconf-2.52 binary- s/Copyright/License/ |
---|
| 134 | - rebuild with new toolchains |
---|
| 135 | |
---|
| 136 | * Wed Jan 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.17-0vl2 |
---|
| 137 | - rebuilt against gnome-libs-1.4.2-0vl2 (for db1/db4 matters) |
---|
| 138 | |
---|
| 139 | * Tue Dec 18 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.17-0vl1 |
---|
| 140 | - New upstream release. |
---|
| 141 | |
---|
| 142 | * Tue Mar 13 2001 Akira TAGOH <tagoh@gnome.gr.jp> 0.16-0vl1 |
---|
| 143 | - New upstream release. |
---|
| 144 | - Added relative execute for config. |
---|
| 145 | |
---|
| 146 | * Wed Jan 24 2001 Lisa Sagami <czs14350@mb.infoweb.ne.jp> |
---|
| 147 | - corrected Group |
---|
| 148 | |
---|
| 149 | * Wed Sep 06 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
| 150 | - 0.14-0vl1 |
---|
| 151 | - updated to 0.14 |
---|
| 152 | - added Japanese summary and description |
---|
| 153 | |
---|
| 154 | * Sun Nov 1 1998 James Henstridge <james@daa.com.au> |
---|
| 155 | - Updated the dependencies of the devel package, so users must have gtk+-devel. |
---|
| 156 | |
---|
| 157 | * Sun Oct 25 1998 James Henstridge <james@daa.com.au> |
---|
| 158 | - Initial release 0.0.1 |
---|