source: projects/specs/trunk/lib/libk/libkomparediff2/libkomparediff2-vl.spec @ 10563

Revision 10563, 2.1 KB checked in by Takemikaduchi, 8 years ago (diff)

rebuild with gcc-5.4.0

Line 
1Name:    libkomparediff2
2Summary: The library for the KDE kompare
3Summary(ja): KDE kompare 用のライブラリ
4Version: 4.14.3
5Release: 2%{?_dist_release}
6
7License: GPLv2,LGPLv2,LGPLv2.1,GPLv3,LGPLv3
8URL:     https://code.launchpad.net/~neon/kdegames/libkdegames
9Group:   System Environment/Libraries
10
11Source0: ftp://ftp.kde.org/pub/kde/table/%{version}/src/%{name}-%{version}.tar.xz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: kdelibs-devel >= %{version}
15BuildRequires: soprano-devel
16
17Requires: kdelibs >= %{version}
18
19%description
20This package contains the library for the kompare package.
21
22%package devel
23Summary:  Development files for %{name}
24Summary(ja): %{name} の開発用ファイル
25Group:   Development/Libraries
26Requires: %{name} = %{version}-%{release}
27Requires: kdelibs-devel
28
29%description devel
30%{summary}.
31
32
33%prep
34%setup -q
35
36%build
37mkdir -p %{_target_platform}
38pushd %{_target_platform}
39%cmake \
40    -DCMAKE_BUILD_TYPE=release \
41    -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
42    -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
43    -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
44    -DLIB_INSTALL_DIR:PATH=%{_libdir} \
45    -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
46    -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
47    ..
48popd
49
50make %{?_smp_mflags} -C %{_target_platform}
51
52
53%install
54rm -rf %{buildroot}
55
56make install DESTDIR=%{buildroot} -C %{_target_platform}
57
58
59%post -p /sbin/ldconfig
60
61%postun -p /sbin/ldconfig
62
63
64%files
65%defattr(-,root,root,-)
66%doc COPYING COPYING-CMAKE-SCRIPTS
67%doc COPYING.GPL2 COPYING.GPL3
68%doc COPYING.LGPL2 COPYING.LGPL2.1 COPYING.LGPL3
69%{_libdir}/libkomparediff2.so.*
70
71%files devel
72%defattr(-,root,root,-)
73%{_includedir}/kde4/%{name}
74%{_libdir}/libkomparediff2.so
75%{_libdir}/cmake/%{name}
76
77
78%changelog
79* Fri Jul 08 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- new upstream releease
84
85* Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
86- new upstream releease
87
88* Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
89- initial build
Note: See TracBrowser for help on using the repository browser.