]> git.pld-linux.org Git - packages/tzdata.git/blobdiff - tzdata.spec
- updated to 2009t/2009u
[packages/tzdata.git] / tzdata.spec
index f28dd19e90f887450a0ead835fd3fffb0d62151b..fe49fe896469911db2a9d2ea1aa20da487d7468f 100644 (file)
@@ -2,21 +2,21 @@
 # Conditional build
 %bcond_without tests                   # make check
 #
-%define        tzdata_ver      2008b
-%define        tzcode_ver      2008a
+%define                tzcode_ver      2009t
+%define                tzdata_ver      2009u
 Summary:       Timezone data
 Summary(pl.UTF-8):     Dane o strefach czasowych
 Name:          tzdata
 Version:       %{tzdata_ver}
-Release:       5
+Release:       1
 License:       Public Domain (database), BSD/LGPL v2.1+ (code/test suite)
 Group:         Base
 Source0:       %{name}-base-0.tar.bz2
 # Source0-md5: 906a4c98cc5240f416524a256b039c42
 Source1:       ftp://elsie.nci.nih.gov/pub/%{name}%{tzdata_ver}.tar.gz
-# Source1-md5: dbeb9a327bbff77ab4078488b8c5323a
+# Source1-md5: 91355f66ab9bffe3d450357ff7a1189a
 Source2:       ftp://elsie.nci.nih.gov/pub/tzcode%{tzcode_ver}.tar.gz
-# Source2-md5: 4a04c12a8ec50b0a8cfc9ebce96b07d3
+# Source2-md5: 17fe1e12237b11d490f62dcec4b4bc11
 Source3:       timezone.init
 Source4:       timezone.sysconfig
 Patch0:                %{name}-test-update.patch
@@ -57,6 +57,17 @@ No lo necesita. Encontrará los detalles en:
 Nie potrzebujesz tego. Szczegóły pod:
 <http://sources.redhat.com/ml/libc-alpha/2000-12/msg00068.html>.
 
+%package devel
+Summary:       tzfile header file
+Summary(pl.UTF-8):     Plik nagłówkowy tzfile
+Group:         Development/Libraries
+
+%description devel
+Header file for timezone database.
+
+%description devel -l pl.UTF-8
+Plik nagłówkowy bazy danych stref czasowych.
+
 %prep
 %setup -qc
 mv tzdata/* .
@@ -79,6 +90,8 @@ grep -v tz-art.htm tzcode/tz-link.htm > tzcode/tz-link.html
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/etc/{sysconfig,rc.d/init.d}
+install -d $RPM_BUILD_ROOT%{_includedir}
+install -d $RPM_BUILD_ROOT%{_mandir}/man5
 
 %{__make} install
 
@@ -100,6 +113,10 @@ ln -sf localtime $RPM_BUILD_ROOT%{_datadir}/zoneinfo/posixrules
 
 > $RPM_BUILD_ROOT/etc/localtime
 
+# header file
+install tzcode/tzfile.h $RPM_BUILD_ROOT%{_includedir}/tzfile.h
+install tzcode/tzfile.5 $RPM_BUILD_ROOT%{_mandir}/man5
+
 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/timezone
 cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/timezone
 
@@ -156,3 +173,9 @@ fi
 %files zoneinfo_right
 %defattr(644,root,root,755)
 %{_datadir}/zoneinfo/right
+
+%files devel
+%defattr(644,root,root,755)
+%doc tzcode/tzfile.5.txt
+%{_includedir}/tzfile.h
+%{_mandir}/man5/tzfile.5*
This page took 0.14817 seconds and 4 git commands to generate.