1 | Name: ark |
---|
2 | Summary: An archiver manager for KDE |
---|
3 | Summary(ja): KDE用アーカイブマネージャ |
---|
4 | Version: 4.14.3 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | |
---|
7 | License: GPLv2 |
---|
8 | Group: Applications/Accessories |
---|
9 | URL: https://www.kde.org/ |
---|
10 | |
---|
11 | Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: kdelibs-devel >= %{version} |
---|
16 | BuildRequires: kdebase-devel >= %{version} |
---|
17 | BuildRequires: libarchive-devel |
---|
18 | BuildRequires: xz-devel |
---|
19 | BuildRequires: qjson-devel |
---|
20 | BuildRequires: soprano-devel |
---|
21 | |
---|
22 | # when split occurred |
---|
23 | Conflicts: kdeutils < 4.8.0 |
---|
24 | |
---|
25 | Vendor: Project Vine |
---|
26 | Distribution: Vine Linux |
---|
27 | |
---|
28 | %description |
---|
29 | Ark is a program for viewing, extracting, creating and modifying archives. |
---|
30 | |
---|
31 | |
---|
32 | %prep |
---|
33 | %setup -q |
---|
34 | |
---|
35 | |
---|
36 | %build |
---|
37 | mkdir -p %{_target_platform} |
---|
38 | pushd %{_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 | .. |
---|
48 | popd |
---|
49 | |
---|
50 | make %{?_smp_mflags} -C %{_target_platform} |
---|
51 | |
---|
52 | |
---|
53 | %install |
---|
54 | rm -rf %{buildroot} |
---|
55 | |
---|
56 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
57 | |
---|
58 | |
---|
59 | %post |
---|
60 | /sbin/ldconfig |
---|
61 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
62 | |
---|
63 | %posttrans |
---|
64 | update-desktop-database -q &> /dev/null ||: |
---|
65 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
66 | |
---|
67 | %postun |
---|
68 | if [ $1 -eq 0 ] ; then |
---|
69 | /sbin/ldconfig |
---|
70 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
71 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
72 | update-desktop-database -q &> /dev/null ||: |
---|
73 | fi |
---|
74 | |
---|
75 | |
---|
76 | %files |
---|
77 | %doc COPYING COPYING.icons |
---|
78 | %{_bindir}/%{name} |
---|
79 | %{_libdir}/kde4/*.so |
---|
80 | %{_libdir}/libkerfuffle.so.* |
---|
81 | %{_datadir}/appdata/%{name}.appdata.xml |
---|
82 | %{_datadir}/applications/kde4/%{name}.desktop |
---|
83 | %{_datadir}/config.kcfg/%{name}.kcfg |
---|
84 | %{_datadir}/icons/hicolor/*/*/* |
---|
85 | %{_datadir}/kde4/apps/%{name} |
---|
86 | %{_datadir}/kde4/services/*.desktop |
---|
87 | %{_datadir}/kde4/services/ServiceMenus/*.desktop |
---|
88 | %{_datadir}/kde4/servicetypes/*.desktop |
---|
89 | %{_docdir}/HTML/en/%{name} |
---|
90 | %{_mandir}/man1/%{name}.1.gz |
---|
91 | %exclude %{_libdir}/libkerfuffle.so |
---|
92 | |
---|
93 | %changelog |
---|
94 | * Fri Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2 |
---|
95 | - rebuild with gcc-5.4.0 |
---|
96 | |
---|
97 | * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1 |
---|
98 | - initila build |
---|