[packages/libb64] new, version 1.2; static only library
glen
glen at pld-linux.org
Mon Dec 14 10:20:16 CET 2015
commit ff5f4728711e7d789dcbe47025fcd1ef1eaa266b
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Dec 14 11:19:52 2015 +0200
new, version 1.2; static only library
libb64.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
---
diff --git a/libb64.spec b/libb64.spec
new file mode 100644
index 0000000..cb98273
--- /dev/null
+++ b/libb64.spec
@@ -0,0 +1,52 @@
+# TODO
+# - shared library?
+Summary: Fast Base64 encoding/decoding routines
+Name: libb64
+Version: 1.2
+Release: 1
+License: CC-PD
+Group: Libraries
+Source0: http://downloads.sourceforge.net/libb64/%{name}-%{version}.src.zip
+# Source0-md5: a609809408327117e2c643bed91b76c5
+URL: http://libb64.sourceforge.net/
+BuildRequires: unzip
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Fast Base64 encoding/decoding routines.
+
+%package devel
+Summary: Header files for %{name} library
+Summary(pl.UTF-8): Pliki nagłówkowe biblioteki %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for %{name} library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki %{name}.
+
+%prep
+%setup -q
+
+%build
+# override -O3, -Werror non-sense
+%{__make} -C src \
+ CFLAGS="%{rpmcflags} -I../include"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}
+cp -p src/libb64.a $RPM_BUILD_ROOT%{_libdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+
+%files devel
+%defattr(644,root,root,755)
+%doc AUTHORS BENCHMARKS CHANGELOG README
+%{_libdir}/libb64.a
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libb64.git/commitdiff/ff5f4728711e7d789dcbe47025fcd1ef1eaa266b
More information about the pld-cvs-commit
mailing list