- cosmetics
authorPaweł Gołaszewski <blues@pld-linux.org>
Wed, 15 Sep 2004 17:17:47 +0000 (17:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cook.spec -> 1.14

cook.spec

index a21db76..463ec74 100644 (file)
--- a/cook.spec
+++ b/cook.spec
@@ -121,22 +121,24 @@ Dokumentacja do cooka w formacie PostScript.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_bindir}
-install -d $RPM_BUILD_ROOT%{_libdir}/cook/en/LC_MESSAGES
-install -d $RPM_BUILD_ROOT%{_datadir}/locale
-install -d $RPM_BUILD_ROOT%{_datadir}/cook/en
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}/cook/en/LC_MESSAGES,%{_mandir}/man1} \
+       $RPM_BUILD_ROOT{%{_pixmapsdir},%{_datadir}/{locale,cook/en}}
+
 ln -s $RPM_BUILD_ROOT%{_mandir}/man1 $RPM_BUILD_ROOT%{_datadir}/cook/en/man1
-install -d $RPM_BUILD_ROOT%{_mandir}/man1
-install -d $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %{__make} install \
        RPM_BUILD_ROOT=$RPM_BUILD_ROOT
+
+install cook.gif $RPM_BUILD_ROOT%{_pixmapsdir}/cook.gif
+
 mv $RPM_BUILD_ROOT%{_libdir}/cook/en $RPM_BUILD_ROOT%{_datadir}/locale/
 rm -r $RPM_BUILD_ROOT%{_datadir}/cook/en
-install -D cook.gif $RPM_BUILD_ROOT%{_pixmapsdir}/cook.gif
 
 %find_lang %{name} --with-gnome --all-name
 
+%clean
+rm -rf $RPM_BUILD_ROOT
+
 %files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc README lib/en/*.txt
@@ -148,6 +150,3 @@ install -D cook.gif $RPM_BUILD_ROOT%{_pixmapsdir}/cook.gif
 %files doc-ps
 %defattr(644,root,root,755)
 %doc lib/en/*.ps
-
-%clean
-rm -rf $RPM_BUILD_ROOT
This page took 0.07547 seconds and 4 git commands to generate.