]> git.pld-linux.org Git - packages/filelight.git/blob - filelight.spec
9784c1c388712fbe1d2ea08abfa71669c948406c
[packages/filelight.git] / filelight.spec
1 Summary:        Graphical disk usage statistics
2 Summary(pl.UTF-8):   Graficzne statystyki zajęcia dysku
3 Name:           filelight
4 Version:        1.0
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications
8 Source0:        http://www.methylblue.com/filelight/packages/%{name}-%{version}.tar.bz2
9 # Source0-md5:  aa885e53e09f40e7fdd371395140b957
10 Source1:        http://www.methylblue.com/filelight/packages/%{name}-%{version}-i18n-20060901.tar.bz2
11 # Source1-md5:  7e556cbb36da96afa8105deb50840989
12 Patch0:         kde-ac260-lt.patch
13 URL:            http://www.methylblue.com/filelight/
14 BuildRequires:  kdebase-devel >= 3.0
15 BuildRequires:  rpmbuild(macros) >= 1.129
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 Filelight graphically represents a file system as a set of concentric
20 segmented-rings, indicating where diskspace is being used. Segments
21 expanding from the center represent files (including directories),
22 with each segment's size being proportional to the file's size and
23 directories having child segments. Filelight performs a similar
24 function to KDirstat, but in a more compact fashion.
25
26 %description -l pl.UTF-8
27 Filelight przedstawia graficznie system plików jako zbiór koncentrycznych, 
28 posegmentowanych pierścieni, wskazujących gdzie przestrzeń dyskowa jest 
29 używana. Segmenty, rozchodzące się od środka, reprezentują pliki (włączając
30 w to katalogi), a rozmiar każdego z nich jest proporcjonalny do rozmiaru pliku,
31 natomiast katalogi zawierają segmenty-dzieci. Filelight posiada funkcjonalność
32 zbliżoną do KDirstat, ale w bardziej zwięzłej formie.
33
34 %prep
35 %setup -q -a1
36 %patch0 -p1
37
38 %build
39 %{__make} -f admin/Makefile.common
40 %configure
41 %{__make}
42
43 cd %{name}-%{version}-i18n-20060901
44 %configure
45 cd po
46 find . -name '*.gmo' -exec rm {} \;
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 cd %{name}-%{version}-i18n-20060901/po
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58 cd -
59
60 %find_lang %{name} --with-kde
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files -f %{name}.lang
66 %defattr(644,root,root,755)
67 %attr(755,root,root) %{_bindir}/%{name}
68 %{_desktopdir}/kde/*.desktop
69 %{_datadir}/apps/%{name}
70 %{_datadir}/config/*
71 %{_datadir}/services/*
72 %{_iconsdir}/*/*/*/*.png
73 %%attr(755,root,root) %{_libdir}/kde3/*.so
74 %{_libdir}/kde3/*.la
This page took 0.021095 seconds and 2 git commands to generate.