Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Algorithms Library Toolkit Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Algorithms Library Toolkit
Algorithms Library Toolkit Core
Commits
c75a5bc0
Commit
c75a5bc0
authored
6 years ago
by
Jan Trávníček
Browse files
Options
Downloads
Patches
Plain Diff
update spec file
parent
63a83659
No related branches found
No related tags found
No related merge requests found
Pipeline
#23021
canceled
6 years ago
Stage: build
Stage: test
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
extra/obs/algorithms-library.spec
+11
-6
11 additions, 6 deletions
extra/obs/algorithms-library.spec
with
11 additions
and
6 deletions
extra/obs/algorithms-library.spec
+
11
−
6
View file @
c75a5bc0
...
@@ -42,7 +42,7 @@ The library provides graphical and console interface similar to bash with many c
...
@@ -42,7 +42,7 @@ The library provides graphical and console interface similar to bash with many c
%package devel
%package devel
Summary: Development files for algorithms-library
Summary: Development files for algorithms-library
Group: Development/Libraries/C and C++
Group: Development/Libraries/C and C++
Requires: algorithms-library = 0.0.1
-2%{?dist}
Requires: algorithms-library = 0.0.1
%description devel
%description devel
Theoretical computer science datastructures and algorithms implementation development sources.
Theoretical computer science datastructures and algorithms implementation development sources.
...
@@ -59,7 +59,7 @@ The library provides graphical and console interface similar to bash with many c
...
@@ -59,7 +59,7 @@ The library provides graphical and console interface similar to bash with many c
mkdir debug
mkdir debug
cd debug
cd debug
cmake -DCMAKE_BUILD_TYPE=Release -DALIB_PRODUCTION=1 ..
cmake -DCMAKE_BUILD_TYPE=Release -DALIB_PRODUCTION=1 ..
make
make
-j6
%install
%install
cd debug
cd debug
...
@@ -67,7 +67,12 @@ cd debug
...
@@ -67,7 +67,12 @@ cd debug
cd ..
cd ..
for library in alib2std alib2abstraction alib2algo alib2algo_experimental alib2aux alib2cli alib2common alib2data alib2data_experimental alib2dummy alib2elgo alib2graph_algo alib2graph_data alib2gui alib2measure alib2raw alib2raw_cli_integration alib2std alib2str alib2str_cli_integration alib2xml; do
for library in alib2std alib2abstraction alib2algo alib2algo_experimental alib2aux alib2cli alib2common alib2data alib2data_experimental alib2dummy alib2elgo alib2graph_algo alib2graph_data alib2gui alib2measure alib2raw alib2raw_cli_integration alib2std alib2str alib2str_cli_integration alib2xml; do
find ${library}/src/ -name "*\.hpp" -o -name "*\.h" -o -name "*\.hxx" | while read line; do target=$(dirname ${RPM_BUILD_ROOT}/usr/include/algorithms-library/`echo $line | cut -sd / -f 3-`); mkdir -p $target && cp $line $target; done
find ${library}/src/ -name "*\.hpp" -o -name "*\.h" -o -name "*\.hxx" | while read line; do
if [ -s "$line" ]; then
target=$(dirname ${RPM_BUILD_ROOT}/usr/include/algorithms-library/`echo $line | cut -sd / -f 3-`)
mkdir -p $target && cp $line $target
fi
done
done
done
cd alib2std/src/
cd alib2std/src/
cp -r alib ${RPM_BUILD_ROOT}/usr/include/algorithms-library/
cp -r alib ${RPM_BUILD_ROOT}/usr/include/algorithms-library/
...
@@ -197,8 +202,8 @@ cp -r alib ${RPM_BUILD_ROOT}/usr/include/algorithms-library/
...
@@ -197,8 +202,8 @@ cp -r alib ${RPM_BUILD_ROOT}/usr/include/algorithms-library/
/usr/include/algorithms-library/*
/usr/include/algorithms-library/*
%changelog
%changelog
* Wed Nov 15 2018 Jan Travnicek <Jan.Travnicek@fit.cvut.cz> 0.0.1-2
- Add devel package
* Wed Nov 14 2018 Jan Travnicek <Jan.Travnicek@fit.cvut.cz> 0.0.1-1
* Wed Nov 14 2018 Jan Travnicek <Jan.Travnicek@fit.cvut.cz> 0.0.1-1
- Initial RPM release
- Initial RPM release
* Wed Nov 14 2018 Jan Travnicek <Jan.Travnicek@fit.cvut.cz> 0.0.1-2
- Add devel package
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment