~ubuntu-branches/ubuntu/hardy/f-spot/hardy-proposed

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
Summary:     F-Spot
Name:        f-spot
Version:     0.3.0
Release:     1
License:     GPL
Group:       Applications/Imaging
Source:      f-spot-%{version}.tar.gz
BuildRoot:   /var/tmp/%{name}-root
BuildPrereq: mono
Prefix:	     /opt/gnome

%description
An application to organize your photographs.

%prep
%setup -q

%build
./configure --prefix=%{_prefix} \
	--localstatedir=/var/lib \
	--datadir=%{_prefix}/share
make

%install
rm -rf $RPM_BUILD_ROOT
MAKE=${MAKE:-make}
DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"}
case "${RPM_COMMAND:-all}" in
install|all)
        make install DESTDIR=${DESTDIR}
        ;;
esac

%clean
rm -rf $RPM_BUILD_ROOT

%post

%files
%defattr(-,root,root)
%doc COPYING README
%{_lib}/f-spot/*
%{_prefix}/bin/f-spot

%changelog
* Thu Aug 27 2004 Nat Friedman <nat@novell.com>
- initial packaging of 0.0.2