1 | Summary: Multi-purpose calculator library |
---|
2 | Name: libqalculate |
---|
3 | Version: 0.9.6 |
---|
4 | Release: 9%{?_dist_release} |
---|
5 | License: GPLv2+ |
---|
6 | Group: System Environment/Libraries |
---|
7 | URL: http://qalculate.sourceforge.net/ |
---|
8 | Source0: http://dl.sf.net/sourceforge/qalculate/%{name}-%{version}.tar.gz |
---|
9 | Patch0: libqalculate-gcc43.patch |
---|
10 | Patch1: libqalculate-cln12.patch |
---|
11 | Patch2: libqalculate-0.9.6-pkgconfig_private.patch |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | BuildRequires: glib2-devel, cln-devel |
---|
14 | BuildRequires: libxml2-devel |
---|
15 | BuildRequires: readline-devel, ncurses-devel |
---|
16 | BuildRequires: perl-XML-Parser, gettext |
---|
17 | BuildRequires: intltool, libtool, automake, autoconf |
---|
18 | |
---|
19 | %description |
---|
20 | This library underpins the Qalculate! multi-purpose desktop calculator for |
---|
21 | GNU/Linux |
---|
22 | |
---|
23 | %package devel |
---|
24 | Summary: Development tools for the Qalculate calculator library |
---|
25 | Group: Development/Libraries |
---|
26 | Requires: %{name} = %{version}-%{release} |
---|
27 | Requires: glib2-devel, libxml2-devel, cln-devel |
---|
28 | |
---|
29 | %description devel |
---|
30 | The libqalculate-devel package contains the header files needed for development |
---|
31 | with libqalculate. |
---|
32 | |
---|
33 | %package -n qalculate |
---|
34 | Summary: Multi-purpose calculator, text mode interface |
---|
35 | Group: Applications/Engineering |
---|
36 | Requires: %{name} = %{version}-%{release} |
---|
37 | Requires: pkgconfig |
---|
38 | |
---|
39 | %description -n qalculate |
---|
40 | Qalculate! is a multi-purpose desktop calculator for GNU/Linux. It is |
---|
41 | small and simple to use but with much power and versatility underneath. |
---|
42 | Features include customizable functions, units, arbitrary precision, plotting. |
---|
43 | This package provides the text-mode interface for Qalculate! The GTK and QT |
---|
44 | frontends are provided by qalculate-gtk and qalculate-kde packages resp. |
---|
45 | |
---|
46 | %prep |
---|
47 | %setup -q |
---|
48 | #patch0 -p0 -b .gcc43 |
---|
49 | %patch1 -p0 -b .cln |
---|
50 | %patch2 -p1 -b .pkgconfig_private |
---|
51 | |
---|
52 | intltoolize --copy --force --automake |
---|
53 | libtoolize --force --copy |
---|
54 | aclocal |
---|
55 | autoheader |
---|
56 | automake |
---|
57 | autoconf |
---|
58 | |
---|
59 | %build |
---|
60 | %configure --disable-static |
---|
61 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool |
---|
62 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool |
---|
63 | make %{?_smp_mflags} |
---|
64 | |
---|
65 | %install |
---|
66 | rm -rf %{buildroot} |
---|
67 | make DESTDIR=%{buildroot} install |
---|
68 | %find_lang %{name} |
---|
69 | rm -f %{buildroot}/%{_libdir}/*.la |
---|
70 | |
---|
71 | %clean |
---|
72 | rm -rf %{buildroot} |
---|
73 | |
---|
74 | %post -p /sbin/ldconfig |
---|
75 | |
---|
76 | %postun -p /sbin/ldconfig |
---|
77 | |
---|
78 | %files -f %{name}.lang |
---|
79 | %defattr(-,root,root,-) |
---|
80 | %doc AUTHORS ChangeLog COPYING TODO |
---|
81 | %{_libdir}/libqalculate.so.* |
---|
82 | %{_datadir}/qalculate/ |
---|
83 | |
---|
84 | %files devel |
---|
85 | %defattr(-,root,root,-) |
---|
86 | %{_libdir}/libqalculate.so |
---|
87 | %{_libdir}/pkgconfig/libqalculate.pc |
---|
88 | %{_includedir}/libqalculate/ |
---|
89 | |
---|
90 | %files -n qalculate |
---|
91 | %defattr(-,root,root,-) |
---|
92 | %{_bindir}/qalc |
---|
93 | |
---|
94 | %changelog |
---|
95 | * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.6-9 |
---|
96 | - Initial build for Vine Linux |
---|
97 | |
---|
98 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.6-8 |
---|
99 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
100 | |
---|
101 | * Mon Jul 06 2009 Rex Dieter <rdieter@fedoraproject.org> 0.9.6-7 |
---|
102 | - move auto*foo to prep stage |
---|
103 | - trim pkg-config-related deps (#509840) |
---|
104 | |
---|
105 | * Sun Jul 05 2009 Deji Akingunola <dakingun@gmail.com> - 0.9.6-6 |
---|
106 | - Rebuild for cln-1.3.0 |
---|
107 | |
---|
108 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.6-5 |
---|
109 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
110 | |
---|
111 | * Wed Feb 27 2008 Deji Akingunola <dakingun@gmail.com> - 0.9.6-4 |
---|
112 | - Rebuild (with patch) for cln-1.2 |
---|
113 | |
---|
114 | * Sun Feb 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.9.6-3 |
---|
115 | - Rebuild for gcc43 |
---|
116 | |
---|
117 | * Sat Aug 25 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.6-2 |
---|
118 | - Rebuild |
---|
119 | |
---|
120 | * Fri Aug 03 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.6-2 |
---|
121 | - License tag update |
---|
122 | |
---|
123 | * Sun Jul 01 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.6-1 |
---|
124 | - Update to new release |
---|
125 | |
---|
126 | * Tue Jan 02 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.5-1 |
---|
127 | - New release |
---|
128 | |
---|
129 | * Mon Aug 28 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.4-4 |
---|
130 | - Rebuild for FC6 |
---|
131 | |
---|
132 | * Thu Jun 28 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.4-3 |
---|
133 | - Arbitrarily bump the release field to fix broken update path |
---|
134 | |
---|
135 | * Wed Jun 27 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.4-1 |
---|
136 | - New version 0.9.4 |
---|
137 | |
---|
138 | * Tue Apr 30 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.3-2 |
---|
139 | - More BRs from Paul Howarth (#193481) |
---|
140 | |
---|
141 | * Thu Mar 30 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.3-1 |
---|
142 | - Update to newer version |
---|
143 | |
---|
144 | * Mon Feb 13 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.2-2 |
---|
145 | - Rebuild for Fedora Extras 5 |
---|
146 | |
---|
147 | * Tue Dec 27 2005 Deji Akingunola <dakingun@gmail.com> - 0.9.2-1 |
---|
148 | - Upgrade to new version |
---|
149 | |
---|
150 | * Sat Nov 05 2005 Deji Akingunola <dakingun@gmail.com> - 0.9.0-1 |
---|
151 | - Upgrade to new version |
---|
152 | |
---|
153 | * Mon Oct 17 2005 Deji Akingunola <deji.aking@gmail.com> - 0.8.2-3 |
---|
154 | - Add patch to allow build with cln-1.1.10 |
---|
155 | |
---|
156 | * Mon Oct 17 2005 Deji Akingunola <deji.aking@gmail.com> - 0.8.2-2 |
---|
157 | - Bump the release tag to make even with FC-4 and FC-3 branches |
---|
158 | |
---|
159 | * Tue Oct 11 2005 Paul Howarth <paul@city-fan.org> - 0.8.2-1 |
---|
160 | - Split off separate qalculate subpackage |
---|
161 | - Update to 0.8.2 |
---|
162 | |
---|
163 | * Mon Oct 10 2005 Paul Howarth <paul@city-fan.org> - 0.8.1.2-2 |
---|
164 | - Don't include static libraries |
---|
165 | - Include license text |
---|
166 | - Don't include README, which only contains a URL |
---|
167 | - Include AUTHORS & TODO |
---|
168 | - Remove redundant manual dependencies |
---|
169 | - Split off separate devel subpackage |
---|
170 | - Be more explicit in %%files list |
---|
171 | - Add %%post and %%postun scripts to run ldconfig |
---|
172 | - Use DESTDIR with make instead of %%makeinstall |
---|
173 | - Add buildreqs readline-devel and ncurses-devel |
---|
174 | |
---|
175 | * Wed Oct 05 2005 Deji Akingunola <deji.aking@gmail.com> - 0.8.1.2-1 |
---|
176 | - Initial package |
---|