libqalculate-vl.spec 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. Summary: Multi-purpose calculator library
  2. Summary(ja): 多目的電卓ライブラリ
  3. Name: libqalculate
  4. Version: 0.9.7
  5. Release: 4%{?_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. * Sun Mar 22 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.9.7-4
  80. - rebuilt with readline 6.3
  81. * Wed Oct 29 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.9.7-3
  82. - added Japanese summary
  83. - added Patch1 from fc
  84. - moved API documents to devel package
  85. * Mon May 21 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.7-2
  86. - rebuild with rpm-4.8.1-3
  87. * Thu Sep 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.7-1
  88. - new upstream release
  89. - built with rpm-4.8.1
  90. * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.6-9
  91. - Initial build for Vine Linux
  92. * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.6-8
  93. - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
  94. * Mon Jul 06 2009 Rex Dieter <rdieter@fedoraproject.org> 0.9.6-7
  95. - move auto*foo to prep stage
  96. - trim pkg-config-related deps (#509840)
  97. * Sun Jul 05 2009 Deji Akingunola <dakingun@gmail.com> - 0.9.6-6
  98. - Rebuild for cln-1.3.0
  99. * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.6-5
  100. - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
  101. * Wed Feb 27 2008 Deji Akingunola <dakingun@gmail.com> - 0.9.6-4
  102. - Rebuild (with patch) for cln-1.2
  103. * Sun Feb 10 2008 Deji Akingunola <dakingun@gmail.com> - 0.9.6-3
  104. - Rebuild for gcc43
  105. * Sat Aug 25 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.6-2
  106. - Rebuild
  107. * Fri Aug 03 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.6-2
  108. - License tag update
  109. * Sun Jul 01 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.6-1
  110. - Update to new release
  111. * Tue Jan 02 2007 Deji Akingunola <dakingun@gmail.com> - 0.9.5-1
  112. - New release
  113. * Mon Aug 28 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.4-4
  114. - Rebuild for FC6
  115. * Thu Jun 28 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.4-3
  116. - Arbitrarily bump the release field to fix broken update path
  117. * Wed Jun 27 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.4-1
  118. - New version 0.9.4
  119. * Tue Apr 30 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.3-2
  120. - More BRs from Paul Howarth (#193481)
  121. * Thu Mar 30 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.3-1
  122. - Update to newer version
  123. * Mon Feb 13 2006 Deji Akingunola <dakingun@gmail.com> - 0.9.2-2
  124. - Rebuild for Fedora Extras 5
  125. * Tue Dec 27 2005 Deji Akingunola <dakingun@gmail.com> - 0.9.2-1
  126. - Upgrade to new version
  127. * Sat Nov 05 2005 Deji Akingunola <dakingun@gmail.com> - 0.9.0-1
  128. - Upgrade to new version
  129. * Mon Oct 17 2005 Deji Akingunola <deji.aking@gmail.com> - 0.8.2-3
  130. - Add patch to allow build with cln-1.1.10
  131. * Mon Oct 17 2005 Deji Akingunola <deji.aking@gmail.com> - 0.8.2-2
  132. - Bump the release tag to make even with FC-4 and FC-3 branches
  133. * Tue Oct 11 2005 Paul Howarth <paul@city-fan.org> - 0.8.2-1
  134. - Split off separate qalculate subpackage
  135. - Update to 0.8.2
  136. * Mon Oct 10 2005 Paul Howarth <paul@city-fan.org> - 0.8.1.2-2
  137. - Don't include static libraries
  138. - Include license text
  139. - Don't include README, which only contains a URL
  140. - Include AUTHORS & TODO
  141. - Remove redundant manual dependencies
  142. - Split off separate devel subpackage
  143. - Be more explicit in %%files list
  144. - Add %%post and %%postun scripts to run ldconfig
  145. - Use DESTDIR with make instead of %%makeinstall
  146. - Add buildreqs readline-devel and ncurses-devel
  147. * Wed Oct 05 2005 Deji Akingunola <deji.aking@gmail.com> - 0.8.1.2-1
  148. - Initial package