source: projects/specs/trunk/k/kalgebra/kalgebra-vl.spec @ 10563

Revision 10563, 4.0 KB checked in by Takemikaduchi, 6 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name: kalgebra
2Summary: Algebraic graphing calculator for KDE
3Version: 4.14.3
4Release: 2%{?_dist_release}
5
6License: GPLv2+
7Group: Applications/Edutainment
8URL: http://edu.kde.org/kalgebra/
9
10Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
11
12## upstream patches
13
14BuildRoot: %{_tmppath}/%{name}-%{version}-root
15BuildRequires: desktop-file-utils
16BuildRequires: kdelibs4-devel >= %{version}
17BuildRequires: libkdeedu-devel
18BuildRequires: analitza-devel
19BuildRequires: mesa-libGL-devel
20BuildRequires: readline-devel
21BuildRequires: soprano-devel
22
23Requires: kdebase-runtime%{?_kde4_version: >= %{_kde4_version}}
24
25Conflicts: kdeedu4 < 4.6.50
26
27Obsoletes: %{name}-libs < 4.9.0
28Provides: %{name}-libs = %{version}-%{release}
29
30Obsoletes: %{name}-devel < 4.9.0
31
32Vendor: Project Vine
33Distribution: Vine Linux
34
35%description
36KAlgebra is a algebraic graphing calculator with support for 3D
37graphing and MathML markup language.
38
39This package is part of the KDE education module.
40
41
42%prep
43%setup -q
44
45%build
46mkdir -p %{_target_platform}
47pushd %{_target_platform}
48%cmake \
49    -DCMAKE_BUILD_TYPE=release \
50    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
51    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
52    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
53    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
54    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
55    ..
56popd
57
58make %{?_smp_mflags} -C %{_target_platform}
59
60%install
61rm -rf $RPM_BUILD_ROOT
62make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%check
68for f in $RPM_BUILD_ROOT%{_datadir}/applications/kde4/*.desktop ; do
69    desktop-file-validate $f
70done
71
72
73%post
74touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
75
76%posttrans
77update-desktop-database -q &> /dev/null ||:
78gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
79
80%postun
81if [ $1 -eq 0 ] ; then
82    update-desktop-database -q &> /dev/null ||:
83    touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
84    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
85fi
86
87
88%files
89%defattr(-,root,root)
90%doc COPYING COPYING.DOC
91%{_bindir}/kalgebra
92%{_bindir}/kalgebramobile
93%{_libdir}/kde4/*.so
94%{_libdir}/kde4/imports/org/kde/analitza/Graph2D.qml
95%{_libdir}/kde4/imports/org/kde/analitza/libanalitzadeclarativeplugin.so
96%{_libdir}/kde4/imports/org/kde/analitza/qmldir
97%{_datadir}/applications/kde4/kalgebra*.desktop
98%{_datadir}/icons/hicolor/*/*/*
99%{_datadir}/kde4/apps/kalgebramobile
100%{_datadir}/kde4/apps/plasma/plasmoids/org.kde.graphsplasmoid/contents/ui/config.ui
101%{_datadir}/kde4/apps/plasma/plasmoids/org.kde.graphsplasmoid/contents/ui/main.qml
102%{_datadir}/kde4/apps/plasma/plasmoids/org.kde.graphsplasmoid/metadata.desktop
103%{_datadir}/kde4/apps/katepart
104%{_datadir}/kde4/services/graphsplasmoid.desktop
105%{_datadir}/kde4/services/kalgebraplasmoid.desktop
106%doc %{_docdir}/HTML/en/kalgebra/
107
108
109%changelog
110* Fri Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
111- rebuild with gcc-5.4.0
112
113* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
114- new upstream release
115
116* Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
117- new upstream release
118
119* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
120- new upstream release
121
122* Wed Dec 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
123- new upstream release
124
125* Sun Sep 08 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
126- new upstream release
127
128* Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.10.5-1
129- new upstream release
130
131* Fri Jan 04 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.5-1
132- new upstream release
133
134* Sat Nov 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.3-1
135- new upstream release
136
137* Sun Oct 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.2-1
138- new upstream release
139
140* Thu Sep 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.1-1
141- new upstream release
142
143* Mon Aug 13 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.9.0-1
144- new upstream release
145- add BuildRequires: analitza-devel
146- remove -devel and -libs subpackages
147
148* Thu Sep  8 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
149- split from kdeedu
150
Note: See TracBrowser for help on using the repository browser.