summaryrefslogtreecommitdiffstats
path: root/kivio/kivio.spec
blob: 09cc47a83251cf1fb0e72f225476ebd6ec05405d (plain)
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 kivio
%define version 0.9.1
%define release 2tkc
%define prefix /usr/local

Name: %{name}
Version: %{version}
Release: %{release}
Summary: Kivio - Powerful Flowchart Program for KDE 2
Prefix: %{prefix}
Group: KDE/Office
Copyright: GPL
Vendor: theKompany.com
Packager: Catalin Climov <xxl@thekompany.com>
#Distribution: theKompany.com
Source: %{name}-%{version}.tar.gz
URL: http://www.thekompany.com/projects/kivio/
Buildroot: /var/tmp/%{name}-%{version}-buildroot

%description
Kivio on the surface is your everyday flowcharting program.
Underneath this skin, however, lies much more. Kivio will offer basic
 flowcharting abilities, but with a twist. Objects are scriptable, and
 a backend plugin system will offer the ability to make objects do just
 about anything.

%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}