]> git.pld-linux.org Git - packages/libofx.git/blob - libofx.spec
55c5ec4fc061046e6f3956025d3e79deb19b821e
[packages/libofx.git] / libofx.spec
1 Summary:        LibOFX library that allows applications to support OFX command responses
2 Summary(pl):    Biblioteka LibOFX pozwalaj±ca aplikacjom obs³ugiwaæ odpowiedzi na polecenia OFX
3 Name:           libofx
4 Version:        0.6.6
5 Release:        1
6 License:        GPL
7 Group:          Libraries
8 Source0:        http://dl.sourceforge.net/libofx/%{name}-%{version}.tar.gz
9 # Source0-md5:  bf086f12ead5b19b7dc20badd396d87b
10 URL:            http://libofx.sourceforge.net/
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  opensp-devel
14 BuildRequires:  libtool >= 2:1.4d
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 This is the LibOFX library. It is a API designed to allow applications
19 to very easily support OFX command responses, usually provided by
20 financial institutions. See http://www.ofx.net/ofx/default.asp for
21 details and specification. LibOFX is based on the excellent OpenSP
22 library written by James Clark, and now part of the OpenJADE project
23 (http://openjade.sourceforge.net/). LibOFX is written in C++, but
24 provides a C style interface usable transparently from both C and C++
25 using a single include file.
26
27 %description -l pl
28 Ten pakiet zawiera bibliotekê LibOFX. Jest to API zaprojektowane aby
29 umo¿liwiæ aplikacjom w prosty sposób obs³ugiwaæ odpowiedzi na
30 polecenia OFX, zwykle udostêpniane przez instytucje finansowe.
31 Szczegó³y oraz specyfikacjê mo¿na znale¼æ na stronie
32 http://www.ofx.net/ofx/default.asp. LibOFX jest oparta na ¶wietnej
33 bibliotece OpenSP napisanej przez Jamesa Clarka, bêd±cej teraz czê¶ci±
34 projektu OpenJADE (http://openjade.sourceforge.net/). LibOFX jest
35 napisana w C++, ale udostêpnia interfejs w C, którego mo¿na u¿ywaæ w
36 sposób przezroczysty z poziomu C i C++ przy u¿yciu tego samego pliku
37 nag³ówkowego.
38
39 %package devel
40 Summary:        Header files for LibOFX library
41 Summary(pl):    Pliki nag³ówkowe biblioteki LibOFX
42 Group:          Development/Libraries
43 Requires:       %{name} = %{version}-%{release}
44 Requires:       opensp-devel
45
46 %description devel
47 Header files for developing programs using LibOFX.
48
49 %description devel -l pl
50 Pliki nag³ówkowe do tworzenia programów z u¿yciem LibOFX.
51
52 %package static
53 Summary:        Static version LibOFX library
54 Summary(pl):    Biblioteka statyczna LibOFX
55 Group:          Development/Libraries
56 Requires:       %{name}-devel = %{version}-%{release}
57
58 %description static
59 Static LibOFX library.
60
61 %description static -l pl
62 Statyczna biblioteka LibOFX.
63
64 %prep
65 %setup -q
66
67 %build
68 %{__libtoolize}
69 %{__aclocal}
70 %{__autoconf}
71 %{__autoheader}
72 %{__automake}
73 %configure
74
75 %{__make}
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT
82
83 %clean
84 rm -rf $RPM_BUILD_ROOT
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %files
90 %defattr(644,root,root,755)
91 %doc AUTHORS ChangeLog NEWS README
92 %attr(755,root,root) %{_bindir}/*
93 %attr(755,root,root) %{_libdir}/*.so.*.*
94 %{_datadir}/libofx
95
96 %files devel
97 %defattr(644,root,root,755)
98 %doc doc/html
99 %attr(755,root,root) %{_libdir}/*.so
100 %{_libdir}/*.la
101 %{_includedir}/libofx
102
103 %files static
104 %defattr(644,root,root,755)
105 %{_libdir}/*.a
This page took 0.063108 seconds and 2 git commands to generate.