|
Lukas Zapletal |
6751532 |
Name: loook
|
|
Lukas Zapletal |
6751532 |
Version: 0.6.7
|
|
Lukas Zapletal |
0881382 |
Release: 5%{?dist}
|
|
Lukas Zapletal |
6751532 |
Summary: OpenOffice.org document search tool
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
Group: Applications/Text
|
|
Lukas Zapletal |
6751532 |
License: GPLv2+
|
|
Lukas Zapletal |
6751532 |
URL: http://www.danielnaber.de/loook/
|
|
Lukas Zapletal |
6751532 |
Source0: http://www.danielnaber.de/loook/%{name}-%{version}.zip
|
|
Lukas Zapletal |
6751532 |
Source1: %{name}.desktop
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
Patch0: %{name}-python3-env.patch
|
|
Lukas Zapletal |
6751532 |
Patch1: %{name}-manpage.patch
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
BuildArch: noarch
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
Requires: python3-tkinter
|
|
Lukas Zapletal |
6751532 |
Requires: hicolor-icon-theme
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
0881382 |
BuildRequires: python3-devel
|
|
Lukas Zapletal |
0881382 |
BuildRequires: desktop-file-utils
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
%description
|
|
Lukas Zapletal |
6751532 |
Loook is a simple Python tool that searches for text strings in OpenOffice.org
|
|
Lukas Zapletal |
6751532 |
(and StarOffice 6.0 or later) files. It works under Linux, Windows and
|
|
Lukas Zapletal |
6751532 |
Macintosh. AND, OR and phrase searches are supported. It doesn't create an
|
|
Lukas Zapletal |
6751532 |
index, but searching should be fast enough unless you have really many files.
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
%prep
|
|
Lukas Zapletal |
6751532 |
%setup -q -c
|
|
Lukas Zapletal |
6751532 |
%patch0 -p1
|
|
Lukas Zapletal |
6751532 |
%patch1 -p1
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
%build
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
%install
|
|
Lukas Zapletal |
6751532 |
%{__rm} -rf $RPM_BUILD_ROOT
|
|
Lukas Zapletal |
6751532 |
install -Dpm 0755 %{name}.py $RPM_BUILD_ROOT%{python3_sitelib}/%{name}/%{name}.py
|
|
Lukas Zapletal |
6751532 |
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
Lukas Zapletal |
6751532 |
ln -s %{python3_sitelib}/%{name}/%{name}.py $RPM_BUILD_ROOT%{_bindir}/%{name}
|
|
Lukas Zapletal |
6751532 |
install -Dpm 0644 %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
%clean
|
|
Lukas Zapletal |
6751532 |
%{__rm} -rf $RPM_BUILD_ROOT
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
%files
|
|
Lukas Zapletal |
6751532 |
%defattr(-,root,root,-)
|
|
Lukas Zapletal |
6751532 |
%doc COPYING
|
|
Lukas Zapletal |
6751532 |
%{python3_sitelib}/%{name}/
|
|
Lukas Zapletal |
6751532 |
%{_mandir}/man1/%{name}.1*
|
|
Lukas Zapletal |
6751532 |
%{_bindir}/%{name}
|
|
Lukas Zapletal |
6751532 |
%{_datadir}/applications/%{name}.desktop
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
|
|
Lukas Zapletal |
6751532 |
%changelog
|
|
Lukas Zapletal |
0881382 |
* Thu Nov 25 2010 Lukas Zapletal <lzap+rpm@redhat.com> - 0.6.7-5
|
|
Lukas Zapletal |
0881382 |
- adding missing build require desktop-file-utils
|
|
Lukas Zapletal |
6751532 |
* Thu Nov 11 2010 Lukas Zapletal <lzap+rpm@redhat.com> - 0.6.7-4
|
|
Lukas Zapletal |
6751532 |
- Fixing issues reported by Hans de Goede
|
|
Lukas Zapletal |
6751532 |
- Desktop icon properly added
|
|
Lukas Zapletal |
6751532 |
* Thu Nov 11 2010 Lukas Zapletal <lzap+rpm@redhat.com> - 0.6.7-3
|
|
Lukas Zapletal |
6751532 |
- Fixing issues reported by Thomas Spura
|
|
Lukas Zapletal |
6751532 |
* Thu Nov 04 2010 Lukas Zapletal <lzap+rpm@redhat.com> - 0.6.7-2
|
|
Lukas Zapletal |
6751532 |
- Fixing issues reported by Thomas Spura
|
|
Lukas Zapletal |
6751532 |
* Thu Nov 04 2010 Lukas Zapletal <lzap+rpm@redhat.com> - 0.6.7-1
|
|
Lukas Zapletal |
6751532 |
- Initial package
|