[9399] | 1 | %global minorversion 0.4 |
---|
[3253] | 2 | |
---|
| 3 | Name: garcon |
---|
| 4 | Summary: Implementation of the freedesktop.org menu specification |
---|
[9399] | 5 | Summary(ja): freedesktop.org メニュー仕様の実装 |
---|
| 6 | Version: 0.4.0 |
---|
| 7 | Release: 1%{?_dist_release} |
---|
[3253] | 8 | |
---|
| 9 | Group: System Environment/Libraries |
---|
| 10 | # garcon's source code is licensed under the LGPLv2+, |
---|
| 11 | # while its documentation is licensed under the GFDL 1.1 |
---|
| 12 | License: LGPLv2+ and GFDL |
---|
| 13 | URL: http://xfce.org/ |
---|
| 14 | |
---|
[3945] | 15 | Source0: http://archive.xfce.org/src/xfce/%{name}/%{minorversion}/%{name}-%{version}.tar.bz2 |
---|
[9399] | 16 | Patch0: garcon-0.2.0-redhat-menus.patch |
---|
[3253] | 17 | |
---|
| 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
[9399] | 19 | BuildRequires: glib2-devel >= 2.30.0 |
---|
| 20 | BuildRequires: gtk2-devel >= 2.24.0 |
---|
| 21 | BuildRequires: gtk-doc >= 1.0 |
---|
[3253] | 22 | BuildRequires: gettext |
---|
| 23 | BuildRequires: intltool |
---|
[9399] | 24 | BuildRequires: libxfce4util-devel >= 4.10.0 |
---|
| 25 | BuildRequires: libxfce4ui-devel >= 4.10.0 |
---|
| 26 | Requires: vine-menus |
---|
[3253] | 27 | #Requires: redhat-menus |
---|
| 28 | |
---|
[9399] | 29 | Obsoletes: libxfce4menu < 4.6.3 |
---|
[3253] | 30 | # because of %%{_datadir}/desktop-directories/xfce-* |
---|
| 31 | Conflicts: xfdesktop <= 4.6.2 |
---|
| 32 | |
---|
[9399] | 33 | Vendor: Project Vine |
---|
| 34 | Distribution: Vine Linux |
---|
[8068] | 35 | |
---|
[3253] | 36 | %description |
---|
| 37 | Garcon is an implementation of the freedesktop.org menu specification replacing |
---|
| 38 | the former Xfce menu library libxfce4menu. It is based on GLib/GIO only and |
---|
| 39 | aims at covering the entire specification except for legacy menus. |
---|
| 40 | |
---|
| 41 | %package devel |
---|
| 42 | Summary: Development files for %{name} |
---|
[9399] | 43 | Summary(ja): %{name} の開発用ファイル |
---|
[3253] | 44 | Group: Development/Libraries |
---|
| 45 | Requires: %{name} = %{version}-%{release} |
---|
| 46 | Requires: pkgconfig |
---|
| 47 | # FIXME not yet in place |
---|
[9399] | 48 | Obsoletes: libxfce4menu-devel < 4.6.2 |
---|
[3253] | 49 | |
---|
| 50 | %description devel |
---|
| 51 | The %{name}-devel package contains libraries and header files for |
---|
| 52 | developing applications that use %{name}. |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | %prep |
---|
| 56 | %setup -q |
---|
| 57 | #patch0 -p1 -b.redhat-menus |
---|
| 58 | |
---|
| 59 | %build |
---|
| 60 | %configure --disable-static --enable-gtk-doc |
---|
| 61 | make %{?_smp_mflags} V=1 |
---|
| 62 | |
---|
| 63 | |
---|
| 64 | %install |
---|
| 65 | rm -rf $RPM_BUILD_ROOT |
---|
| 66 | make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' |
---|
| 67 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' |
---|
| 68 | %find_lang %{name} |
---|
| 69 | |
---|
[9399] | 70 | # ad-hoc fix |
---|
| 71 | chmod +x $RPM_BUILD_ROOT%{_libdir}/lib*.so.* |
---|
| 72 | |
---|
| 73 | |
---|
[3253] | 74 | %clean |
---|
| 75 | rm -rf $RPM_BUILD_ROOT |
---|
| 76 | |
---|
| 77 | |
---|
| 78 | %post -p /sbin/ldconfig |
---|
| 79 | |
---|
| 80 | %postun -p /sbin/ldconfig |
---|
| 81 | |
---|
[9399] | 82 | %posttrans |
---|
| 83 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
[3253] | 84 | |
---|
[9399] | 85 | |
---|
[3253] | 86 | %files -f %{name}.lang |
---|
| 87 | %defattr(-,root,root,-) |
---|
| 88 | %doc AUTHORS ChangeLog COPYING NEWS README |
---|
| 89 | %config(noreplace) %{_sysconfdir}/xdg/menus/xfce-applications.menu |
---|
| 90 | %{_libdir}/*.so.* |
---|
| 91 | %{_datadir}/desktop-directories/xfce-*.directory |
---|
| 92 | |
---|
| 93 | %files devel |
---|
| 94 | %defattr(-,root,root,-) |
---|
| 95 | %doc HACKING STATUS TODO |
---|
| 96 | %{_includedir}/* |
---|
| 97 | %{_libdir}/*.so |
---|
| 98 | %{_libdir}/pkgconfig/*.pc |
---|
| 99 | %doc %{_datadir}/gtk-doc/ |
---|
| 100 | |
---|
| 101 | %changelog |
---|
[9399] | 102 | * Sun Mar 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.4.0-1 |
---|
| 103 | - new upstrem release |
---|
| 104 | - added BR: libxfce4ui-devel |
---|
| 105 | |
---|
[8068] | 106 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.2.0-2 |
---|
| 107 | - rebuild with VineSeed environment |
---|
| 108 | |
---|
[6284] | 109 | * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.2.0-1 |
---|
| 110 | - new upstrem release |
---|
| 111 | - add BuildRequires: libxfce4util-devel |
---|
| 112 | |
---|
[3945] | 113 | * Mon May 23 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.7-1 |
---|
| 114 | - new upstrem release |
---|
| 115 | |
---|
[3253] | 116 | * Tue Mar 29 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.5-4 |
---|
| 117 | - Initial build for Vine Linux |
---|
| 118 | |
---|
| 119 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.5-3 |
---|
| 120 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
| 121 | |
---|
| 122 | * Mon Jan 17 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.5-2 |
---|
| 123 | - Include rebased redhat-menus.patch |
---|
| 124 | |
---|
| 125 | * Sun Jan 16 2011 Kevin Fenzi <kevin@tummy.com> - 0.1.5-1 |
---|
| 126 | - Update to 0.1.5 |
---|
| 127 | |
---|
| 128 | * Sun Dec 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.4-1 |
---|
| 129 | - Update to 0.1.4 |
---|
| 130 | |
---|
| 131 | * Sat Dec 04 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.3-2 |
---|
| 132 | - Add patch to use redhat-menus |
---|
| 133 | |
---|
| 134 | * Mon Nov 08 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.3-1 |
---|
| 135 | - Update to 0.1.2 |
---|
| 136 | |
---|
| 137 | * Wed Nov 03 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.2-1 |
---|
| 138 | - Update to 0.1.2 |
---|
| 139 | |
---|
| 140 | * Thu Oct 07 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.1-2 |
---|
| 141 | - Drop dependency on gtk-doc (#604352) |
---|
| 142 | |
---|
| 143 | * Fri Feb 26 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.1-1 |
---|
| 144 | - Update to 0.1.1 |
---|
| 145 | |
---|
| 146 | * Tue Jan 12 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-2 |
---|
| 147 | - Build gtk-doc |
---|
| 148 | |
---|
| 149 | * Tue Jan 05 2010 Christoph Wickert <cwickert@fedoraproject.org> - 0.1.0-1 |
---|
| 150 | - Initial spec file |
---|