source: projects/specs/trunk/a/alacarte/alacarte-vl.spec @ 6336

Revision 6336, 7.9 KB checked in by Takemikaduchi, 12 years ago (diff)

fix bug

RevLine 
[521]1%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3Name:           alacarte
[6323]4Version:        0.13.4
[6336]5Release:        2%{?_dist_release}
[521]6Summary:        Menu editor for the GNOME desktop
7Summary(ja):    GNOME デスクトップ用メニューエディタ
8
9Group:          Applications/System
10License:        LGPLv2+
11URL:            http://www.gnome.org
[6336]12
[6323]13Source0:        http://download.gnome.org/sources/alacarte/0.13/%{name}-%{version}.tar.xz
[6336]14
15Patch0:         alacarte-0.13.4-getIcon.patch
16
[521]17BuildRoot:      %{_tmppath}/%{name}-%{version}-root
18BuildArch:      noarch
19
[6323]20BuildRequires:  gettext
21BuildRequires:  python-devel
22BuildRequires:  pygobject3-devel
23BuildRequires:  gnome-menus-devel >= 3.2.0.1
[521]24BuildRequires:  intltool
25BuildRequires:  desktop-file-utils
26
[6323]27Requires:       gnome-menus >= 3.2.0.1
[521]28
29%description
30Alacarte is a graphical menu editor that lets you edit, add, and delete
31menu entries. It follows the freedesktop.org menu specification and
32should work with any desktop environment that uses this specification.
33
34%prep
35%setup -q
[6336]36%patch0 -p1
[521]37
38%build
39%configure
40make
41
42%install
43rm -rf $RPM_BUILD_ROOT
44make install DESTDIR=$RPM_BUILD_ROOT
45
46# desktop-file-install can't manipulate NotShowIn
47sed -i -e 's/NotShowIn=KDE;/OnlyShowIn=GNOME;/' \
48  $RPM_BUILD_ROOT%{_datadir}/applications/alacarte.desktop
49desktop-file-validate \
50  $RPM_BUILD_ROOT%{_datadir}/applications/alacarte.desktop
51
52
53%find_lang %{name}
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%post
59touch --no-create %{_datadir}/icons/hicolor
60if [ -x /usr/bin/gtk-update-icon-cache ]; then
61  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
62fi
63
64%postun
65touch --no-create %{_datadir}/icons/hicolor
66if [ -x /usr/bin/gtk-update-icon-cache ]; then
67  gtk-update-icon-cache -q %{_datadir}/icons/hicolor
68fi
69
70%files -f %{name}.lang
71%defattr(-,root,root,-)
72%doc README AUTHORS COPYING
73%{python_sitelib}/Alacarte
74%{_bindir}/alacarte
75%{_datadir}/applications/alacarte.desktop
76%{_datadir}/alacarte
77%{_datadir}/icons/hicolor/16x16/apps/alacarte.png
78%{_datadir}/icons/hicolor/22x22/apps/alacarte.png
79%{_datadir}/icons/hicolor/24x24/apps/alacarte.png
80%{_datadir}/icons/hicolor/32x32/apps/alacarte.png
81%{_datadir}/icons/hicolor/48x48/apps/alacarte.png
82%{_datadir}/icons/hicolor/256x256/apps/alacarte.png
83
84%changelog
[6336]85* Wed Jun 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.13.4-2
86- add Patch0 (alacarte-0.13.4-getIcon.patch)
87
88* Tue Jun 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.13.4-1
[6323]89- new upstream release
90- remove Patch0
91- remove BuildRequires: pygtk2-devel
92- add BuildRequires: pygobject3-devel
93- remove Requires: pygtk2, gnome-python
94
[2041]95* Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.13.2-1
96- new upstream release
97
[805]98* Sat Apr 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.13.1-1
99- new upstream release
100
[521]101* Sat Nov  7 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.12.4-2
102- initial build for Vine Linux
103
104* Mon Sep 21 2009 Matthias Clasen <mclasen@redhat.com> - 0.12.4-1
105- Update to 0.12.4
106
107* Sat Sep 12 2009 Matthias Clasen <mclasen@redhat.com> - 0.12.3-2
108- Bump the gnome-menus requires
109
110* Tue Sep  8 2009 Matthias Clasen <mclasen@redhat.com> - 0.12.3-1
111- Update to 0.12.3
112
113* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.12.1-2
114- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
115
116* Sat May 16 2009 Matthias Clasen <mclasen@redhat.com> - 0.12.1-1
117- Update to 0.12.1
118
119* Tue Mar 17 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.10-1
120- Update to 0.11.10
121
122* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11.9-3
123- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
124
125* Mon Feb 23 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.9-2
126- Only show in GNOME (#486887)
127
128* Tue Feb 17 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.9-1
129- Update to 0.11.9
130
131* Tue Feb  3 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.8-1
132- Update to 0.11.8
133
134* Tue Jan 20 2009 Matthias Clasen <mclasen@redhat.com> - 0.11.7-1
135- Update to 0.11.7
136
137* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.11.6-6
138- Rebuild for Python 2.6
139
140* Fri Nov 21 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.6-5
141- Tweak %%summary and %%description
142
143* Fri Oct 17 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.6-4
144- Make undoing of deletion work
145
146* Mon Sep 22 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.6-3
147- Update to 0.11.6
148
149* Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.5-1
150- Update to 0.11.5
151
152* Thu Feb 21 2008 Matthias Clasen <mclasen@redhat.com> - 0.11.4-1
153- Update to 0.11.4
154
155* Sun Dec 02 2007 Todd Zullinger <tmz@pobox.com> - 0.11.3-5
156- put the python scripts in sitelib, not sitearch
157- remove autoconf, automake, and intltool BRs
158- don't run autoconf/automake in %%build
159- BR perl(XML::Parser)
160- remove smeg Obsoletes and Provides
161- minor rpmlint cleanups
162
163* Sat Aug 11 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.3-4
164- Fix the build with intltool 0.36
165- Update the license field
166
167* Fri Mar 23 2007 Ray Strode <rstrode@redhat.com> - 0.11.3-3
168- change url to gnome.org (bug 233237)
169
170* Tue Feb 13 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.3-2
171- Update to 0.11.3
172
173* Mon Feb 12 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.2-1.svn20070212
174- Bring back editing of the System menu
175
176* Fri Jan 26 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.1.1-2
177- Fix the Provides: line
178
179* Thu Jan 11 2007 Matthias Clasen <mclasen@redhat.com> - 0.11.1.1-1
180- Update to 0.11.1.1
181
182* Wed Dec 20 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.2-2
183- Update to 0.10.2
184
185* Sat Dec  9 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.1-4
186- try again
187
188* Wed Dec  6 2006 Jeremy Katz <katzj@redhat.com> - 0.10.1-2
189- build against python 2.5
190
191* Sat Oct 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.1-1
192- Update to 0.10.1
193* Mon Sep  4 2006 Matthias Clasen <mclasen@redhat.com> - 0.10.0-1.fc6
194- Update to 0.10.0
195
196* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.9.90-7.fc6
197- Fix more build requires
198
199* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.9.90-3.fc6
200- Add BR for pkgconfig
201
202* Mon Aug 21 2006 Matthias Clasen <mclasen@redhat.com> - 0.9.90-1.fc6
203- Update to 0.9.90
204
205* Thu Aug 17 2006 Ray Strode <rstrode@redhat.com> - 0.8-8
206- initial build for Fedora Core
207
208* Wed Feb 15 2006 John Mahowald <jpmahowald@gmail.com> - 0.8-7
209- Rebuild for Fedora Extras 5
210
211* Fri Feb 3 2006  John Mahowald <jpmahowald@gmail.com> - 0.8-3
212- Fix stray reference to smeg
213- Use python sitearch macro from template
214
215* Sat Oct 29 2005  John Mahowald <jpmahowald@gmail.com> - 0.8-2
216- Rebuild
217
218* Thu Oct 27 2005  John Mahowald <jpmahowald@gmail.com> - 0.8-1
219- rename to alacarte
220- Update to 0.8
221
222* Thu Oct 20 2005  John Mahowald <jpmahowald@gmail.com> - 0.7.5-4
223- remove requires gnome-menus
224
225* Tue Aug 30 2005 John Mahowald <jpmahowald@gmail.com> - 0.7.5-3
226- Move to /usr/share
227
228* Tue Jun 28 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.5-2
229- Desktop-file-utils for kde desktop entry as well as default one.
230
231* Wed Jun 08 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.5-1
232- Rebuilt for 0.7.5
233
234* Sun Jun 06 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.4-1
235- Rebuilt for 0.7.4
236
237* Wed Jun 01 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7.1-1
238- Rebuilt for 0.7.1
239- Smeg now use the stock gnome menu icon, removed pixmaps from %%files
240
241* Wed Jun 01 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7-2
242- Added missing dependency gnome-python2-gconf
243
244* Tue May 31 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.7-1
245- Rebuilt for 0.7
246
247* Mon May 30 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.6.2-2
248- Added desktop-file-utils to Buildrequires
249- Addded desktop-file-utils %%post and %%postun
250
251* Sat May 29 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.6.2-1
252- Rebuilt for 0.6.2
253
254* Mon May 23 2005 Sindre Pedersen Bjordal <foolish[AT]fedoraforum.org> - 0.5-1
255- Initial build
Note: See TracBrowser for help on using the repository browser.