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