source: projects/specs/trunk/a/analitza/analitza-vl.spec @ 6725

Revision 6725, 1.7 KB checked in by Takemikaduchi, 12 years ago (diff)

KDE-4.9.0

Line 
1Name: analitza
2Summary: Library of mathematical features
3Summary(ja): 数学関連ライブラリ
4Version: 4.9.0
5Release: 1%{?_dist_release}
6
7License: GPLv2
8Group: System Environment/Libraries
9URL: http://www.kde.org/
10
11Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires: kdelibs4-devel >= %{version}
16BuildRequires: readline-devel
17
18Conflicts: kalgebra-libs < 4.9.0
19
20%description
21%{summary}.
22
23
24%package devel
25Summary:   Development files for %{name}
26Summary(ja): %{name} の開発用ファイル
27Group:     Development/Libraries
28Requires:  %{name} = %{version}-%{release}
29Requires:  kdelibs4-devel
30
31%description devel
32%{summary}.
33
34%description -l ja devel
35%{name} の開発用ファイルです.
36
37
38%prep
39%setup -q
40
41%build
42mkdir -p %{_target_platform}
43pushd %{_target_platform}
44%cmake \
45    -DCMAKE_BUILD_TYPE=release \
46    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
47    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
48    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
49    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
50    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
51    ..
52popd
53
54make %{?_smp_mflags} -C %{_target_platform}
55
56
57%install
58rm -rf $RPM_BUILD_ROOT
59make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%post -p /sbin/ldconfig
65
66%postun -p /sbin/ldconfig
67
68
69%files
70%defattr(-,root,root,-)
71%{_bindir}/calgebra
72%{_libdir}/libanalitza.so.*
73%{_libdir}/libanalitzagui.so.*
74
75%files devel
76%defattr(-,root,root,-)
77%{_includedir}/kde4/%{name}
78%{_includedir}/kde4/analitzagui
79%{_libdir}/libanalitza.so
80%{_libdir}/libanalitzagui.so
81%{_libdir}/cmake/%{name}
82
83%changelog
84* Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
85- initial build
Note: See TracBrowser for help on using the repository browser.