]> git.pld-linux.org Git - packages/cups.git/commitdiff
- release 1
authorPaweł Gołaszewski <blues@pld-linux.org>
Tue, 5 Feb 2002 13:45:47 +0000 (13:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- doc-dir changed to cgi-bin dir and html's moved to this directory. This
  needed by internal http-server! Don't move it.

Changed files:
    cups.spec -> 1.28

cups.spec

index affa0b321f4e83d9914b64c4d185cb4dd8f0a189..afd4fb8f4b38368fddbc3c5f09f91c8bd68c7a59 100644 (file)
--- a/cups.spec
+++ b/cups.spec
@@ -3,7 +3,7 @@ Summary(pl):    Popularny System Druku dla Unixa
 Summary(pt_BR):        Sistema Unix de Impressão
 Name:          cups
 Version:       1.1.13
-Release:       4
+Release:       1
 Epoch:         1
 License:       GPL/LGPL
 Group:         Applications/System
@@ -150,7 +150,7 @@ bibliotecas do CUPS.
 aclocal
 autoconf
 %configure \
-       --with-docdir=%{_datadir}/%{name}-%{version}
+       --with-docdir=%{_libdir}/%{name}/cgi-bin
 %{__make}
 
 %install
@@ -164,6 +164,11 @@ install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
 install %{SOURCE2}     $RPM_BUILD_ROOT/etc/pam.d/%{name}
 install %{SOURCE3}     $RPM_BUILD_ROOT/etc/logrotate.d/%{name}
 
+# for internal http browser:
+cp doc/*.html  $RPM_BUILD_ROOT/%{_libdir}/%{name}/cgi-bin/
+cp doc/*.css   $RPM_BUILD_ROOT/%{_libdir}/%{name}/cgi-bin/
+cp doc/images/*        $RPM_BUILD_ROOT/%{_libdir}/%{name}/cgi-bin/images/
+
 touch $RPM_BUILD_ROOT/var/log/cups/{access_log,error_log,page_log}
 
 gzip -9nf *.txt
@@ -192,7 +197,8 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz doc/*.html doc/*.css doc/images
+#%doc *.gz doc/*.html doc/*.css doc/images
+%doc *.gz
 %attr(640,root,root) %config %verify(not size mtime md5) /etc/pam.d/*
 %attr(754,root,root) /etc/rc.d/init.d/cups
 %dir %{_sysconfdir}/%{name}
This page took 0.047976 seconds and 4 git commands to generate.