diff --git a/README.md b/README.md index 5eabf13..4aeeabc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libbraille +Libbraille is a computer shared library which makes it possible to easily develop for Braille displays. It provides a simple API to write text on the display, directly draw dots, or get the value of keys pressed on the Braille keyboard. + diff --git a/libbraille.spec b/libbraille.spec new file mode 100644 index 0000000..342a6f8 --- /dev/null +++ b/libbraille.spec @@ -0,0 +1,70 @@ +Name: libbraille +Version: 0.19.0 +Release: 2mamba +Summary: A library which makes it possible to easily develop for Braille displays +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://libbraille.org/ +Source: http://prdownloads.sourceforge.net/libbraille/libbraille-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libusb0-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Libbraille is a computer shared library which makes it possible to easily develop for Braille displays. It provides a simple API to write text on the display, directly draw dots, or get the value of keys pressed on the Braille keyboard. + +%package devel +Summary: Devel package for %{name} +Group: Development/Libraries +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Libbraille is a computer shared library which makes it possible to easily develop for Braille displays. It provides a simple API to write text on the display, directly draw dots, or get the value of keys pressed on the Braille keyboard. + +This package contains static libraries and header files need for development. + +%prep + +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%config(noreplace) %{_sysconfdir}/libbraille.conf +%{_bindir}/test_libbraille +%{_libdir}/libbraille-0.so.* +%dir %{_libdir}/libbraille +%{_libdir}/libbraille/* +%dir %{_datadir}/libbraille +%{_datadir}/libbraille/* +%doc AUTHORS COPYING ChangeLog README TODO + +%files devel +%defattr(-,root,root) +%dir %{_includedir} +%{_libdir}/libbraille.a +%{_libdir}/libbraille.la +%{_libdir}/libbraille.so +%{_includedir}/*.h + +%changelog +* Sat Aug 03 2013 Automatic Build System 0.19.0-2mamba +- automatic rebuild by autodist + +* Wed Sep 16 2009 Silvan Calarco 0.19.0-1mamba +- package created by autospec