forked from galculator/galculator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgalculator.spec.in
50 lines (40 loc) · 1.17 KB
/
galculator.spec.in
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
49
50
Summary: GTK 2 based scientific calculator
Name: @PACKAGE@
Version: @VERSION@
Release: 1
License: GPL
Group: Application/Math
Source: http://prdownloads.sourceforge.net/galculator/galculator-@[email protected]
Packager: Victor Soroka <[email protected]>
BuildRoot: /var/tmp/%{name}-%{version}-root
BuildRequires: gtk2-devel >= 3.0.0
%description
galculator is a GTK 2 / GTK 3 based scientific calculator with "ordinary" and reverse polish notation.
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS"
%configure
%install
rm -rf $RPM_BUILD_ROOT
make -k DESTDIR=$RPM_BUILD_ROOT prefix=%{_prefix} install
strip -s $RPM_BUILD_ROOT%{_bindir}/galculator
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc %attr(0644, root, root) AUTHORS ChangeLog NEWS README COPYING TODO
%{_bindir}/galculator
%{_datadir}/applications/galculator.desktop
%{_datadir}/galculator/ui/*
%{_datadir}/icons/*
%{_datadir}/locale/*
%{_datadir}/pixmaps/*
%{_mandir}/man1/%{name}.1*
%changelog
* Sat Nov 15 2003 Simon Flöry <[email protected]>
- applied patch by Filippo
* Thu Oct 3 2002 Simon Flöry <[email protected]>
- description update