1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
%define name aethera
%define version 0.9.3
%define release 1_tkc
%define prefix /usr
Name: %{name}
Version: %{version}
Release: %{release}
Summary: Aethera - Email and PIM application for KDE
Prefix: %{prefix}
Group: KDE/PIM
Copyright: GPL
Vendor: theKompany.com
Packager: Eugen C. <eug@thekompany.com>
#Distribution: theKompany.com
Source: %{name}-%{version}.tar.gz
URL: http://www.thekompany.com/projects/aethera/
Buildroot: /var/tmp/%{name}-%{version}-buildroot
Requires: korelib
%description
Aethera is a pim application, i.e. it handles all kinds of personal information:
email, contacts, notes, tasks, todos, journals.
%prep
rm -rf $RPM_BUILD_ROOT
%setup -n %{name}-%{version}
%build
make -f Makefile.cvs
./configure --with-install-root=$RPM_BUILD_ROOT
make
%install
make prefix=$RPM_BUILD_ROOT%{prefix} install
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
%files -f ../file.list.%{name}
|