[521] | 1 | %define po_package gnome-menus |
---|
| 2 | |
---|
| 3 | Summary: A menu system for the GNOME project |
---|
| 4 | Summary(ja): GNOMEプロジェクト用メニューシステム |
---|
| 5 | Name: gnome-menus |
---|
[6011] | 6 | Version: 3.4.0 |
---|
| 7 | Release: 1%{?_dist_release} |
---|
[521] | 8 | License: LGPL |
---|
| 9 | Group: System Environment/Libraries |
---|
| 10 | URL: http://www.gnome.org/ |
---|
[6011] | 11 | Source0: http://ftp.gnome.org/pub/GNOME/sources/gnome-menus/3.4/%{name}-%{version}.tar.xz |
---|
[521] | 12 | |
---|
| 13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | BuildRequires: python-devel, glib2-devel |
---|
| 15 | BuildRequires: gamin-devel |
---|
[2041] | 16 | BuildRequires: gobject-introspection-devel |
---|
[521] | 17 | Requires: python |
---|
| 18 | Requires: pygtk2 |
---|
| 19 | Requires: vine-menus >= 3.0 |
---|
| 20 | |
---|
[4616] | 21 | Vendor: Project Vine |
---|
| 22 | Distribution: Vine Linux |
---|
| 23 | |
---|
[521] | 24 | %description |
---|
| 25 | gnome-menus is an implementation of the draft "Desktop |
---|
| 26 | Menu Specification" from freedesktop.org. This package |
---|
| 27 | also contains the GNOME menu layout configuration files, |
---|
| 28 | .directory files and assorted menu related utility programs. |
---|
| 29 | |
---|
| 30 | %package devel |
---|
| 31 | Summary: Libraries and include files for the GNOME menu system |
---|
| 32 | Group: Development/Libraries |
---|
| 33 | Requires: %{name} = %{version} |
---|
| 34 | Requires: glib2-devel |
---|
| 35 | |
---|
| 36 | %description devel |
---|
| 37 | This package provides the necessary development libraries for |
---|
| 38 | writing applications that use the GNOME menu system. |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | %prep |
---|
| 42 | %setup -q |
---|
| 43 | |
---|
| 44 | %build |
---|
| 45 | %configure --with-monitor-backend=gio \ |
---|
[2041] | 46 | --enable-debug=no \ |
---|
| 47 | --enable-introspection=yes |
---|
[521] | 48 | make |
---|
| 49 | |
---|
| 50 | %install |
---|
| 51 | rm -rf $RPM_BUILD_ROOT |
---|
[2041] | 52 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
[521] | 53 | |
---|
| 54 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.{a,la} |
---|
| 55 | rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.{a,la} |
---|
| 56 | |
---|
| 57 | # remove default xdg menus, we use vine-menus instead. |
---|
| 58 | rm -f $RPM_BUILD_ROOT%{_sysconfdir}/xdg/menus/*.menu |
---|
| 59 | |
---|
[4650] | 60 | %find_lang %{po_package}-3.0 |
---|
[521] | 61 | |
---|
| 62 | |
---|
| 63 | %clean |
---|
| 64 | rm -rf $RPM_BUILD_ROOT |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %post -p /sbin/ldconfig |
---|
| 68 | |
---|
| 69 | %postun -p /sbin/ldconfig |
---|
| 70 | |
---|
| 71 | |
---|
[4650] | 72 | %files -f %{po_package}-3.0.lang |
---|
[521] | 73 | %defattr(-,root,root,-) |
---|
| 74 | %doc |
---|
| 75 | %dir %{_sysconfdir}/xdg |
---|
| 76 | %dir %{_sysconfdir}/xdg/menus |
---|
| 77 | %dir %{_datadir}/desktop-directories |
---|
| 78 | %{_datadir}/desktop-directories/* |
---|
[4650] | 79 | %{_libdir}/libgnome-menu-3.so.* |
---|
[521] | 80 | %{_bindir}/gmenu-simple-editor |
---|
[5701] | 81 | %{python_sitearch}/GMenuSimpleEditor/* |
---|
[4650] | 82 | %{_libdir}/girepository-1.0/*.typelib |
---|
[521] | 83 | #{_datadir}/gnome-menus/glade/gmenu-simple-editor.glade |
---|
| 84 | %{_datadir}/gnome-menus |
---|
| 85 | %{_datadir}/applications/gmenu-simple-editor.desktop |
---|
| 86 | |
---|
| 87 | %files devel |
---|
| 88 | %defattr(-, root, root) |
---|
[4650] | 89 | %{_libdir}/libgnome-menu-3.so |
---|
| 90 | %{_libdir}/pkgconfig/*.pc |
---|
| 91 | %{_includedir}/gnome-menus-3.0 |
---|
| 92 | %{_datadir}/gir-1.0/*.gir |
---|
[521] | 93 | #{_bindir}/gnome-menu-spec-test |
---|
| 94 | |
---|
| 95 | %changelog |
---|
[6011] | 96 | * Sun Apr 01 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1 |
---|
| 97 | - new upstream release |
---|
| 98 | |
---|
[5701] | 99 | * Sun Feb 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0.1-2 |
---|
| 100 | - new upstream release |
---|
| 101 | |
---|
[4850] | 102 | * Wed Sep 28 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0.1-1 |
---|
| 103 | - new upstream release |
---|
| 104 | |
---|
[4812] | 105 | * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1 |
---|
| 106 | - new upstream release |
---|
| 107 | |
---|
[4704] | 108 | * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1 |
---|
| 109 | - new upstream release |
---|
| 110 | |
---|
[4650] | 111 | * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1 |
---|
| 112 | - new upstream release |
---|
| 113 | |
---|
[4616] | 114 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.1-1 |
---|
| 115 | - new upstream release |
---|
| 116 | |
---|
[2219] | 117 | * Sat Nov 20 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.5-1 |
---|
| 118 | - new upstream release |
---|
| 119 | |
---|
[2041] | 120 | * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.4-1 |
---|
| 121 | - new upstream release |
---|
| 122 | - add BuildRequires: gobject-introspection-devel |
---|
| 123 | - add configure option (--enable-introspection=yes) |
---|
| 124 | |
---|
[1883] | 125 | * Thu Sep 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-2 |
---|
| 126 | - rebuild with rpm-4.8.1 for pkg-config file |
---|
| 127 | |
---|
[1443] | 128 | * Sat Jul 24 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1 |
---|
| 129 | - new upstream release |
---|
| 130 | |
---|
[805] | 131 | * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
| 132 | - new upstream release |
---|
| 133 | |
---|
[521] | 134 | * Wed Feb 03 2010 Shu KONNO <owa@bg.wakwak.com> 2.28.0.1-2 |
---|
| 135 | - rebuilt with python-2.6.4 |
---|
| 136 | |
---|
| 137 | * Sat Oct 31 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.0.1-1 |
---|
| 138 | - new upstream release |
---|
| 139 | |
---|
| 140 | * Sat Jul 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1 |
---|
| 141 | - new upstream release |
---|
| 142 | |
---|
| 143 | * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1 |
---|
| 144 | - new upstream release |
---|
| 145 | |
---|
| 146 | * Sat Mar 21 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1 |
---|
| 147 | - new upstream release |
---|
| 148 | - remove static libs |
---|
| 149 | |
---|
| 150 | * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1 |
---|
| 151 | - new upstream release |
---|
| 152 | |
---|
| 153 | * Thu Sep 25 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-2 |
---|
| 154 | - require vine-menus >= 3.0 |
---|
| 155 | |
---|
| 156 | * Tue Sep 23 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1 |
---|
| 157 | - new upstream release |
---|
| 158 | |
---|
| 159 | * Sun Jul 20 2008 Shu KONNO <owa@bg.wakwak.com> 2.22.2-2 |
---|
| 160 | - rebuilt with python-2.5.2 |
---|
| 161 | |
---|
| 162 | * Fri May 30 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.2-1 |
---|
| 163 | - new upstream release |
---|
| 164 | |
---|
| 165 | * Wed Apr 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.1-1vl5 |
---|
| 166 | - new upstream release |
---|
| 167 | |
---|
| 168 | * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5 |
---|
| 169 | - new upstream release |
---|
| 170 | |
---|
| 171 | * Tue Dec 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.2-0vl1 |
---|
| 172 | - new upstream release |
---|
| 173 | |
---|
| 174 | * Thu Apr 26 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.0-0vl1 |
---|
| 175 | - new upstream release |
---|
| 176 | |
---|
| 177 | * Thu Dec 28 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 2.14.3-0vl2 |
---|
| 178 | - add Requires: pygtk2-libglade (required by gmenu-simple-editor) |
---|
| 179 | - add Requires: glib2-devel to gnome-menus-devel package |
---|
| 180 | |
---|
| 181 | * Mon Aug 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.3-0vl1 |
---|
| 182 | - new upstream release |
---|
| 183 | - add BuildRequires: gamin-devel |
---|
| 184 | |
---|
| 185 | * Fri Apr 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1 |
---|
| 186 | - new upstream release |
---|
| 187 | |
---|
| 188 | * Wed Mar 15 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.5-0vl2 |
---|
| 189 | - remove gnome default xdg menus, now we use vine-menus instead. |
---|
| 190 | - add Requires: vine-menus >= 2.0 |
---|
| 191 | |
---|
| 192 | * Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.5-0vl1 |
---|
| 193 | - new upstream release |
---|
| 194 | |
---|
| 195 | * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1 |
---|
| 196 | - new upstream release |
---|
| 197 | |
---|
| 198 | * Wed Aug 03 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.90-0vl1 |
---|
| 199 | - new upstream release |
---|
| 200 | |
---|
| 201 | * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1 |
---|
| 202 | - initial build for Vine Linux |
---|
| 203 | |
---|
| 204 | * Thu Mar 17 2005 Ray Strode <rstrode@redhat.com> - 2.10.0-1 |
---|
| 205 | - Update to upstream version 2.10.0 |
---|
| 206 | |
---|
| 207 | * Fri Mar 4 2005 Jeremy Katz <katzj@redhat.com> - 2.9.90-4 |
---|
| 208 | - fix 64bit pointer problem that caused the panel to crash |
---|
| 209 | |
---|
| 210 | * Wed Mar 2 2005 Mark McLoughlin <markmc@redhat.com> 2.9.90-3 |
---|
| 211 | - Turn off debugging by default |
---|
| 212 | - Rebuild with gcc4 |
---|
| 213 | |
---|
| 214 | * Tue Feb 1 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-2 |
---|
| 215 | - Don't include .directory and .menu files, |
---|
| 216 | we want those from redhat-menus |
---|
| 217 | |
---|
| 218 | * Mon Jan 31 2005 Matthias Clasen <mclasen@redhat.com> - 2.9.90-1 |
---|
| 219 | - Initial build. |
---|
| 220 | |
---|