]> git.pld-linux.org Git - packages/gnumeric.git/blame - gnumeric.spec
- added -q %setup parameter,
[packages/gnumeric.git] / gnumeric.spec
CommitLineData
03a201fb 1Summary: The GNOME spreadsheet
2Name: gnumeric
3Version: 0.3
4Release: 2
5Copyright: GPL
6Group: Applications/Spreadsheets
7Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}-%{version}.tar.gz
8URL: http://www.gnome.org/gnumeric
9Requires: gnome-libs >= 0.30
10BuildRoot: /tmp/%{name}-%{version}-root
11
12%description
13GNOME based spreadsheet.
14
15%prep
16%setup -q
17
18%build
19CFLAGS="$RPM_OPT_FLAGS" ./configure \
20 --prefix=/usr/X11R6
21make
22
23%install
24rm -rf $RPM_BUILD_ROOT
25install -d $RPM_BUILD_ROOT/usr/X11R6/share/apps/Productivity
26
27make prefix=$RPM_BUILD_ROOT/usr/X11R6 install
28
29install gnumeric.desktop $RPM_BUILD_ROOT/usr/X11R6/share/apps/Productivity
30
31strip $RPM_BUILD_ROOT/usr/X11R6/{bin/*,lib/gnumeric/plugins/lib*so.*.*}
32
33%clean
34rm -rf $RPM_BUILD_ROOT
35
36%files
37%defattr(644, root, root, 755)
38%doc AUTHORS ChangeLog NEWS README TODO
39%attr(755, root, root) /usr/X11R6/bin/*
40/usr/X11R6/lib/gnumeric
41/usr/X11R6/share/apps/Productivity/*
42/usr/X11R6/share/gnumeric
43
44%lang(es) /usr/X11R6/share/locale/es*/LC_MESSAGES/gnumeric.mo
45%lang(fr) /usr/X11R6/share/locale/fr/LC_MESSAGES/gnumeric.mo
46%lang(hu) /usr/X11R6/share/locale/hu/LC_MESSAGES/gnumeric.mo
47%lang(it) /usr/X11R6/share/locale/it/LC_MESSAGES/gnumeric.mo
48%lang(ko) /usr/X11R6/share/locale/ko/LC_MESSAGES/gnumeric.mo
49%lang(pt) /usr/X11R6/share/locale/pt/LC_MESSAGES/gnumeric.mo
50
51%changelog
52