libqalculate-vl.spec 5.8 KB

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