source: projects/specs/trunk/f/filelight/filelight-vl.spec @ 10563

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

rebuild with gcc-5.4.0

Line 
1Name:    filelight
2Summary: Graphical disk usage viewer
3Summary(ja): ディスク使用状況ビューアー
4Version: 4.14.3
5Release: 2%{?_dist_release}
6
7License: GPLv2
8Group:   Applications/Accessories
9URL:     https://www.kde.org/
10
11Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires: kdelibs-devel >= %{version}
16BuildRequires: soprano-devel
17
18# when split occurred
19Conflicts: kdeutils < 4.8.0
20
21Vendor: Project Vine
22Distribution: Vine Linux
23
24%description
25Filelight creates an interactive map of concentric segmented-rings
26that helps visualize disk usage on your computer.
27
28
29%prep
30%setup -q
31
32
33%build
34mkdir -p %{_target_platform}
35pushd %{_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    ..
45popd
46
47make %{?_smp_mflags} -C %{_target_platform}
48
49
50%install
51rm -rf %{buildroot}
52
53make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
54
55
56%post
57/sbin/ldconfig
58touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
59
60%posttrans
61update-desktop-database -q &> /dev/null ||:
62gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
63
64%postun
65if [ $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 ||:
70fi
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 Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
87- rebuild with gcc-5.4.0
88
89* Fri Jan 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
90- initila build
Note: See TracBrowser for help on using the repository browser.