source: projects/specs/trunk/lib/libk/libkdeedu/libkdeedu-vl.spec @ 5006

Revision 5006, 2.3 KB checked in by inagaki, 13 years ago (diff)

update: libkdcraw, libkexiv2, libkipi, libksane, libdeedu, oxygen-icon-theme

Line 
1Name:    libkdeedu
2Summary: Library for using with KDE 4 educational applications
3Version: 4.7.2
4Release: 1%{?_dist_release}
5
6License: GPLv2+ and LGPLv2+
7Group:   System Environment/Libraries
8URL:     https://projects.kde.org/projects/kde/kdegraphics/libs/libkexiv2
9
10Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.bz2
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildRequires: kdelibs4-devel >= %{version}
14
15Requires: kdelibs4 >= 4.7.0
16
17# when split occurred
18Conflicts: kdeedu-libs < 4.6.95-10
19
20%description
21This package contains shared libraries used by KDE 4 educational
22applications. It provides support for data plotting and vocabulary
23data in the kvtml format.
24
25%package devel
26Summary:  Development files for %{name}
27Summary(ja): %{name} の開発用ファイル
28Group: Development/Libraries
29Requires: %{name} = %{version}-%{release}
30Requires: kdelibs4-devel
31
32%description devel
33%{summary}.
34
35
36%prep
37%setup -q
38
39
40%build
41mkdir -p %{_target_platform}
42pushd %{_target_platform}
43unset QTDIR || : ; . /etc/profile.d/qt4.sh
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    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
50    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
51    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
52    ..
53popd
54
55make %{?_smp_mflags} -C %{_target_platform}
56
57
58%install
59rm -rf $RPM_BUILD_ROOT
60
61make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
62
63
64%post
65/sbin/ldconfig
66touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
67
68%posttrans
69gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
70
71%postun
72/sbin/ldconfig
73if [ $1 -eq 0 ] ; then
74    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
75    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
76fi
77
78
79%files
80%doc AUTHORS COPYING COPYING.LIB README
81%{_libdir}/libkeduvocdocument.so.*
82%{_datadir}/kde4/apps/kvtml/
83%{_datadir}/icons/hicolor/*/*/*
84
85%files devel
86%{_libdir}/libkeduvocdocument.so
87%{_libdir}/libqtmmlwidget.a
88%{_libdir}/cmake/libkdeedu/*.cmake
89%{_includedir}/kde4/libkdeedu/
90
91%changelog
92* Sat Oct 15 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.2-1
93- new upstream release
94
95* Sat Aug  6 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.7.0-1
96- Initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.