libqalculate-vl.spec 5.3 KB

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