forked from pool/timezone
This commit is contained in:
committed by
Git OBS Bridge
parent
3dc4b6c67e
commit
34f4611dfb
@@ -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
|
||||
|
Reference in New Issue
Block a user