packages: libantlr3c/libantlr3c.spec (NEW) - new package
japhy
japhy at pld-linux.org
Wed Apr 13 23:36:59 CEST 2011
Author: japhy Date: Wed Apr 13 21:36:59 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- new package
---- Files affected:
packages/libantlr3c:
libantlr3c.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/libantlr3c/libantlr3c.spec
diff -u /dev/null packages/libantlr3c/libantlr3c.spec:1.1
--- /dev/null Wed Apr 13 23:36:59 2011
+++ packages/libantlr3c/libantlr3c.spec Wed Apr 13 23:36:54 2011
@@ -0,0 +1,86 @@
+# $Revision$, $Date$
+#
+Summary: C language runtime for antlr3
+Summary(pl.UTF-8): Biblioteka C dla antlr3
+Name: libantlr3c
+Version: 3.2
+Release: 0.1
+License: BSD
+Group: Libraries
+Source0: http://www.antlr.org/download/C/%{name}-%{version}.tar.gz
+# Source0-md5: 674646e1d1bf5c6015435480cead725a
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+C runtime for antlr3
+
+%description -l pl.UTF-8
+Biblioteki C dla antlr3
+
+%package devel
+Summary: Header files for libantlr3c library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libantlr3c
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for libantlr3c library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libantlr3c.
+
+%package static
+Summary: Static libantlr3c library
+Summary(pl.UTF-8): Statyczna biblioteka libantlr3c
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description static
+Static libantlr3c library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libantlr3c.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc README NEWS
+%attr(755,root,root) %{_libdir}/libantlr3c.so
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libantlr3c.la
+%{_includedir}/*.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libantlr3c.a
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2011/04/13 21:36:54 japhy
+ - new package
+
================================================================
More information about the pld-cvs-commit
mailing list