1 | Name: kompare |
---|
2 | Summary: File comparison tool for KDE |
---|
3 | Summary(ja): KDE 用ファイル比較ツール |
---|
4 | Version: 4.14.3 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv2 |
---|
8 | Group: Applications/Development |
---|
9 | URL: http://www.kde.org/ |
---|
10 | |
---|
11 | Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: desktop-file-utils |
---|
16 | |
---|
17 | BuildRequires: kdelibs-devel >= %{version} |
---|
18 | BuildRequires: libkomparediff2-devel |
---|
19 | BuildRequires: soprano-devel |
---|
20 | |
---|
21 | Requires(posttrans,postun): desktop-file-utils |
---|
22 | |
---|
23 | Vendor: Project Vine |
---|
24 | Distribution: Vine Linux |
---|
25 | Packager: Takemikaduchi |
---|
26 | |
---|
27 | |
---|
28 | %description |
---|
29 | Kompare is a program to view the differences between files. |
---|
30 | |
---|
31 | |
---|
32 | %package devel |
---|
33 | Summary: Development files for %{name} |
---|
34 | Group: Development/Libraries |
---|
35 | Requires: %{name} = %{version}-%{release} |
---|
36 | Requires: kdelibs-devel |
---|
37 | Requires: libkomparediff2-devel |
---|
38 | |
---|
39 | %description devel |
---|
40 | Development files for %{name}. |
---|
41 | |
---|
42 | |
---|
43 | %prep |
---|
44 | %setup -q |
---|
45 | |
---|
46 | %build |
---|
47 | mkdir -p %{_target_platform} |
---|
48 | pushd %{_target_platform} |
---|
49 | %cmake \ |
---|
50 | -DCMAKE_BUILD_TYPE=release \ |
---|
51 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
52 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
53 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
54 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
55 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
56 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
57 | .. |
---|
58 | popd |
---|
59 | |
---|
60 | make %{?_smp_mflags} -C %{_target_platform} |
---|
61 | |
---|
62 | |
---|
63 | %install |
---|
64 | rm -rf $RPM_BUILD_ROOT |
---|
65 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
66 | |
---|
67 | |
---|
68 | %clean |
---|
69 | rm -rf $RPM_BUILD_ROOT |
---|
70 | |
---|
71 | %post |
---|
72 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
73 | |
---|
74 | %posttrans |
---|
75 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
76 | update-desktop-database -q &> /dev/null ||: |
---|
77 | |
---|
78 | %postun |
---|
79 | if [ $1 -eq 0 ] ; then |
---|
80 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
81 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
82 | update-desktop-database -q &> /dev/null ||: |
---|
83 | fi |
---|
84 | |
---|
85 | |
---|
86 | %files |
---|
87 | %defattr(-,root,root,-) |
---|
88 | %doc COPYING COPYING.DOC ChangeLog README |
---|
89 | %{_bindir}/%{name} |
---|
90 | %{_libdir}/libkomparedialogpages.so.* |
---|
91 | %{_libdir}/libkompareinterface.so.* |
---|
92 | %{_libdir}/kde4/komparenavtreepart.so |
---|
93 | %{_libdir}/kde4/komparepart.so |
---|
94 | %{_datadir}/applications/kde4/%{name}.desktop |
---|
95 | %{_datadir}/icons/hicolor/*/*/* |
---|
96 | %{_datadir}/kde4/apps/%{name} |
---|
97 | %{_datadir}/kde4/services/komparenavtreepart.desktop |
---|
98 | %{_datadir}/kde4/services/komparepart.desktop |
---|
99 | %{_datadir}/kde4/servicetypes/komparenavigationpart.desktop |
---|
100 | %{_datadir}/kde4/servicetypes/kompareviewpart.desktop |
---|
101 | %{_docdir}/HTML/en/%{name} |
---|
102 | |
---|
103 | %files devel |
---|
104 | %defattr(-,root,root,-) |
---|
105 | %{_includedir}/kde4/%{name} |
---|
106 | %{_libdir}/libkomparedialogpages.so |
---|
107 | %{_libdir}/libkompareinterface.so |
---|
108 | |
---|
109 | |
---|
110 | |
---|
111 | %changelog |
---|
112 | * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1 |
---|
113 | - new upstream release |
---|
114 | |
---|
115 | * Wed May 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1 |
---|
116 | - new upstream release |
---|
117 | |
---|
118 | * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1 |
---|
119 | - new upstream release |
---|
120 | - add BuildRequires: libkomparediff2-devel |
---|
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 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
126 | - initial build |
---|
127 | |
---|