143 lines
4.6 KiB
Plaintext
143 lines
4.6 KiB
Plaintext
# Review at https://bugzilla.redhat.com/show_bug.cgi?id=496166
|
|
|
|
Name: sakura
|
|
Version: 2.4.2
|
|
Release: 4%{?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.16
|
|
BuildRequires: vte-devel >= 0.26
|
|
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
|
|
%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 \
|
|
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
|
|
${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
|
|
%find_lang %{name}
|
|
# location of the docs is hardcoded, so we remove them
|
|
rm -rf ${RPM_BUILD_ROOT}%{_datadir}/doc/
|
|
|
|
|
|
#%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
|
|
%{_mandir}/man1/%{name}.1.*
|
|
|
|
|
|
%changelog
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.2-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 2.4.2-2
|
|
- Rebuild for new libpng
|
|
|
|
* Sat Jul 30 2011 Christoph Wickert <cwickert@fedoraproject.org> - 2.4.2-1
|
|
- Update tp 2.4.2
|
|
- Fixes #722686, so remove the patch
|
|
|
|
* Sun Jul 17 2011 Christoph Wickert <cwickert@fedoraproject.org> - 2.4.1-3
|
|
- Bring back the cflags patch as actually this is not fixed (#722793)
|
|
|
|
* 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
|
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.8-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Fri Jun 25 2010 Christoph Wickert <cwickert@fedoraproject.org> - 2.3.8-1
|
|
- Update to 2.3.8
|
|
|
|
* Wed Apr 07 2010 Christoph Wickert <cwickert@fedoraproject.org> - 2.3.7-1
|
|
- Update to 2.3.7
|
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.3-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
* Tue Jun 09 2009 Christoph Wickert <cwickert@fedoraproject.org> - 2.3.3-3
|
|
- Rebuilt for libvte SONAME bump
|
|
|
|
* 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
|