source: projects/specs/branches/6/lib/libq/libqalculate/libqalculate-vl.spec @ 6208

Revision 6208, 5.2 KB checked in by inagaki, 12 years ago (diff)

update: libcaptury, libfli, libmal, libnova, libotr, libqalculate, libvncserver and pilot-link

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