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