source: projects/specs/trunk/lib/libq/libqalculate/libqalculate-vl.spec @ 9042

Revision 9042, 5.8 KB checked in by inagaki, 10 years ago (diff)

2014-10-29 Ryoichi INAGAKI <ryo1@…>

  • gd: fixed spec
  • geda-gaf: updated
  • libqalculate, libstroke: rebuilt


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