source: projects/specs/trunk/lib/liba/libalkimia/libalkimia-vl.spec @ 10580

Revision 10580, 2.9 KB checked in by Takemikaduchi, 8 years ago (diff)

Xaw3d: new upstream release
others: rebuild with gcc-5.4.0

Line 
1Name:    libalkimia
2Summary: Financial library
3Version: 4.3.2
4Release: 3%{?_dist_release}
5
6License: LGPLv2+
7URL:     http://kde-apps.org/content/show.php/libalkimia?content=137323
8Group:   System Environment/Libraries
9
10Source0: http://kde-apps.org/CONTENT/content-files/137323-libalkimia-%{version}.tar.bz2
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildRequires: cmake
14BuildRequires: gmp-devel
15BuildRequires: kdelibs4-devel
16BuildRequires: pkgconfig
17
18%description
19libalkimia is a library with common classes and functionality used by
20finance applications for the KDE SC.
21
22Currently it supports a common class to represent monetary values with
23arbitrary precision.
24
25%package devel
26Summary: Development files for %{name}
27Group:   Development/Libraries
28Requires: %{name} = %{version}-%{release}
29Requires: gmp-devel
30Requires: kdelibs4-devel
31Requires: pkgconfig
32
33%description devel
34%{summary}.
35
36
37%prep
38%setup -q
39
40
41%build
42mkdir -p %{_target_platform}
43pushd %{_target_platform}
44
45%cmake \
46    -DCMAKE_BUILD_TYPE=release \
47    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
48    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
49    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
50    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
51    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
52    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
53    ..
54popd
55
56make %{?_smp_mflags} -C %{_target_platform}
57
58
59%install
60make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
61
62
63%check
64export PKG_CONFIG_PATH=%{buildroot}%{_datadir}/pkgconfig:%{buildroot}%{_libdir}/pkgconfig
65test "$(pkg-config --modversion libalkimia)" = "%{version}"
66
67
68%post -p /sbin/ldconfig
69%postun -p /sbin/ldconfig
70
71%files
72%defattr(-,root,root,-)
73%{_libdir}/libalkimia.so.*
74
75%files devel
76%defattr(-,root,root,-)
77%{_includedir}/kde4/alkimia
78%{_libdir}/libalkimia.so
79%{_libdir}/pkgconfig/libalkimia.pc
80%{_datadir}/kde4/apps/cmake/modules/FindLibAlkimia.cmake
81
82
83%changelog
84* Sun Jul 10 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.3.2-3
85- rebuild with gcc-5.4.0
86
87* Mon Oct 27 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 4.3.2-2
88- added BR: cmake
89- added Group tag
90
91* Sun Sep 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.3.2-1
92- initial build for Vine Linux
93
94* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.2-2
95- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
96
97* Sat Feb 04 2012 Rex Dieter <rdieter@fedoraproject.org> 4.3.2-1
98- 4.3.2
99
100* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3.1-5
101- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
102
103* Wed Nov 02 2011 Rex Dieter <rdieter@fedoraproject.org> 4.3.1-4
104- rebuild (gmp)
105
106* Mon Aug 22 2011 Rex Dieter <rdieter@fedoraproject.org> 4.3.1-3
107- .spec cosmetics
108
109* Sat Aug 20 2011 Rex Dieter <rdieter@fedoraproject.org> 4.3.1-2
110- BR: gmp-devel
111- %%check : don't ignore errors
112
113* Sat Aug 06 2011 Rex Dieter <rdieter@fedoraproject.org> 4.3.1-1
114- 4.3.1
115
116* Tue Jun 21 2011 Rex Dieter <rdieter@fedoraproject.org> 4.3.0-1
117- first try
118
119
Note: See TracBrowser for help on using the repository browser.