Group :: Desenvolvimento/Ruby
RPM: gem-rdiscount
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define pkgname rdiscount
Name: gem-%pkgname
Version: 2.2.0.2
Release: alt1
Summary: Discount (For Ruby) Implementation of John Gruber's Markdown
License: BSD-3-Clause
Group: Development/Ruby
Url: http://dafoster.net/projects/rdiscount/
Vcs: https://github.com/davidfstr/rdiscount.git
Packager: Ruby Maintainers Team <ruby at packages.altlinux.org>
Source: %name-%version.tar
BuildRequires(pre): rpm-build-ruby
BuildRequires: gem(ronn)
%add_findreq_skiplist %ruby_gemslibdir/**/*
%add_findprov_skiplist %ruby_gemslibdir/**/*
%description
Discount is an implementation of John Gruber's Markdown markup language
in C. It implements all of the language described in the markdown syntax
document and passes the Markdown 1.0 test suite.
%package -n %pkgname
Summary: %summary
Group: Development/Ruby
BuildArch: noarch
%description -n %pkgname
Discount is an implementation of John Gruber's Markdown markup language
in C. It implements all of the language described in the markdown syntax
document and passes the Markdown 1.0 test suite.
%description -n %pkgname -l ru_RU.UTF8
Исполнямка для самоцвета %gemname.
%package doc
Summary: Documentation files for %gemname gem
Summary(ru_RU.UTF-8): Файлы сведений для самоцвета %gemname
Group: Development/Documentation
BuildArch: noarch
%description doc
Documentation files for %gemname gem.
%description doc -l ru_RU.UTF8
Файлы сведений для самоцвета %gemname.
%package devel
Summary: Development headers files for %gemname gem
Summary(ru_RU.UTF-8): Файлы заголовков для самоцвета %gemname
Group: Development/Documentation
BuildArch: noarch
Conflicts: libsexpr-devel
Conflicts: libbobpp-devel
Conflicts: libdiscount-devel
Conflicts: libpicosat-devel
%description devel
Development headers for %gemname gem.
%description devel -l ru_RU.UTF8
Файлы заголовков для самоцвета %gemname.
%prep
%setup
%build
%ruby_build
%install
%ruby_install
%check
%ruby_test
%files
%doc README*
%ruby_gemspec
%ruby_gemextdir
%ruby_gemlibdir
%files -n %pkgname
%doc README*
%_bindir/%pkgname
%_mandir/*
%files doc
%ruby_gemdocdir
%files devel
%ruby_includedir/*
%changelog
…
Todas as alterações você pod ver aqui
Name: gem-%pkgname
Version: 2.2.0.2
Release: alt1
Summary: Discount (For Ruby) Implementation of John Gruber's Markdown
License: BSD-3-Clause
Group: Development/Ruby
Url: http://dafoster.net/projects/rdiscount/
Vcs: https://github.com/davidfstr/rdiscount.git
Packager: Ruby Maintainers Team <ruby at packages.altlinux.org>
Source: %name-%version.tar
BuildRequires(pre): rpm-build-ruby
BuildRequires: gem(ronn)
%add_findreq_skiplist %ruby_gemslibdir/**/*
%add_findprov_skiplist %ruby_gemslibdir/**/*
%description
Discount is an implementation of John Gruber's Markdown markup language
in C. It implements all of the language described in the markdown syntax
document and passes the Markdown 1.0 test suite.
%package -n %pkgname
Summary: %summary
Group: Development/Ruby
BuildArch: noarch
%description -n %pkgname
Discount is an implementation of John Gruber's Markdown markup language
in C. It implements all of the language described in the markdown syntax
document and passes the Markdown 1.0 test suite.
%description -n %pkgname -l ru_RU.UTF8
Исполнямка для самоцвета %gemname.
%package doc
Summary: Documentation files for %gemname gem
Summary(ru_RU.UTF-8): Файлы сведений для самоцвета %gemname
Group: Development/Documentation
BuildArch: noarch
%description doc
Documentation files for %gemname gem.
%description doc -l ru_RU.UTF8
Файлы сведений для самоцвета %gemname.
%package devel
Summary: Development headers files for %gemname gem
Summary(ru_RU.UTF-8): Файлы заголовков для самоцвета %gemname
Group: Development/Documentation
BuildArch: noarch
Conflicts: libsexpr-devel
Conflicts: libbobpp-devel
Conflicts: libdiscount-devel
Conflicts: libpicosat-devel
%description devel
Development headers for %gemname gem.
%description devel -l ru_RU.UTF8
Файлы заголовков для самоцвета %gemname.
%prep
%setup
%build
%ruby_build
%install
%ruby_install
%check
%ruby_test
%files
%doc README*
%ruby_gemspec
%ruby_gemextdir
%ruby_gemlibdir
%files -n %pkgname
%doc README*
%_bindir/%pkgname
%_mandir/*
%files doc
%ruby_gemdocdir
%files devel
%ruby_includedir/*
%changelog
…
Todas as alterações você pod ver aqui