]> git.pld-linux.org Git - packages/filesystem.git/commitdiff
- ac compat restored auto/ac/filesystem-3_0-29
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 30 Nov 2009 11:53:13 +0000 (11:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    filesystem.spec -> 1.103

filesystem.spec

index 2407e1dce3a741432fef88fe8b2c05d042bb2d97..dbd9d12b24fe933e489022b9c7cabb26f55ecfeb 100644 (file)
@@ -12,6 +12,7 @@ Release:      29
 License:       GPL
 Group:         Base
 BuildRequires: automake
+BuildRequires: rpm >= 4.4.9-56
 BuildRequires: mktemp
 Requires:      FHS >= 2.3-15
 Provides:      browser-plugins(%{_target_base_arch})
@@ -36,6 +37,10 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 # directory for *.idl files (for CORBA implementations)
 %define                _idldir         /usr/share/idl
 
+%if "%{pld_release}" == "ac"
+%define                _xmandir        /usr/X11R6/man
+%endif
+
 %description
 This package contains common directories for packages that extend some
 programs functionality, but don't require them themselves.
@@ -72,6 +77,18 @@ install -d \
        $RPM_BUILD_ROOT/usr/lib64/initrd
 %endif
 
+%if "%{pld_release}" == "ac"
+# X11
+install -d $RPM_BUILD_ROOT/usr/X11R6/share
+for manp in man{1,2,3,4,5,6,7,8} ; do
+       install -d $RPM_BUILD_ROOT%{_xmandir}/$manp
+       for mloc in it ko pl; do
+               install -d $RPM_BUILD_ROOT%{_xmandir}/$mloc/$manp
+       done
+done
+install -d $RPM_BUILD_ROOT/usr/share/wm-properties
+%endif
+
 install -d \
        $RPM_BUILD_ROOT/usr/lib/debug/%{_lib} \
        $RPM_BUILD_ROOT/usr/lib/debug%{_libdir} \
@@ -170,6 +187,18 @@ check_filesystem_dirs
 %dir /usr/lib64/pkgconfig
 %endif
 
+%if "%{pld_release}" == "ac"
+%dir /usr/X11R6
+%dir %{_xmandir}
+%{_xmandir}/man*
+%lang(it) %{_xmandir}/it
+%lang(ko) %{_xmandir}/ko
+%lang(pl) %{_xmandir}/pl
+%dir /usr/X11R6/share
+
+%dir /usr/share/wm-properties
+%endif
+
 # debuginfo
 %dir /usr/lib/debug
 /usr/lib/debug/*
This page took 0.111625 seconds and 4 git commands to generate.