- Updated to 2.21
authordjurban <djurban@pld-linux.org>
Sun, 27 Oct 2002 16:29:43 +0000 (16:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cook.spec -> 1.6

cook.spec

index b8f9352..a621fa9 100644 (file)
--- a/cook.spec
+++ b/cook.spec
@@ -1,7 +1,7 @@
 Summary:       A file construction tool
 Summary(pl):   Narzêdzie do konstrukcji plików
 Name:          cook
-Version:       2.19
+Version:       2.21
 Release:       2
 License:       GPL
 Group:         Development/Building
@@ -118,11 +118,24 @@ Dokumentacja do cooka w formacie PostScript.
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -d $RPM_BUILD_ROOT%{_libdir}
+install -d $RPM_BUILD_ROOT%{_libdir}/cook
+install -d $RPM_BUILD_ROOT%{_libdir}/cook/en/
+install -d $RPM_BUILD_ROOT%{_libdir}/cook/en/LC_MESSAGES
+install -d $RPM_BUILD_ROOT%{_datadir}
+install -d $RPM_BUILD_ROOT%{_datadir}/cook
+install -d $RPM_BUILD_ROOT%{_datadir}/cook/en
+install -d $RPM_BUILD_ROOT%{_datadir}
+ln -s $RPM_BUILD_ROOT%{_mandir}/man1 $RPM_BUILD_ROOT%{_datadir}/cook/en/man1
+install -d $RPM_BUILD_ROOT%{_mandir}
+install -d $RPM_BUILD_ROOT%{_mandir}/man1
+install -d $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %{__make} RPM_BUILD_ROOT=$RPM_BUILD_ROOT install
-rm -rf $RPM_BUILD_ROOT%{_datadir}/cook/en
-
-install -d $RPM_BUILD_ROOT%{_pixmapsdir}
+#rm -rf $RPM_BUILD_ROOT%{_datadir}/cook/en
+rm -rf $RPM_BUILD_ROOT%{_datadir}/cook/en/man1
 install cook.gif $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %files
@@ -136,7 +149,7 @@ install cook.gif $RPM_BUILD_ROOT%{_pixmapsdir}
 
 %files doc-ps
 %defattr(644,root,root,755)
-%doc lib/en/*.ps.gz
+%doc %{_datadir}/doc/%{name}-%{version}/*.ps.gz
 
 %clean
 rm -rf $RPM_BUILD_ROOT
This page took 0.103064 seconds and 4 git commands to generate.