Summary(pl): Bardzo ³adne ikonki 3D
Version: 0.2
Release: 1
-Group: X11/Other
-Group(pl): X11/Ró¿ne
License: GPL
+Group: X11/Amusements
URL: http://gfx.contex.pl
Source0: http://gfx.contex.pl/ikons/%{name}_%{version}.tar.bz2
-BuildRoot: %{tmpdir}/%{name}_%{version}-build-root-%(id -u -n)
BuildArch: noarch
-
-%define _x11pixdir %{_prefix}/X11R6/share/pixmaps
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-Very nice 3D icons
+Very nice 3D icons.
%description -l pl
-Bardzo ³adne ikonki 3D zrobione przez Polaka
-
+Bardzo ³adne ikonki 3D zrobione przez Polaka.
%prep
%setup -n %{name}_%{version} -q
%build
-gzip -9nf LICENCE AUTHORS TODO VERSION
-
%install
rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_pixmapsdir}/{apps,devices,filesystem,symbols}
-install -d $RPM_BUILD_ROOT%{_x11pixdir}/{apps,devices,filesystem,symbols}
-install -d $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
-install apps/* $RPM_BUILD_ROOT%{_x11pixdir}/apps
-install devices/* $RPM_BUILD_ROOT%{_x11pixdir}/devices
-install filesystem/* $RPM_BUILD_ROOT%{_x11pixdir}/filesystem
-install symbols/* $RPM_BUILD_ROOT%{_x11pixdir}/symbols
+install apps/* $RPM_BUILD_ROOT%{_pixmapsdir}/apps
+install devices/* $RPM_BUILD_ROOT%{_pixmapsdir}/devices
+install filesystem/* $RPM_BUILD_ROOT%{_pixmapsdir}/filesystem
+install symbols/* $RPM_BUILD_ROOT%{_pixmapsdir}/symbols
-%files
-%defattr(644,root,root,755)
-%doc *.gz
-%{_x11pixdir}/apps
-%{_x11pixdir}/devices
-%{_x11pixdir}/filesystem
-%{_x11pixdir}/symbols
+gzip -9nf AUTHORS TODO VERSION
%clean
rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.gz
+%{_pixmapsdir}/*