]>
Commit | Line | Data |
---|---|---|
06bf359e | 1 | Summary: common classes and functionality used by finance applications for the KDE SC |
2 | Name: libalkimia | |
3 | Version: 4.3.1 | |
e555c76a | 4 | Release: 3 |
06bf359e | 5 | License: LGPL |
6 | Group: Libraries | |
7 | Source0: %{name}-%{version}.tar.bz2 | |
8 | # Source0-md5: 73d7f1365118019030b2045d95c92456 | |
6f0fd2e5 | 9 | Patch0: link.patch |
06bf359e | 10 | URL: http://community.kde.org/Alkimia/libalkimia |
11 | BuildRequires: cmake | |
12 | BuildRequires: gmp-c++-devel | |
547278d6 | 13 | BuildRequires: kde4-kdelibs-devel |
06bf359e | 14 | BuildRequires: rpmbuild(macros) >= 1.600 |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | libalkimia is a library with common classes and functionality used by | |
19 | finance applications for the KDE SC. | |
20 | ||
21 | %package devel | |
688e9567 | 22 | Summary: Header files for alkimia library |
23 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki alkimia | |
06bf359e | 24 | Group: Development/Libraries |
25 | Requires: %{name} = %{version}-%{release} | |
26 | ||
27 | %description devel | |
688e9567 | 28 | Header files for alkimia library. |
06bf359e | 29 | |
30 | %description devel -l pl.UTF-8 | |
688e9567 | 31 | Pliki nagłówkowe biblioteki alkimia. |
06bf359e | 32 | |
33 | %prep | |
34 | %setup -q | |
6f0fd2e5 | 35 | %patch0 -p1 |
06bf359e | 36 | |
37 | %build | |
38 | install -d build | |
39 | cd build | |
40 | %cmake .. | |
41 | %{__make} | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %{__make} -C build install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %post -p /sbin/ldconfig | |
53 | %postun -p /sbin/ldconfig | |
54 | ||
55 | %files | |
56 | %defattr(644,root,root,755) | |
57 | %doc ChangeLog | |
58 | %attr(755,root,root) %{_libdir}/libalkimia.so.4.3.1 | |
59 | %attr(755,root,root) %ghost %{_libdir}/libalkimia.so.4 | |
60 | ||
61 | %files devel | |
62 | %defattr(644,root,root,755) | |
63 | %attr(755,root,root) %{_libdir}/libalkimia.so | |
64 | %{_includedir}/alkimia | |
65 | %{_pkgconfigdir}/libalkimia.pc | |
66 | %{_datadir}/apps/cmake/modules/FindLibAlkimia.cmake |