Remove RPM-specific spec file

pull/1/head
Timothy Pearson 12 years ago
parent 490b871b5f
commit 5e5604034a

@ -1,43 +0,0 @@
%define version 0.10
%define name knowit
%define release 1
Name: %{name}
Version: %{version}
Release: %{release}
Packager: Michal Rudolf
Source: %{name}-%{version}.tar.bz2
BuildRoot: /tmp/build-%{name}-%{version}-%{release}
Copyright: GPL
Group: X11/KDE/Utilities
Summary: knowledge management program for KDE
%description
KnowIt is a simple tool for managing notes. It is similar to
TuxCards, but KDE-based. Notes are organized in tree-like hierarchy,
texts are in RichText format, so bold, italic and lists are supported,
with more to come.
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS -DNO_DEBUG" \
./configure --prefix=$TDEDIR --with-install-root=$RPM_BUILD_ROOT # --enable-final
make
%install
make prefix=$RPM_BUILD_ROOT$TDEDIR install-strip
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 -rf $RPM_BUILD_DIR/%{name}-%{version}
rm -f $RPM_BUILD_DIR/file.list.%{name}
%files -f ../file.list.%{name}
Loading…
Cancel
Save