forked from pool/timezone
This commit is contained in:
parent
e64c39b89f
commit
4139d3726e
6
timezone-java.changes
Normal file
6
timezone-java.changes
Normal file
@ -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)
|
||||||
|
|
65
timezone-java.spec
Normal file
65
timezone-java.spec
Normal file
@ -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)
|
@ -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
|
Wed Sep 10 09:35:18 CEST 2008 - mvyskocil@suse.cz
|
||||||
|
|
||||||
|
@ -19,14 +19,13 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: timezone
|
Name: timezone
|
||||||
BuildRequires: fastjar gcc-gij javazic
|
|
||||||
License: Public Domain, Freeware
|
License: Public Domain, Freeware
|
||||||
Summary: Timezone Descriptions
|
Summary: Timezone Descriptions
|
||||||
Group: System/Base
|
Group: System/Base
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
# tzcode-2008c is identical with tzcode-2008a
|
# tzcode-2008c is identical with tzcode-2008a
|
||||||
Version: 2008c
|
Version: 2008c
|
||||||
Release: 28
|
Release: 29
|
||||||
Url: http://www.gnu.org/software/libc/libc.html
|
Url: http://www.gnu.org/software/libc/libc.html
|
||||||
PreReq: filesystem
|
PreReq: filesystem
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
%prep
|
||||||
%setup -c -a 1
|
%setup -c -a 1
|
||||||
%patch
|
%patch
|
||||||
@ -65,12 +52,6 @@ make TZDIR=%{_prefix}/share/zoneinfo CFLAGS="$RPM_OPT_FLAGS -DHAVE_GETTEXT=1 -DT
|
|||||||
make TZDIR=zoneinfo AWK=awk zones
|
make TZDIR=zoneinfo AWK=awk zones
|
||||||
# Generate posixrules
|
# Generate posixrules
|
||||||
./zic -y ./yearistype -d zoneinfo -p America/New_York
|
./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
|
%install
|
||||||
rm -rf zoneinfo-posix
|
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 tzselect $RPM_BUILD_ROOT/%{_bindir}/tzselect
|
||||||
install -D -m 755 zdump $RPM_BUILD_ROOT/%{_sbindir}/zdump
|
install -D -m 755 zdump $RPM_BUILD_ROOT/%{_sbindir}/zdump
|
||||||
install -D -m 755 zic $RPM_BUILD_ROOT/%{_sbindir}/zic
|
install -D -m 755 zic $RPM_BUILD_ROOT/%{_sbindir}/zic
|
||||||
cp -a javazi $RPM_BUILD_ROOT%{_datadir}
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -111,11 +91,10 @@ fi
|
|||||||
%{_sbindir}/zdump
|
%{_sbindir}/zdump
|
||||||
%{_sbindir}/zic
|
%{_sbindir}/zic
|
||||||
|
|
||||||
%files java
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_datadir}/javazi
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Sep 10 2008 mvyskocil@suse.cz
|
||||||
- Remove a rht renaming hack, because is not necessary in SUSE's build system
|
- Remove a rht renaming hack, because is not necessary in SUSE's build system
|
||||||
and move the javazic to a new package
|
and move the javazic to a new package
|
||||||
|
Loading…
Reference in New Issue
Block a user