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