From 4139d3726e7507196bb7a70fb338c4f491c1ef275a21c75fa7d52e1e9b319db3 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 6 Oct 2008 17:11:15 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/timezone?expand=0&rev=11 --- timezone-java.changes | 6 ++++ timezone-java.spec | 65 +++++++++++++++++++++++++++++++++++++++++++ timezone.changes | 6 ++++ timezone.spec | 29 +++---------------- 4 files changed, 81 insertions(+), 25 deletions(-) create mode 100644 timezone-java.changes create mode 100644 timezone-java.spec diff --git a/timezone-java.changes b/timezone-java.changes new file mode 100644 index 0000000..51e63f7 --- /dev/null +++ b/timezone-java.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Mon Sep 29 10:27:21 CEST 2008 - mvyskocil@suse.cz + +- Moved the timezone-java to separate specfile (adrian's request for better + bootstrapping of SUSE) + diff --git a/timezone-java.spec b/timezone-java.spec new file mode 100644 index 0000000..744b91d --- /dev/null +++ b/timezone-java.spec @@ -0,0 +1,65 @@ +# +# spec file for package timezone-java (Version 2008c) +# +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + + +Name: timezone-java +BuildRequires: fastjar gcc-gij javazic +License: Public Domain, Freeware +Summary: Timezone Descriptions +Group: System/Base +AutoReqProv: on +# tzcode-2008c is identical with tzcode-2008a +Version: 2008c +Release: 4 +Url: http://www.gnu.org/software/libc/libc.html +PreReq: filesystem +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +Source: tzdata%{version}.tar.gz +Provides: tzdata-java = %{version}-%{release} + +%description +These are configuration files that describe available time zones. You +can select an appropriate time zone for your system with YaST. + + + +%prep +%setup -c + +%build +gij -jar %{_javadir}/javazic.jar -V %{version} \ + -d javazi \ + africa antarctica asia australasia europe northamerica pacificnew \ + southamerica backward etcetera solar87 solar88 solar89 systemv \ + %{_datadir}/javazic/tzdata_jdk/gmt \ + %{_datadir}/javazic/tzdata_jdk/jdk11_backward + +%install +install -d -m 0755 $RPM_BUILD_ROOT/%{_datadir} +cp -a javazi $RPM_BUILD_ROOT%{_datadir} + +%files +%defattr(-,root,root) +%{_datadir}/javazi + +%changelog +* Mon Sep 29 2008 mvyskocil@suse.cz +- Moved the timezone-java to separate specfile (adrian's request for better + bootstrapping of SUSE) diff --git a/timezone.changes b/timezone.changes index 085ac83..fbc5cd0 100644 --- a/timezone.changes +++ b/timezone.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Sep 29 10:26:03 CEST 2008 - mvyskocil@suse.cz + +- Moved the timezone-java to separate specfile (adrian's request for better + bootstrapping of SUSE) + ------------------------------------------------------------------- Wed Sep 10 09:35:18 CEST 2008 - mvyskocil@suse.cz diff --git a/timezone.spec b/timezone.spec index 09afb01..33f7abb 100644 --- a/timezone.spec +++ b/timezone.spec @@ -19,14 +19,13 @@ Name: timezone -BuildRequires: fastjar gcc-gij javazic License: Public Domain, Freeware Summary: Timezone Descriptions Group: System/Base AutoReqProv: on # tzcode-2008c is identical with tzcode-2008a Version: 2008c -Release: 28 +Release: 29 Url: http://www.gnu.org/software/libc/libc.html PreReq: filesystem BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -42,18 +41,6 @@ can select an appropriate time zone for your system with YaST. -%package java -License: Public Domain, Freeware -Summary: Timezone Descriptions -Group: System/Base -Provides: tzdata-java = %{version}-%{release} - -%description java -These are configuration files that describe available time zones. You -can select an appropriate time zone for your system with YaST. - - - %prep %setup -c -a 1 %patch @@ -65,12 +52,6 @@ make TZDIR=%{_prefix}/share/zoneinfo CFLAGS="$RPM_OPT_FLAGS -DHAVE_GETTEXT=1 -DT make TZDIR=zoneinfo AWK=awk zones # Generate posixrules ./zic -y ./yearistype -d zoneinfo -p America/New_York -gij -jar %{_javadir}/javazic.jar -V %{version} \ - -d javazi \ - africa antarctica asia australasia europe northamerica pacificnew \ - southamerica backward etcetera solar87 solar88 solar89 systemv \ - %{_datadir}/javazic/tzdata_jdk/gmt \ - %{_datadir}/javazic/tzdata_jdk/jdk11_backward %install rm -rf zoneinfo-posix @@ -86,7 +67,6 @@ install -m 644 zone.tab $RPM_BUILD_ROOT/%{_prefix}/share/zoneinfo/zone.tab install -D -m 755 tzselect $RPM_BUILD_ROOT/%{_bindir}/tzselect install -D -m 755 zdump $RPM_BUILD_ROOT/%{_sbindir}/zdump install -D -m 755 zic $RPM_BUILD_ROOT/%{_sbindir}/zic -cp -a javazi $RPM_BUILD_ROOT%{_datadir} %clean rm -rf $RPM_BUILD_ROOT @@ -111,11 +91,10 @@ fi %{_sbindir}/zdump %{_sbindir}/zic -%files java -%defattr(-,root,root) -%{_datadir}/javazi - %changelog +* Mon Sep 29 2008 mvyskocil@suse.cz +- Moved the timezone-java to separate specfile (adrian's request for better + bootstrapping of SUSE) * Wed Sep 10 2008 mvyskocil@suse.cz - Remove a rht renaming hack, because is not necessary in SUSE's build system and move the javazic to a new package