source: projects/specs/trunk/b/baloo-widgets/baloo-widgets-vl.spec @ 10547

Revision 10547, 2.0 KB checked in by Takemikaduchi, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name: baloo-widgets
2Summary: Widget library for baloo
3Summary(ja): baloo 用ウィジェットライブラリ
4Version: 4.14.3
5Release: 2%{?_dist_release}
6
7License: GPLv2
8Group: System Environment/Libraries
9URL: http://www.kde.org/
10
11Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires: baloo-devel
16BuildRequires: kfilemetadata-devel
17
18Vendor: Project Vine
19Distribution: Vine Linux
20Packager: Takemikaduchi
21
22%description
23%{summary}.
24
25%package devel
26Summary: Development files for kdepim
27Summary(ja): %{name} の開発用ファイル
28Group: Development/Libraries
29Requires: %{name} = %{version}-%{release}
30
31%description devel
32Development files for %{name}.
33Install %{name}-devel if you want to write or compile %{name} plugins.
34
35%prep
36%setup -q
37
38%build
39mkdir -p %{_target_platform}
40pushd %{_target_platform}
41%cmake \
42    -DCMAKE_BUILD_TYPE=release \
43    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
44    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
45    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
46    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
47    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
48    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
49    -DKDEPIM_BUILD_MOBILE:BOOL=OFF \
50    ..
51popd
52
53make %{?_smp_mflags} -C %{_target_platform}
54
55%install
56rm -rf $RPM_BUILD_ROOT
57make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
58
59
60%post -p /sbin/ldconfig
61
62%postun -p /sbin/ldconfig
63
64%clean
65rm -rf $RPM_BUILD_ROOT
66
67%files
68%doc COPYING COPYING.LIB COPYING.README
69%defattr(-,root,root,-)
70%{_libdir}/libbaloowidgets.so.*
71
72%files devel
73%defattr(-,root,root,-)
74%{_includedir}/kde4/baloo/*
75%{_libdir}/libbaloowidgets.so
76%{_libdir}/cmake/BalooWidgets/*.cmake
77
78%changelog
79* Mon Jul 04 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
80- rebuild with gcc-5.4.0
81
82* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
83- initial build
84* Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
85- initial build
Note: See TracBrowser for help on using the repository browser.