Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37560011
en ru br
ALT Linux repos
S:1.24.1-alt1

Group :: Development/Other
RPM: dub

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1

# follow architectures of D compiler

ExclusiveArch: %ix86 x86_64

Name: dub
Version: 1.24.1
Release: alt1
Summary: Package and build management system for D
Group: Development/Other
License: MIT
Url: https://dlang.org/

# https://github.com/dlang/dub.git

Source: %name-%version.tar

BuildRequires: dmd

%description
DUB emerged as a more general replacement for vibe.d's package manager.
It does not imply a dependency to vibe.d for packages and was extended
to not only directly build projects, but also to generate project files
(currently VisualD). Mono-D also supports the use of
dub.json (dub's package description) as the project file.

The project's philosophy is to keep things as simple as possible.
All that is needed to make a project a dub package is to write
a short dub.json file and put the source code into a source subfolder.
It can then be registered on the public package registry
to be made available for everyone. Any dependencies specified in dub.json
are automatically downloaded and made available to the project during
the build process.

Key features:
* Simple package and build description not getting in your way
* Integrated with Git, avoiding maintenance tasks such as incrementing
 version numbers or uploading new project releases
* Generates VisualD project/solution files, integrated into MonoD
* Support for DMD, GDC and LDC (common DMD flags are translated automatically)
* Supports development workflows by optionally using local directories
 as a package source

%prep
%setup

%build
dmd -run build.d

%install
install -Dm755 bin/dub %buildroot%_bindir/dub

%files
%doc LICENSE
%doc ARCHITECTURE.md CONTRIBUTING.md README.md
%_bindir/dub

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin