SPECS: libgsmat.spec (NEW) - new

adamg adamg at pld-linux.org
Sun Dec 30 23:13:00 CET 2007


Author: adamg                        Date: Sun Dec 30 22:13:00 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   libgsmat.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/libgsmat.spec
diff -u /dev/null SPECS/libgsmat.spec:1.1
--- /dev/null	Sun Dec 30 23:13:00 2007
+++ SPECS/libgsmat.spec	Sun Dec 30 23:12:55 2007
@@ -0,0 +1,91 @@
+# $Revision$, $Date$
+Summary:	An implementation of GSM 07.07
+Summary(pl.UTF-8):	Implementacja standardu GSM 07.07
+Name:		libgsmat
+Version:	0.0.2
+Release:	0.1
+License:	GPL
+Group:		Libraries
+Source0:	%{name}-%{version}.tar.bz2
+# Source0-md5:	5d2458d8521e6b2e664ea7570964cf5c
+Patch0:		%{name}-install.patch
+# from bristuff-*.tar.gz 
+URL:		http://212.91.251.199/~junghanns.net/downloads/
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+libgsmat provides an implementation of GSM 07.07.
+
+%description -l pl.UTF-8
+libgsmat udostępnia implementację GSM 07.07
+
+%package devel
+Summary:	Header files for libgsmat library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki libgsmat
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for libgsmat library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki libgsmat.
+
+%package static
+Summary:	Static libgsmat library
+Summary(pl.UTF-8):	Statyczna biblioteka libgsmat
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static libgsmat library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka libgsmat.
+
+%prep
+%setup -q
+%patch0 -p1
+chmod u+x mkdep
+
+%build
+%{__make} \
+	CC="%{__cc}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	INSTALL_PREFIX=$RPM_BUILD_ROOT
+
+install %{name}.so $RPM_BUILD_ROOT%{_libdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog README TODO
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_includedir}/%{name}.h
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.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  2007-12-30 22:12:55  adamg
+- new
+
================================================================


More information about the pld-cvs-commit mailing list