]> git.pld-linux.org Git - packages/libb64.git/commitdiff
new, version 1.2; static only library auto/th/libb64-1.2-1
authorElan Ruusamäe <glen@delfi.ee>
Mon, 14 Dec 2015 09:19:52 +0000 (11:19 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 14 Dec 2015 09:19:52 +0000 (11:19 +0200)
libb64.spec [new file with mode: 0644]

diff --git a/libb64.spec b/libb64.spec
new file mode 100644 (file)
index 0000000..cb98273
--- /dev/null
@@ -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
This page took 0.092879 seconds and 4 git commands to generate.