Update to 3.1.0

master
Christoph Wickert 2013-06-25 11:27:38 +02:00
parent 8fd98f5142
commit 4a01d4c61a
4 changed files with 16 additions and 35 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ sakura-2.3.8.tar.bz2
/sakura-2.4.1.tar.bz2 /sakura-2.4.1.tar.bz2
/sakura-2.4.2.tar.bz2 /sakura-2.4.2.tar.bz2
/sakura-3.0.4.tar.bz2 /sakura-3.0.4.tar.bz2
/sakura-3.1.0.tar.bz2

View File

@ -1,16 +0,0 @@
=== modified file 'CMakeLists.txt'
--- CMakeLists.txt 2012-04-30 15:07:58 +0000
+++ CMakeLists.txt 2012-10-02 01:29:32 +0000
@@ -36,9 +36,9 @@
ADD_DEFINITIONS (-DBUILDTYPE=\\\"${CMAKE_BUILD_TYPE}\\\")
IF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
- SET (CMAKE_C_FLAGS "-Wall ")
+ SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
ELSE (${CMAKE_BUILD_TYPE} NOT MATCHES "Debug")
- SET (CMAKE_C_FLAGS "-O2 -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED")
+ SET (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2 -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED")
ENDIF (${CMAKE_BUILD_TYPE} MATCHES "Debug")
INCLUDE_DIRECTORIES (. ${GTK_INCLUDE_DIRS} ${VTE_INCLUDE_DIRS})

View File

@ -1,18 +1,14 @@
# Review at https://bugzilla.redhat.com/show_bug.cgi?id=496166 # Review at https://bugzilla.redhat.com/show_bug.cgi?id=496166
Name: sakura Name: sakura
Version: 3.0.4 Version: 3.1.0
Release: 3%{?dist} Release: 1%{?dist}
Summary: Terminal emulator based on GTK and VTE Summary: Terminal emulator based on GTK and VTE
Group: User Interface/X Group: User Interface/X
License: GPLv2 License: GPLv2
URL: https://launchpad.net/sakura URL: https://launchpad.net/sakura
Source0: https://launchpad.net/sakura/trunk/%{version}/+download/sakura-%{version}.tar.bz2 Source0: https://launchpad.net/sakura/trunk/%{version}/+download/sakura-%{version}.tar.bz2
# Fedora bug: https://bugzilla.redhat.com/861451
# Upstream bug: https://bugs.launchpad.net/sakura/+bug/1058717
# Upstream fix: http://bazaar.launchpad.net/~dabisu/sakura/sakura/revision/425
Patch0: sakura-3.0.4-honor-cflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: pkgconfig(glib-2.0) >= 2.20 BuildRequires: pkgconfig(glib-2.0) >= 2.20
@ -28,9 +24,6 @@ have a decent terminal emulator.
%prep %prep
%setup -q %setup -q
%patch0 -p0 -b .cflags
# dirty hack as cmake files no longer honor CMAKE_C_FLAGS
#sed -i 's|CMAKE_C_FLAGS ".*"|CMAKE_C_FLAGS "%{optflags}"|g' CMakeLists.txt
%build %build
@ -40,16 +33,16 @@ make VERBOSE=1 %{?_smp_mflags}
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=%{buildroot}
desktop-file-install \ desktop-file-install \
--delete-original \ --delete-original \
--remove-category=Utility \ --remove-category=Utility \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ --dir=%{buildroot}%{_datadir}/applications \
${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop
%find_lang %{name} %find_lang %{name}
# location of the docs is hardcoded, so we remove them # location of the docs is hardcoded, so we remove them
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/doc/ rm -rf %{buildroot}%{_datadir}/doc/
#%check #%check
@ -57,7 +50,7 @@ rm -rf ${RPM_BUILD_ROOT}%{_datadir}/doc/
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
%files -f %{name}.lang %files -f %{name}.lang
@ -70,6 +63,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Tue Jun 25 2013 Christoph Wickert <cwickert@fedoraproject.org> - 3.1.0-1
- Update to 3.1.0
* Mon Feb 19 2013 Christoph Wickert <cwickert@fedoraproject.org> - 3.0.4-3 * Mon Feb 19 2013 Christoph Wickert <cwickert@fedoraproject.org> - 3.0.4-3
- Use upsteam patch instead of hack to fix #861451 - Use upsteam patch instead of hack to fix #861451
- BR /usr/bin/pod2man for manpage generation - BR /usr/bin/pod2man for manpage generation

View File

@ -1 +1 @@
1e27cd500f090784544ff9ab3fca9cf6 sakura-3.0.4.tar.bz2 3c4404df2757fd34d57ad00094126433 sakura-3.1.0.tar.bz2