Name: sakura Version: 2.3.3 Release: 3%{?dist} Summary: Terminal emulator based on GTK and VTE Group: User Interface/X License: GPLv2 URL: http://pleyades.net/david/sakura.php Source0: http://pleyades.net/david/projects/sakura/sakura-%{version}.tar.bz2 Patch0: sakura-2.3.3-cflags.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gtk2-devel >= 2.14 BuildRequires: vte-devel >= 0.16.15 BuildRequires: cmake desktop-file-utils gettext %description Sakura is a terminal emulator based on GTK and VTE. It's a terminal emulator with few dependencies, so you don't need a full GNOME desktop installed to have a decent terminal emulator. %prep %setup -q # fix desktop file (icon is svg instead of png) sed -i 's!terminal-tango.png!terminal-tango!' sakura.desktop %patch0 -p1 -b .cflags %build find . -type f -name CMakeCache.txt -exec rm -rf {} \; %cmake CMAKE_C_FLAGS=%{optflags} . make VERBOSE=1 %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT desktop-file-install \ --delete-original \ --remove-category=Utility \ --add-category=System \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop %find_lang %{name} #%check #ctest . %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS GPL INSTALL %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/terminal-tango.svg %changelog * Tue Jun 09 2009 Christoph Wickert - 2.3.3-3 - Rebuilt for libvte SONAME bump * Sun Apr 19 2009 Christoph Wickert - 2.3.3-2 - Add patch to honor RPM_OPT_FLAGS - Include INSTALL in %%doc since it contains some valuable information * Sat Apr 11 2009 Christoph Wickert - 2.3.3-1 - Update to 2.3.3 * Tue Nov 11 2008 Christoph Wickert - 2.3.2-1 - Update to 2.3.2 * Sat Nov 01 2008 Christoph Wickert - 2.3.1-1 - Update to 2.3.1 * Sun Sep 28 2008 Christoph Wickert - 2.3.0-1 - Update to 2.3.0 * Sun Sep 21 2008 Christoph Wickert - 2.2.1-1 - Update to 2.2.1 - Disable %%check again * Fri Jun 20 2008 Christoph Wickert - 2.2.0-1 - Update to 2.2.0 - Enable %%check again * Fri Jun 06 2008 Christoph Wickert - 2.1.2-1 - Update to 2.1.2 - No test configuration, disable %%check temporarily * Mon May 12 2008 Christoph Wickert - 2.1.0-1 - Update to 2.1.0 * Mon May 05 2008 Christoph Wickert - 2.0.2-1 - Initial Fedora RPM