Fix crash in (#722686)

Remove cflags patch, fixed upstream
Remove sed hack for pod2man now that it does understand the -u option
Remove fix for the icon in the desktop file as it's now upstream, too
master
Christoph Wickert 2011-07-16 21:28:43 +02:00
parent 05f53dee47
commit 7c018f453e
3 changed files with 17 additions and 10 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
sakura-2.3.8.tar.bz2
/sakura-2.4.0.tar.bz2
/sakura-2.4.1.tar.bz2

View File

@ -1,15 +1,17 @@
# Review at https://bugzilla.redhat.com/show_bug.cgi?id=496166
Name: sakura
Version: 2.4.0
Release: 1%{?dist}
Version: 2.4.1
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
# Patch0 taken from http://bazaar.launchpad.net/~dabisu/sakura/sakura/diff/353
# fixes https://bugs.launchpad.net/sakura/+bug/811525
Patch0: sakura-2.4.1-Destroy-config-file-after-deleting-tabs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gtk2-devel >= 2.16
@ -24,11 +26,7 @@ have a decent terminal emulator.
%prep
%setup -q
# pod2man doesn't understand the --utf8 option
sed -i 's!${POD2MAN} -u!${POD2MAN}!' CMakeLists.txt
# fix desktop file (icon is svg instead of png)
sed -i 's!terminal-tango.png!terminal-tango!' sakura.desktop
%patch0 -p1 -b .cflags
%patch0 -p0 -b .destroy-config-file
%build
@ -43,7 +41,6 @@ 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}
@ -69,6 +66,15 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Sat Jul 16 2011 Christoph Wickert <cwickert@fedoraproject.org> - 2.4.1-2
- Fix crash in (#722686)
- Remove cflags patch, fixed upstream
- Remove sed hack for pod2man now that it does understand the -u option
- Remove fix for the icon in the desktop file as it's now upstream, too
* Sat Jul 16 2011 Christoph Wickert <cwickert@fedoraproject.org> - 2.4.1-1
- Update to 2.4.1 (fixes #713822)
* Sat Feb 12 2011 Christoph Wickert <cwickert@fedoraproject.org> - 2.4.0-1
- Update to 2.4.0

View File

@ -1 +1 @@
ebc9ac2d0559c11863ed957557e95fef sakura-2.4.0.tar.bz2
71644561dea46047dd2bc0c8d8bae823 sakura-2.4.1.tar.bz2