SPECS: filelight.spec - 1.0

wolf wolf at pld-linux.org
Mon Oct 2 21:58:53 CEST 2006


Author: wolf                         Date: Mon Oct  2 19:58:53 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 1.0

---- Files affected:
SPECS:
   filelight.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: SPECS/filelight.spec
diff -u SPECS/filelight.spec:1.5 SPECS/filelight.spec:1.6
--- SPECS/filelight.spec:1.5	Mon Oct 18 19:24:50 2004
+++ SPECS/filelight.spec	Mon Oct  2 21:58:48 2006
@@ -2,13 +2,14 @@
 Summary:	Graphical disk usage statistics
 Summary(pl):	Graficzne statystyki zajęcia dysku
 Name:		filelight
-Version:	0.6.4
+Version:	1.0
 Release:	1
 License:	GPL
-Vendor:		Max Howell <max.howell at methylblue.com>
 Group:		X11/Applications
-Source0:	http://www.methylblue.com/filelight/%{name}-%{version}.tar.gz
-# Source0-md5:	a45ded39158a3de9762aae1a8333f768
+Source0:	http://www.methylblue.com/filelight/packages/%{name}-%{version}.tar.bz2
+# Source0-md5:	aa885e53e09f40e7fdd371395140b957
+Source1:	http://www.methylblue.com/filelight/packages/%{name}-%{version}-i18n-20060901.tar.bz2
+# Source1-md5:	7e556cbb36da96afa8105deb50840989
 URL:		http://www.methylblue.com/filelight/
 BuildRequires:	kdebase-devel >= 3.0
 BuildRequires:	rpmbuild(macros) >= 1.129
@@ -31,15 +32,17 @@
 zbliżoną do KDirstat, ale w bardziej zwięzłej formie.
 
 %prep
-%setup -q
+%setup -q -a1
 
 %build
-kde_htmldir="%{_kdedocdir}"; export kde_htmldir
-%configure \
-	--prefix `kde-config --prefix`  \
-	--enable-final \
-	--disable-debug
+%{__make} -f admin/Makefile.common
+%configure
+%{__make}
 
+cd %{name}-%{version}-i18n-20060901
+%configure
+cd po
+find . -name '*.gmo' -exec rm {} \;
 %{__make}
 
 %install
@@ -48,8 +51,10 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{_desktopdir}
-mv -f $RPM_BUILD_ROOT{%{_datadir}/Utilities,%{_desktopdir}}/%{name}.desktop
+cd %{name}-%{version}-i18n-20060901/po
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+cd -
 
 %find_lang %{name} --with-kde
 
@@ -59,10 +64,13 @@
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/%{name}
+%{_desktopdir}/kde/*.desktop
 %{_datadir}/apps/%{name}
-%{_desktopdir}/%{name}.desktop
-%{_datadir}/config/%{name}rc
-%{_iconsdir}/*/*/apps/%{name}.png
+%{_datadir}/config/*
+%{_datadir}/services/*
+%{_iconsdir}/*/*/*/*.png
+%%attr(755,root,root) %{_libdir}/kde3/*.so
+%{_libdir}/kde3/*.la
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -70,6 +78,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2006/10/02 19:58:48  wolf
+- 1.0
+
 Revision 1.5  2004/10/18 17:24:50  qboosh
 - use _kdedocdir macro, switched to desktopdir (TODO: check .desktop)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/filelight.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list