Remove unnecessary files

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/108/head
Michele Calgaro 4 months ago
parent 1ef9742d3d
commit 48f60c7db3
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1,41 +0,0 @@
%define distversion %( perl -e 'Creating /home/nikoz/Projects/libtext2path/libtext2path.spec...=\<\>;/(\d+)\.(\d)\.?(\d)?/; print "".(||0)' /etc/*-release)
Name: libtext2path
Summary: libtext2path -- Some description
Version: 0.1
Release: %{_vendor}_%{distversion}
Copyright: GPL
Group: X11/KDE/Utilities
Source: ftp://ftp.kde.org/pub/kde/unstable/apps/utils/%{name}-%{version}.tar.gz
Packager: Nikolas Zimmermann <wildfox@kde.org>
BuildRoot: /tmp/%{name}-%{version}
Prefix: /usr/kde/cvs
%description
A long description
%prep
rm -rf $RPM_BUILD_ROOT
%setup -n %{name}-%{version}
CFLAGS="" CXXFLAGS="" ./configure --disable-debug --enable-final --prefix=%{prefix}
%build
# Setup for parallel builds
numprocs=1
if [ "" = "0" ]; then
numprocs=1
fi
make -j
%install
make install-strip DESTDIR=$RPM_BUILD_ROOT
cd
find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > /%{name}-master.list
find . -type f -o -type l | sed 's|^\.||' >> $RPM_BUILD_DIR/%{name}-master.list
%clean
rm -rf $RPM_BUILD_DIR/%{name}-%{version}
rm -rf $RPM_BUILD_DIR/-master.list
%files -f $RPM_BUILD_DIR/%{name}-master.list

@ -1,69 +0,0 @@
%define version 0.8.5
%define release 1
%define serial 1
%define prefix /opt/trinity
Name: kuickshow
Summary: KuickShow -- A very fast image viewer/browser
Version: %{version}
Release: %{release}
Serial: %{serial}
Source: http://devel-home.kde.org/~pfeiffer/kuickshow/kuickshow-%{version}.tar.gz
URL: http://devel-home.kde.org/~pfeiffer/kuickshow/
Copyright: GPL
Packager: Carsten Pfeiffer <pfeiffer@kde.org>
Group: X11/KDE/Graphics
BuildRoot: /tmp/kuickshow-%{version}-root
Prefix: %{prefix}
%description
KuickShow is a very fast image viewer, that lets you easily
browse large galleries. A builtin filebrowser and manager
is also available. Usage is somewhat inspired by ACDSee.
It supports many fileformats, e.g. jpeg, gif, png, psd, bmp,
tiff, xpm, xbm, xcf, eim, ...
KuickShow has a nice user interface, that allows you to browse large amounts
of images in a short time. It can zoom, mirror, rotate images, adjust
brightness, contrast and gamma and can do a slideshow, of course.
It is fully configurable through dialogs.
Besides that, it offers a nice filebrowser with basic filemanager capabilities
like renaming, deleting, creating directories, ...
Install with '--prefix $TDEDIR' unless you have the tde-config program.
%prep
rm -rf $RPM_BUILD_ROOT
%setup -n kuickshow-%{version}
%build
PREFIX=""
which tde-config || PREFIX=%{prefix}
if test -z "$PREFIX"; then
PREFIX=`tde-config --prefix`
fi
export TDEDIR="$PREFIX"
CXXFLAGS="$RPM_OPT_FLAGS -fno-exceptions -pipe" LDFLAGS=-s ./configure --prefix="$PREFIX" --enable-final --disable-debug
mkdir -p $RPM_BUILD_ROOT
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
cd $RPM_BUILD_ROOT
find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' > $RPM_BUILD_DIR/file.list.%{name}
find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name}
find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' >> $RPM_BUILD_DIR/file.list.%{name}
%clean
rm -rf $RPM_BUILD_ROOT
rm -f $RPM_BUILD_DIR/file.list.%{name}
%files -f ../file.list.%{name}
Loading…
Cancel
Save