Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:25
erlang-gettext
erlang-gettext.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File erlang-gettext.spec of Package erlang-gettext
%define bname gettext Name: erlang-%bname Version: 2.1.0 Release: 4 Summary: Erlang Gettext tools for multi-lingual capabilities License: MIT Group: Development/Tools/Other URL: https://github.com/etnt/%bname Source: %bname.tar.xz BuildArch: noarch BuildRequires: rpm-macros-erlang rpm-build-erlang BuildRequires: rebar >= 2.6.1-7 %description Erlang Gettext tools for multi-lingual capabilities. The gettext application makes it possible to internationalize your Erlang application. The name gettext comes from the GNU package with the same name. However, the only thing they have in common is the format of the PO-files, i.e, the files containing the text that can be translated. Using gettext you can create an initial PO-file containing all the strings of your application that should be possible to translate. By translating the strings into some other language and loading the new PO-file into the gettext database you can adapt your application for different languages. %prep %setup -q -n %bname %build echo '{erl_opts, [inline, slim]}.' > %bname.rebar.config for c in compile doc; do rebar -C %bname.rebar.config $c -v done %install for i in ebin include; do install -d -m 0755 %buildroot%_otplibdir/%bname-%version/$i install -p -m 0644 $i/* %buildroot%_otplibdir/%bname-%version/$i/ done install -d -m 0755 %buildroot%_otplibdir/%bname-%version/doc install -p -m 0644 doc/*.{css,html,png} %buildroot%_otplibdir/%bname-%version/doc/ install -d -m 0755 %buildroot%_docdir/%name install -p -m 0644 README* %buildroot%_docdir/%name/ ln -sf %_otplibdir/%bname-%version/doc %buildroot%_docdir/%name/html %files %defattr(-,root,root) %doc %_docdir/%name %_otplibdir/* %changelog * Thu Mar 17 2016 Led <ledest@gmail.com> 2.1.0-4 - clean up BuildRequires * Sun Apr 05 2015 Led <ledest@gmail.com> 2.1.0-3 - fix %%files * Mon Mar 30 2015 Led <ledest@gmail.com> 2.1.0-2 - add docs - clean up spec * Sat Feb 28 2015 Led <ledest@gmail.com> 2.1.0-1 - initial build
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor