]>
Commit | Line | Data |
---|---|---|
7cb8fab9 JB |
1 | Summary: Common classes and functionality used by finance applications for the KDE SC |
2 | Summary(pl.UTF-8): Wspólne klasy i funkcje wykorzystywane przez aplikacje finansowe dla KDE SC | |
06bf359e | 3 | Name: libalkimia |
d53a8d7c | 4 | Version: 7.0.1 |
7e6fcabf | 5 | Release: 1 |
7cb8fab9 | 6 | License: LGPL v2.1+ |
06bf359e | 7 | Group: Libraries |
d53a8d7c JR |
8 | Source0: http://download.kde.org/stable/alkimia/%{version}/src/alkimia-%{version}.tar.xz |
9 | # Source0-md5: a495c100910f4602cc3e77c0e1c61bc3 | |
06bf359e | 10 | URL: http://community.kde.org/Alkimia/libalkimia |
d53a8d7c JR |
11 | BuildRequires: Qt5Core-devel |
12 | BuildRequires: Qt5DBus-devel | |
13 | BuildRequires: Qt5Test-devel | |
7cb8fab9 JB |
14 | BuildRequires: cmake >= 2.6.4 |
15 | BuildRequires: doxygen | |
06bf359e | 16 | BuildRequires: gmp-c++-devel |
d53a8d7c | 17 | BuildRequires: kf5-extra-cmake-modules |
7cb8fab9 JB |
18 | BuildRequires: libstdc++-devel |
19 | BuildRequires: pkgconfig | |
20 | BuildRequires: rpmbuild(macros) >= 1.606 | |
06bf359e | 21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | libalkimia is a library with common classes and functionality used by | |
25 | finance applications for the KDE SC. | |
26 | ||
7cb8fab9 JB |
27 | %description -l pl.UTF-8 |
28 | libalkimia to biblioteka ze wspólnymi klasami i funkcjami | |
29 | wykorzystywanymi przez aplikacje finansowe dla KDE SC. | |
30 | ||
06bf359e | 31 | %package devel |
688e9567 | 32 | Summary: Header files for alkimia library |
33 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki alkimia | |
06bf359e | 34 | Group: Development/Libraries |
35 | Requires: %{name} = %{version}-%{release} | |
d53a8d7c JR |
36 | Requires: Qt5Core-devel |
37 | Requires: Qt5DBus-devel | |
7cb8fab9 | 38 | Requires: gmp-c++-devel |
d53a8d7c | 39 | Requires: kf5-extra-cmake-modules |
7cb8fab9 | 40 | Requires: libstdc++-devel |
06bf359e | 41 | |
42 | %description devel | |
688e9567 | 43 | Header files for alkimia library. |
06bf359e | 44 | |
45 | %description devel -l pl.UTF-8 | |
688e9567 | 46 | Pliki nagłówkowe biblioteki alkimia. |
06bf359e | 47 | |
48 | %prep | |
d53a8d7c | 49 | %setup -q -n alkimia-%{version} |
06bf359e | 50 | |
51 | %build | |
52 | install -d build | |
53 | cd build | |
54 | %cmake .. | |
55 | %{__make} | |
56 | ||
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %{__make} -C build install \ | |
61 | DESTDIR=$RPM_BUILD_ROOT | |
62 | ||
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %post -p /sbin/ldconfig | |
67 | %postun -p /sbin/ldconfig | |
68 | ||
69 | %files | |
70 | %defattr(644,root,root,755) | |
d53a8d7c JR |
71 | %doc README.md |
72 | %attr(755,root,root) %{_libdir}/libalkimia5.so.*.*.* | |
73 | %attr(755,root,root) %ghost %{_libdir}/libalkimia5.so.7 | |
06bf359e | 74 | |
75 | %files devel | |
76 | %defattr(644,root,root,755) | |
d53a8d7c | 77 | %attr(755,root,root) %{_libdir}/libalkimia5.so |
06bf359e | 78 | %{_includedir}/alkimia |
d53a8d7c JR |
79 | %{_pkgconfigdir}/libalkimia5.pc |
80 | %{_libdir}/cmake/LibAlkimia5* |