libqalculate-vl.spec 6.0 KB

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