[jcal] Initial import
Hedayat Vatankhah
hedayat at fedoraproject.org
Wed Nov 23 13:46:11 UTC 2011
commit 27b5751af2c558311b0dc85183c59f16b93b893c
Author: Hedayat Vatankhah <hedayat.fwd at gmail.com>
Date: Wed Nov 23 17:14:39 2011 +0330
Initial import
jcal.spec | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
2 files changed, 79 insertions(+), 0 deletions(-)
---
diff --git a/jcal.spec b/jcal.spec
new file mode 100644
index 0000000..4921cc5
--- /dev/null
+++ b/jcal.spec
@@ -0,0 +1,78 @@
+Name: jcal
+Version: 0.4.1
+Release: 2%{?dist}
+Summary: Unix cal-like interface to libjalali
+Group: System Environment/Base
+
+License: GPLv3+
+URL: http://nongnu.org/jcal/
+Source0: http://download.savannah.gnu.org/releases/%{name}/%{name}-%{version}.tar.gz
+
+BuildRequires: autoconf automake libtool
+
+%description
+This package provides two applications: jcal and jdate which use libjalali
+for calendar calculation.
+
+jcal is a UNIX cal-like tool to display calendar based on Jalali calendar
+system.
+
+jdate is UNIX date-like tool to display date and time based on Jalali
+calendar system.
+
+%package -n libjalali
+Summary: A library providing Jalali calendar functions
+Group: Development/Libraries
+
+%description -n libjalali
+Jalali calendar is a small and portable free software library to manipulate
+date and time in Jalali calendar system. It's written in C and has absolutely
+zero dependencies. It works on top of any POSIX.1-2001 (and later) compatible
+libc implementations. Jalali calendar provides an API similar to that of
+libc's timezone, date and time functions.
+
+%package -n libjalali-devel
+Summary: Development files for libjalali
+Group: Development/Libraries
+Requires: libjalali%{?_isa} = %{version}-%{release}
+
+%description -n libjalali-devel
+The libjalali-devel package contains libraries and header files for
+developing applications that use libjalali.
+
+%prep
+%setup -q -c
+
+%build
+./autogen.sh
+%configure --disable-static
+make %{?_smp_mflags}
+
+%install
+make install DESTDIR=%{buildroot}
+rm -f %{buildroot}/%{_libdir}/*.la
+
+%post -n libjalali -p /sbin/ldconfig
+
+%postun -n libjalali -p /sbin/ldconfig
+
+%files
+%doc README NEWS TODO AUTHORS ChangeLog COPYING
+%{_bindir}/*
+%{_mandir}/man1/*
+
+%files -n libjalali
+%{_libdir}/*so.*
+
+%files -n libjalali-devel
+%{_libdir}/*.so
+%{_includedir}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Nov 22 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog at gmail.com> - 0.4.1-2
+- Add missing buildrequires
+
+* Sun Nov 20 2011 Hedayat Vatankhah <hedayat.fwd+rpmchlog at gmail.com> - 0.4.1-1
+- Initial version
+
diff --git a/sources b/sources
index e69de29..125eef9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+d4f94ee612494cd0ab0cf1f537aaa33b jcal-0.4.1.tar.gz
More information about the scm-commits
mailing list