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