diff --git a/README.md b/README.md index ea056ce..857749b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libnumbertext +Soros interpreters for C++11, Java, JavaScript and Python. + diff --git a/libnumbertext.spec b/libnumbertext.spec new file mode 100644 index 0000000..81c8a0d --- /dev/null +++ b/libnumbertext.spec @@ -0,0 +1,84 @@ +Name: libnumbertext +Version: 1.0 +Release: 1mamba +Summary: Soros interpreters for C++11, Java, JavaScript and Python +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/Numbertext/libnumbertext/releases +## GITSOURCE https://github.com/Numbertext/libnumbertext.git 1.0 +Source: https://github.com/Numbertext/libnumbertext.git/%{version}/libnumbertext-%{version}.tar.bz2 +License: BSD, LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Soros interpreters for C++11, Java, JavaScript and Python. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%package tools +Group: Applications/Publishing +Summary: Utility applications for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +This package contains utility applications for %{name}. + +%debug_package + +%prep +%setup -q + +%build +autoreconf -f -i +%configure + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libnumbertext-1.0.so.* +%dir %{_datadir}/libnumbertext* +%{_datadir}/libnumbertext/*.sor +%doc AUTHORS COPYING THANKS + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libnumbertext +%{_includedir}/libnumbertext/* +%{_libdir}/libnumbertext-1.0.a +%{_libdir}/libnumbertext-1.0.la +%{_libdir}/libnumbertext-1.0.so +%{_libdir}/pkgconfig/libnumbertext.pc +%doc ChangeLog NEWS README + +%files tools +%defattr(-,root,root) +%{_bindir}/spellout + +%changelog +* Sat Aug 11 2018 Silvan Calarco 1.0-1mamba +- package created using the webbuild interface