avatar
Rosa has added e215dbbb1c
initial: add from SRPM
... ... --- /dev/null
... ... +++ b/.abf.yml
... ... @@ -0,0 +1,2 @@
1
sources:
2
  "libqalculate-0.9.7.tar.bz2": fa96f07f72cd09cb1f608583116bcea5cede4cf9
view file @ e215dbbb1c
... ... --- /dev/null
... ... +++ b/libqalculate.spec
... ... @@ -0,0 +1,235 @@
1
%define bname qalculate
2
%define major 5
3
%define libname %mklibname %{bname} %{major}
4
%define develname %mklibname %{bname} -d
5
6
Summary:	The library for qalculate
7
Name:		libqalculate
8
Version:	0.9.7
9
Release:	%mkrel 8
10
License:	GPLv2+
11
Group:		System/Libraries
12
URL:		http://qalculate.sourceforge.net
13
Source0:	http://downloads.sourceforge.net/project/qalculate/libqalculate/%{name}-%{version}/%{name}-%{version}.tar.bz2
14
BuildRequires:	cln-devel
15
BuildRequires:	libgmp-devel
16
BuildRequires:	libxml2-devel
17
BuildRequires:	perl(XML::Parser)
18
BuildRequires:	libglib2-devel
19
BuildRequires:	readline-devel
20
BuildRequires:	ncurses-devel
21
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
22
23
%description
24
Libraries needed by qalculator.
25
26
%package -n %{libname}
27
Group:		System/Libraries
28
Summary:	The library for qalculate
29
Obsoletes:	%{mklibname %{bname} 3}
30
Requires:	%{name}-data = %{version}-%{release}
31
32
%description -n %{libname}
33
Libraries needed by qalculate.
34
35
%package -n %{develname}
36
Summary:	Development files for %{name}
37
Group:		Development/Other
38
Requires:	%{libname} = %{version}-%{release}
39
Provides:       %{bname}-devel
40
Provides:	%{name}-devel
41
Obsoletes:	%mklibname %{bname} 3 -d
42
43
%description -n %{develname}
44
Headers and development files for %{name}.
45
46
%package data
47
Summary:	Data files for %{name}
48
Group:		System/Libraries
49
Requires:	%{libname} = %{version}-%{release}
50
Conflicts:	%{mklibname %{bname} 4} < 0.9.7-4
51
Conflicts:	%{mklibname %{bname} 5} < 0.9.7-4
52
53
%description data
54
Data files for %{name}.
55
56
%prep
57
%setup -q
58
59
%build
60
%configure2_5x
61
%make
62
63
%install
64
rm -rf %{buildroot}
65
%makeinstall_std
66
67
rm -f %{buildroot}%{_bindir}/*
68
69
%find_lang %{name}
70
71
%if %mdkversion < 200900
72
%post -n %{libname} -p /sbin/ldconfig 
73
%endif
74
75
%if %mdkversion < 200900
76
%postun -n %{libname} -p /sbin/ldconfig 
77
%endif
78
79
%clean
80
rm -rf %{buildroot}
81
82
%files -n %{libname}
83
%defattr(-,root,root)
84
%{_libdir}/*.so.%{major}*
85
86
%files data -f %{name}.lang
87
%defattr(-,root,root)
88
%{_datadir}/qalculate/*.xml
89
90
%files -n %{develname}
91
%defattr(-,root,root)
92
%doc AUTHORS ChangeLog NEWS README* TODO
93
%doc %dir %{_datadir}/qalculate
94
%doc %{_docdir}/%{name}-%{version}
95
%{_includedir}/*
96
%{_libdir}/*.*a
97
%{_libdir}/*.so
98
%{_libdir}/pkgconfig/*.pc
99
100
101
%changelog
102
* Mon May 02 2011 Oden Eriksson <oeriksson@mandriva.com> 0.9.7-8mdv2011.0
103
+ Revision: 661518
104
- mass rebuild
105
106
* Sun Nov 28 2010 Oden Eriksson <oeriksson@mandriva.com> 0.9.7-7mdv2011.0
107
+ Revision: 602598
108
- rebuild
109
110
* Wed Jan 27 2010 Anssi Hannula <anssi@mandriva.org> 0.9.7-6mdv2010.1
111
+ Revision: 496912
112
- fix conflicts against libqalculate4 in data package (reported by
113
  Thierry Vignaud)
114
- remove unneeded conflicts against older version of itself from the
115
  library package
116
117
* Tue Jan 26 2010 Tomasz Pawel Gajc <tpg@mandriva.org> 0.9.7-3mdv2010.1
118
+ Revision: 496825
119
- fix conflicts
120
121
* Mon Jan 25 2010 Tomasz Pawel Gajc <tpg@mandriva.org> 0.9.7-2mdv2010.1
122
+ Revision: 496463
123
- move data files, translations into a separate subpackage
124
- add conflicts on older library
125
126
* Sun Jan 24 2010 Tomasz Pawel Gajc <tpg@mandriva.org> 0.9.7-1mdv2010.1
127
+ Revision: 495575
128
- update to new version 0.9.7
129
- bump major to 5
130
- drop both pacthes as they were merged by upstream
131
132
* Sun Sep 27 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 0.9.6-11mdv2010.0
133
+ Revision: 449885
134
- rebuild for new cln
135
136
* Wed Aug 05 2009 Tomasz Pawel Gajc <tpg@mandriva.org> 0.9.6-10mdv2010.0
137
+ Revision: 410340
138
- rebuild against new cln
139
140
* Sat Jun 28 2008 Oden Eriksson <oeriksson@mandriva.com> 0.9.6-9mdv2009.0
141
+ Revision: 229884
142
- added a gcc43 patch
143
144
  + Thierry Vignaud <tv@mandriva.org>
145
    - rebuild
146
147
  + Pixel <pixel@mandriva.com>
148
    - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers
149
150
* Sat Mar 08 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 0.9.6-7mdv2008.1
151
+ Revision: 182177
152
- Patch0: fix building against latest cln-1.2
153
- add missing buildrequires on readline and ncurses
154
- rebuild for new cln
155
156
  + Thierry Vignaud <tv@mandriva.org>
157
    - rebuild
158
    - fix "foobar is blabla" summary (=> "blabla") so that it looks nice in rpmdrake
159
160
* Thu Jan 24 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 0.9.6-5mdv2008.1
161
+ Revision: 157616
162
- do not package COPYING files
163
- new license policy
164
- new devel policy
165
- move *.xml to library package, bug #36944
166
167
  + Olivier Blin <oblin@mandriva.com>
168
    - restore BuildRoot
169
170
  + Thierry Vignaud <tv@mandriva.org>
171
    - kill re-definition of %%buildroot on Pixel's request
172
173
* Sun Jul 08 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.9.6-3mdv2008.0
174
+ Revision: 49821
175
- obsolete library
176
177
* Sat Jun 23 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.9.6-2mdv2008.0
178
+ Revision: 43510
179
-- obsolete older release
180
181
* Sat Jun 23 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 0.9.6-1mdv2008.0
182
+ Revision: 43493
183
- adjust buildrequires
184
- new version
185
- new devel library policy
186
- spec file clean
187
188
189
* Tue Jun 27 2006 Charles A Edwards <eslrahc@mandriva.org> 0.9.4-1mdv2007.0
190
- now a totally modular pkg
191
- 0.9.4
192
- update filelist
193
194
* Fri Dec 02 2005 Thierry Vignaud <tvignaud@mandriva.com> 0.7.2-2mdk
195
- rebuild for new cln
196
- patch 0: fix compiling with g++-4
197
198
* Tue Feb 01 2005 Lenny Cartier <lenny@mandrakesoft.com> 0.7.2-1mdk
199
- 0.7.2
200
201
* Sat Jan 22 2005 Per yvind Karlsen <peroyvind@linux-mandrake.com> 0.7.1-4mdk
202
- rebuild for new readline
203
204
* Thu Jan 06 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 0.7.1-3mdk 
205
- Rebuild with latest howl
206
207
* Thu Dec 02 2004 Abel Cheung <deaddog@mandrake.org> 0.7.1-2mdk
208
- Fix BuildRequires
209
- Run scrollkeeper during post/postun
210
211
* Mon Nov 22 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.7.1-1mdk
212
- 0.7.1
213
214
* Tue Oct 19 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.7.0-1mdk
215
- 0.7.0
216
217
* Wed Jul 21 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.6.2-1mdk
218
- 0.6.2
219
220
* Fri Jul 09 2004 Austin Acton <austin@mandrake.org> 0.6.1-1mdk
221
- 0.6.1
222
- configure 2.5
223
224
* Fri Jun 25 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.6-1mdk
225
- 0.6
226
227
* Wed Feb 18 2004 Austin Acton <austin@mandrake.org> 0.4-1mdk
228
- 0.4
229
230
* Mon Oct 27 2003 Austin Acton <aacton@yorku.ca> 0.3.1-1mdk
231
- 0.3.1
232
233
* Wed Oct 22 2003 Austin Acton <aacton@yorku.ca> 0.3-1mdk
234
- initial package
235

Comments