1 | Name: filelight |
---|
2 | Summary: Graphical disk usage viewer |
---|
3 | Summary(ja): ディスク使用状況ビューアー |
---|
4 | Version: 4.14.3 |
---|
5 | Release: 1%{?_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: soprano-devel |
---|
17 | |
---|
18 | # when split occurred |
---|
19 | Conflicts: kdeutils < 4.8.0 |
---|
20 | |
---|
21 | Vendor: Project Vine |
---|
22 | Distribution: Vine Linux |
---|
23 | |
---|
24 | %description |
---|
25 | Filelight creates an interactive map of concentric segmented-rings |
---|
26 | that helps visualize disk usage on your computer. |
---|
27 | |
---|
28 | |
---|
29 | %prep |
---|
30 | %setup -q |
---|
31 | |
---|
32 | |
---|
33 | %build |
---|
34 | mkdir -p %{_target_platform} |
---|
35 | pushd %{_target_platform} |
---|
36 | %cmake \ |
---|
37 | -DCMAKE_BUILD_TYPE=release \ |
---|
38 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
39 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
40 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
41 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
42 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
43 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
44 | .. |
---|
45 | popd |
---|
46 | |
---|
47 | make %{?_smp_mflags} -C %{_target_platform} |
---|
48 | |
---|
49 | |
---|
50 | %install |
---|
51 | rm -rf %{buildroot} |
---|
52 | |
---|
53 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
54 | |
---|
55 | |
---|
56 | %post |
---|
57 | /sbin/ldconfig |
---|
58 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
59 | |
---|
60 | %posttrans |
---|
61 | update-desktop-database -q &> /dev/null ||: |
---|
62 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
63 | |
---|
64 | %postun |
---|
65 | if [ $1 -eq 0 ] ; then |
---|
66 | /sbin/ldconfig |
---|
67 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
68 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
69 | update-desktop-database -q &> /dev/null ||: |
---|
70 | fi |
---|
71 | |
---|
72 | |
---|
73 | %files |
---|
74 | %doc COPYING COPYING-DOCS ChangeLog NEWS README |
---|
75 | %{_bindir}/%{name} |
---|
76 | %{_libdir}/kde4/*.so |
---|
77 | %{_datadir}/applications/kde4/%{name}.desktop |
---|
78 | %{_datadir}/config/%{name}rc |
---|
79 | %{_datadir}/icons/hicolor/*/*/* |
---|
80 | %{_datadir}/kde4/apps/%{name} |
---|
81 | %{_datadir}/kde4/apps/%{name}part |
---|
82 | %{_datadir}/kde4/services/*.desktop |
---|
83 | %{_docdir}/HTML/en/%{name} |
---|
84 | |
---|
85 | %changelog |
---|
86 | * Fri Jan 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1 |
---|
87 | - initila build |
---|