- 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-glib2.spec -> 1.2

devhelp-book-glib2.spec

index 9650561..b454968 100644 (file)
@@ -1,5 +1,5 @@
-Summary:       DevHelp book: glib
-Summary(pl):   Ksi±¿ka do DevHelp'a o glib
+Summary:       DevHelp book: glib 2.0
+Summary(pl):   Ksi±¿ka do DevHelpa o glibie 2.0
 Name:          devhelp-book-glib2
 Version:       2.0
 Release:       1
@@ -11,34 +11,28 @@ 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 glib 1.2
+DevHelp book about glib 2.0.
 
 %description -l pl
-Ksi±¿ka do DevHelp o glib 1.2
+Ksi±¿ka do DevHelpa o glibie 2.0.
 
 %prep
-%setup -q -c glib-%{version} -n glib-%{version}
-
-%build
-mv -f book glib-%{version}
-mv -f book.devhelp glib-%{version}.devhelp
+%setup -q -c -n glib-%{version}
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_prefix}/{books/glib-%{version},specs}
 
-install -d $RPM_BUILD_ROOT%{_prefix}/books/glib-%{version}
-install -d $RPM_BUILD_ROOT%{_prefix}/specs
-install glib-%{version}.devhelp $RPM_BUILD_ROOT%{_prefix}/specs
-install glib-%{version}/* $RPM_BUILD_ROOT%{_prefix}/books/glib-%{version}
+install book.devhelp $RPM_BUILD_ROOT%{_prefix}/specs/glib-%{version}.devhelp
+install book/* $RPM_BUILD_ROOT%{_prefix}/books/glib-%{version}
 
 %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.079026 seconds and 4 git commands to generate.