LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File krep.spec of Package krep (Project KDE:KDE3)

# spec file for package krep (Version 0.82)
# Copyright 2008 Carlos Goncalves <cgoncalves@opensuse.org>
# Copyright 2009 Buschmann <buschmann23@opensuse.org>
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# norootforbuild

Name:         krep
License:      GPL
Group:        Productivity/File utilities
Summary:      File Viewer With Content Filter
Version:      0.82
Release:      1
URL:          http://www.staerk.de/thorsten/index.php/Krep
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Source0:      %name-%{version}.tar.bz2
Source1:      %{name}.desktop

BuildRequires:       kdelibs3-devel ncurses-devel
BuildRequires:       update-desktop-files

A file viewer that lets you filter the file's content.
If you do not give a file, standard input is shown.
If the given file changes, krep reloads it.

    Thorsten Staerk <kde@staerk.de>

%setup -q -n %{name}-%{version}
. /etc/opt/kde3/common_options
cp %{S:1} $RPM_BUILD_DIR/%{name}-%{version}/src/%{name}.desktop

. /etc/opt/kde3/common_options
./configure $configkde --disable-final
make %{?jobs:-j%jobs}

for FILE in COPYING; do
    MD5SUM=$(md5sum $FILE | sed 's/ .*//')
    if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
        ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE

%suse_update_desktop_file %name

%find_lang %name


%files -f %name.lang

%changelog -n %{name}
* Tue Aug 10 2010 Ilya Chernykh
- fixing for Factory
* Sun Mar 08 2009 Buschmann <buschmann23@opensuse.org> 0.82
- recompress source tarball with bzip2
- fixing desktop file
- use debug_package only outside the Build Service, which has its
  own mechansisms
* Sat Feb 2 2008 - Carlos Gonçalves <mail@cgoncalves.info> 0.82
- initial release