Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
dub
dub.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dub.spec of Package dub
# # spec file for package dub # # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: dub Version: 1.8.1 Release: 0 Summary: Package manager and meta build tool for the D programming language License: MIT Group: Development/Languages/Other URL: http://code.dlang.org Source: https://github.com/dlang/dub/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: dmd BuildRequires: phobos-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(libcurl) %description Package Manager for the D Programming language. DUB emerged as a more general replacement for vibe.d's package manager. It does not imply a dependecy 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 support the use of dub.json (dub's package description) as project file. %prep %autosetup # reproducible builds: perl -i -pe 's{__DATE__}{""}g' source/dub/commandline.d %build echo Generating version file... echo "module dub.version_;" > source/dub/version_.d echo "enum dubVersion = \"%{version}\";" >> source/dub/version_.d dmd -defaultlib=:libphobos2.so -ofbin/dub -w -O -g -version=DubUseCurl -Isource -L-lcurl @build-files.txt %install mkdir -p %{buildroot}%{_bindir}/ install -D -m 755 bin/%{name} %{buildroot}%{_bindir}/ %files %doc CHANGELOG.md README.md %license LICENSE.txt %{_bindir}/%{name} %changelog
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