]> git.pld-linux.org Git - packages/postgresql.git/commitdiff
- removed applnkdir and pixmapsdir creation - not used anymore in this spec
authorwrobell <wrobell@pld-linux.org>
Thu, 18 Dec 2003 14:49:33 +0000 (14:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added patch to not install html docs with postgresql's Makefiles
- section "l" of manuals removed:
  - the manuals duplicate with section "7"
  - section "l" is not specified in FHS
- do not install manuals manually :-) (they are installed by postgresql's
  Makefiles correctly)
- manuals of section "7" moved to clients subpackage

Changed files:
    postgresql.spec -> 1.244

postgresql.spec

index ae9cc83379c969d3479e1306e02f4fefce38a5ad..cc6f935518ad673ccf7bdcd56d2f14dc2ff4196d 100644 (file)
@@ -1,14 +1,10 @@
 #
 # - pg_autovacuum init support? look at its readme file, please
 # - pg_ctl uses psql again, current patch2 doesn't eliminate this
-# - remove postgresql-configure patch and create postgresql-doc patch,
-#   which will prevent documentation and manuals installation (the routine
-#   is bad and we install docs and mans manually, at all) or create good
-#   routine and send it to postgresql team...
 #
 # Conditional build:
-%bcond_without  tests                  # disable testing
-%bcond_without tcl                     # disables Tcl support
+%bcond_without tests                   # disable testing
+%bcond_without tcl                             # disables Tcl support
 %bcond_without kerberos5               # disable kerberos5 support
 %bcond_without perl                    # disable perl support
 %bcond_without python                  # disable python support
@@ -40,7 +36,7 @@ Source1:      %{name}.init
 Source2:       pgsql-Database-HOWTO-html.tar.gz
 # Source2-md5: 5b656ddf1db41965761f85204a14398e
 Source3:       %{name}.sysconfig
-Patch0:                %{name}-configure.patch
+Patch0:                %{name}-doc.patch
 Patch1:                %{name}-pg_ctl-silent.patch
 Patch2:                %{name}-pg_ctl-nopsql.patch
 Patch3:                %{name}-conf.patch
@@ -797,8 +793,8 @@ rm -f config/libtool.m4
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/{rc.d/init.d,sysconfig}} \
-        $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
-       $RPM_BUILD_ROOT{%{_applnkdir}/System,%{_pixmapsdir}} \
+       $RPM_BUILD_ROOT{/var/{lib/pgsql,log},%{_pgsqldir}} \
+       $RPM_BUILD_ROOT%{_mandir} \
        $RPM_BUILD_ROOT/home/services/postgres
 
 %{__make} install install-all-headers \
@@ -817,11 +813,6 @@ touch $RPM_BUILD_ROOT/var/log/pgsql
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/postgresql
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/postgresql
 
-cp -a man?        $RPM_BUILD_ROOT%{_mandir}
-
-# there are html installed, remove them
-rm -rf $RPM_BUILD_ROOT%{_infodir}
-
 install -d howto
 ( cd howto
   tar xzf $RPM_SOURCE_DIR/pgsql-Database-HOWTO-html.tar.gz
@@ -969,8 +960,6 @@ fi
 %{_mandir}/man1/postgres.1*
 %{_mandir}/man1/postmaster.1*
 
-%{_mandir}/man7/*.7*
-
 %doc contrib
 %doc doc/FAQ* doc/README*
 %doc COPYRIGHT README HISTORY doc/bug.template
@@ -1043,7 +1032,7 @@ fi
 %{_mandir}/man1/pg_restore.1*
 %{_mandir}/man1/psql.1*
 %{_mandir}/man1/vacuumdb.1*
-%{_mandir}/manl/*.l*
+%{_mandir}/man7/*.7*
 
 %if %{with tcl}
 %files tcl
This page took 0.113686 seconds and 4 git commands to generate.