Browse Source

lsb: update to 4.0

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@4089 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 14 years ago
parent
commit
ae27413894
1 changed files with 17 additions and 9 deletions
  1. 17 9
      l/lsb/lsb-vl.spec

+ 17 - 9
l/lsb/lsb-vl.spec

@@ -43,13 +43,13 @@
 %endif
 
 %define upstreamlsbrelver 2.0
-%define lsbrelver 3.0
+%define lsbrelver 4.0
 %define srcrelease 1
 
 Summary: LSB support for Vine Linux
 Summary(ja): Vine Linux の LSB サポート
 Name: lsb
-Version: 3.2
+Version: 4.0
 Release: 1%{?_dist_release}
 URL: http://www.linuxfoundation.org/
 Source0: %{name}-vine-%{version}.tar.bz2
@@ -58,7 +58,7 @@ Group: System Environment/Base
 BuildRoot: %{_tmppath}/%{name}-root
 # dependency for primary LSB application for v1.3
 Provides: lsb = %{version}
-# dependency for primary LSB application for v2.0 and v3.0
+# dependency for primary LSB application for v2.0, v3.0 and v4.0
 %ifarch %{ix86}
 %define archname ia32
 %endif
@@ -84,8 +84,10 @@ Provides: lsb-core-%{archname} = %{version}
 Provides: lsb-graphics-%{archname} = %{version}
 Provides: lsb-core-noarch = %{version}
 Provides: lsb-graphics-noarch = %{version}
+Provides: lsb-printing-%{archname} = %{version}
+Provides: lsb-printing-noarch = %{version}
 
-ExclusiveArch: i386 ia64 x86_64 ppc ppc64 s390 s390x
+ExclusiveArch: %{ix86} ia64 x86_64 ppc ppc64 s390 s390x
 
 %ifarch %{ix86}
 # archLSB IA32 Base Libraries
@@ -539,11 +541,17 @@ make DESTDIR=$RPM_BUILD_ROOT install
 cd lsb-release-%{upstreamlsbrelver}
 make mandir=$RPM_BUILD_ROOT/%{_mandir} prefix=$RPM_BUILD_ROOT/%{_prefix} install
 cd ..
+touch $RPM_BUILD_ROOT/etc/lsb-release.d/core-4.0-%{archname}
+touch $RPM_BUILD_ROOT/etc/lsb-release.d/core-4.0-noarch
+touch $RPM_BUILD_ROOT/etc/lsb-release.d/desktop-4.0-%{archname}
+touch $RPM_BUILD_ROOT/etc/lsb-release.d/desktop-4.0-noarch
+touch $RPM_BUILD_ROOT/etc/lsb-release.d/printing-4.0-%{archname}
+touch $RPM_BUILD_ROOT/etc/lsb-release.d/printing-4.0-noarch
+# and claim LSB 3.1/3.2 is supported as well
 touch $RPM_BUILD_ROOT/etc/lsb-release.d/core-3.2-%{archname}
 touch $RPM_BUILD_ROOT/etc/lsb-release.d/core-3.2-noarch
 touch $RPM_BUILD_ROOT/etc/lsb-release.d/desktop-3.2-%{archname}
 touch $RPM_BUILD_ROOT/etc/lsb-release.d/desktop-3.2-noarch
-# and claim LSB 3.1 is supported as well
 touch $RPM_BUILD_ROOT/etc/lsb-release.d/core-3.1-%{archname}
 touch $RPM_BUILD_ROOT/etc/lsb-release.d/core-3.1-noarch
 touch $RPM_BUILD_ROOT/etc/lsb-release.d/desktop-3.1-%{archname}
@@ -603,13 +611,9 @@ fi
 %endif
 
 %files
-#/usr/X11R6/lib/X11/fonts
-#/usr/X11R6/lib/X11/rgb.txt
 %defattr(-,root,root)
 %{_sysconfdir}/lsb-vine
 %dir %{_sysconfdir}/lsb-release.d
-# These files are needed because they shows which LSB we're supporting now, 
-# for example, if core-3.1-noarch exists, it means we are supporting LSB3.1 now
 %{_sysconfdir}/lsb-release.d/*
 %{_mandir}/*/*
 %{_bindir}/*
@@ -621,6 +625,10 @@ fi
 /bin/mailx
 
 %changelog
+* Thu Jun 09 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 4.0-1
+- update to LSB4.0
+- provide lsb-printing{,-noarch}
+
 * Fri Oct 03 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 3.2-1
 - initial build for Vine Linux