Initial import of sakura. Review was at

https://bugzilla.redhat.com/show_bug.cgi?id=496166
master
Christoph Wickert 2009-04-21 21:34:18 +00:00
parent a2d2b895b4
commit 638787504c
5 changed files with 111 additions and 0 deletions

View File

@ -0,0 +1 @@
sakura-2.3.3.tar.bz2

1
import.log Normal file
View File

@ -0,0 +1 @@
sakura-2_3_3-2_fc11:HEAD:sakura-2.3.3-2.fc11.src.rpm:1240349497

11
sakura-2.3.3-cflags.patch Normal file
View File

@ -0,0 +1,11 @@
--- sakura-2.3.3.orig/CMakeLists.txt 2009-01-31 09:55:18.000000000 +0100
+++ sakura-2.3.3/CMakeLists.txt 2009-04-19 02:47:59.000000000 +0200
@@ -34,8 +34,6 @@
IF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
SET (CMAKE_C_FLAGS "-Wall")
-ELSE (${CMAKE_BUILD_TYPE} NOT MATCHES "Debug")
- SET (CMAKE_C_FLAGS "-O2")
ENDIF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
INCLUDE_DIRECTORIES (. ${GTK_INCLUDE_DIRS} ${VTE_INCLUDE_DIRS})

97
sakura.spec Normal file
View File

@ -0,0 +1,97 @@
Name: sakura
Version: 2.3.3
Release: 2%{?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 .clags
%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
* Sun Apr 19 2009 Christoph Wickert <cwickert@fedoraproject.org> - 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 <cwickert@fedoraproject.org> - 2.3.3-1
- Update to 2.3.3
* Tue Nov 11 2008 Christoph Wickert <cwickert@fedoraproject.org> - 2.3.2-1
- Update to 2.3.2
* Sat Nov 01 2008 Christoph Wickert <cwickert@fedoraproject.org> - 2.3.1-1
- Update to 2.3.1
* Sun Sep 28 2008 Christoph Wickert <cwickert@fedoraproject.org> - 2.3.0-1
- Update to 2.3.0
* Sun Sep 21 2008 Christoph Wickert <cwickert@fedoraproject.org> - 2.2.1-1
- Update to 2.2.1
- Disable %%check again
* Fri Jun 20 2008 Christoph Wickert <cwickert@fedoraproject.org> - 2.2.0-1
- Update to 2.2.0
- Enable %%check again
* Fri Jun 06 2008 Christoph Wickert <cwickert@fedoraproject.org> - 2.1.2-1
- Update to 2.1.2
- No test configuration, disable %%check temporarily
* Mon May 12 2008 Christoph Wickert <cwickert@fedoraproject.org> - 2.1.0-1
- Update to 2.1.0
* Mon May 05 2008 Christoph Wickert <cwickert@fedoraproject.org> - 2.0.2-1
- Initial Fedora RPM

View File

@ -0,0 +1 @@
53450360b779945402bb33ef4061309d sakura-2.3.3.tar.bz2