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