- pl fixes
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 14 May 2002 19:11:38 +0000 (19:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- don't include devhelp base dirs in files
- simplified build process

Changed files:
    devhelp-book-gdk-pixbuf.spec -> 1.2

devhelp-book-gdk-pixbuf.spec

index f42e154..2736561 100644 (file)
@@ -1,5 +1,5 @@
 Summary:       DevHelp book: gdk-pixbuf
-Summary(pl):   Ksi±¿ka do DevHelp'a o gdk-pixbuf
+Summary(pl):   Ksi±¿ka do DevHelpa o gdk-pixbuf
 Name:          devhelp-book-gdk-pixbuf
 Version:       1.0
 Release:       1
@@ -11,34 +11,29 @@ Requires:   devhelp
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6/share/devhelp/
+%define                _prefix         /usr/X11R6/share/devhelp
 
 %description
-DevHelp book about gdk-pixbuf
+DevHelp book about gdk-pixbuf.
 
 %description -l pl
-Ksi±¿ka do DevHelp o gdk-pixbuf
+Ksi±¿ka do DevHelpa o gdk-pixbuf.
 
 %prep
-%setup -q -c gdk-pixbuf -n gdk-pixbuf
-
-%build
-mv -f book gdk-pixbuf
-mv -f book.devhelp gdk-pixbuf.devhelp
+%setup -q -c -n gdk-pixbuf
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT%{_prefix}/books/gdkpixbuf
-install -d $RPM_BUILD_ROOT%{_prefix}/specs
-install gdk-pixbuf.devhelp $RPM_BUILD_ROOT%{_prefix}/specs
-install gdk-pixbuf/* $RPM_BUILD_ROOT%{_prefix}/books/gdkpixbuf
+install -d $RPM_BUILD_ROOT%{_prefix}/{books/gdkpixbuf,specs}
+
+install book.devhelp $RPM_BUILD_ROOT%{_prefix}/specs/gdk-pixbuf.devhelp
+install book/* $RPM_BUILD_ROOT%{_prefix}/books/gdkpixbuf
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files 
 %defattr(644,root,root,755)
-#%doc *.gz
-%{_prefix}/books
-%{_prefix}/specs
+%{_prefix}/books/*
+%{_prefix}/specs/*
This page took 0.052146 seconds and 4 git commands to generate.