Respect destination directory in "make install".
--HG-- branch : develop
This commit is contained in:
parent
b6506b2cae
commit
ccc52239a7
12
dist/rpm/valentina.spec
vendored
12
dist/rpm/valentina.spec
vendored
|
@ -83,7 +83,9 @@ qmake-qt5 PREFIX=%{buildroot}%{_prefix} Valentina.pro -r CONFIG+=no_ccache
|
||||||
|
|
||||||
%install
|
%install
|
||||||
export NO_DEBUGINFO_STRIP_DEBUG=true
|
export NO_DEBUGINFO_STRIP_DEBUG=true
|
||||||
%{__make} install
|
|
||||||
|
%{__make} INSTALL_ROOT=%{buildroot} install
|
||||||
|
|
||||||
gzip -9c dist/debian/%{name}.1 > dist/debian/%{name}.1.gz &&
|
gzip -9c dist/debian/%{name}.1 > dist/debian/%{name}.1.gz &&
|
||||||
%{__install} -Dm 644 dist/debian/%{name}.1.gz %{buildroot}%{_mandir}/man1/%{name}.1.gz
|
%{__install} -Dm 644 dist/debian/%{name}.1.gz %{buildroot}%{_mandir}/man1/%{name}.1.gz
|
||||||
|
|
||||||
|
@ -91,10 +93,10 @@ gzip -9c dist/debian/tape.1 > dist/debian/tape.1.gz &&
|
||||||
%{__install} -Dm 644 dist/debian/tape.1.gz %{buildroot}%{_mandir}/man1/tape.1.gz
|
%{__install} -Dm 644 dist/debian/tape.1.gz %{buildroot}%{_mandir}/man1/tape.1.gz
|
||||||
|
|
||||||
cp dist/debian/valentina.sharedmimeinfo dist/debian/%{name}.xml &&
|
cp dist/debian/valentina.sharedmimeinfo dist/debian/%{name}.xml &&
|
||||||
%{__install} -Dm 644 dist/debian/%{name}.xml %{_datadir}/mime/packages/%{name}.xml
|
%{__install} -Dm 644 dist/debian/%{name}.xml %{buildroot}%{_datadir}/mime/packages/%{name}.xml
|
||||||
|
|
||||||
cp dist/debian/valentina.mime dist/debian/%{name} &&
|
cp dist/debian/valentina.mime dist/debian/%{name} &&
|
||||||
%{__install} -Dm 644 dist/debian/%{name} %{_libdir}/mime/packages/%{name}
|
%{__install} -Dm 644 dist/debian/%{name} %{buildroot}%{_libdir}/mime/packages/%{name}
|
||||||
|
|
||||||
%if 0%{?suse_version} > 0
|
%if 0%{?suse_version} > 0
|
||||||
%suse_update_desktop_file -r %{name} VectorGraphics
|
%suse_update_desktop_file -r %{name} VectorGraphics
|
||||||
|
@ -150,6 +152,6 @@ rm -f dist/debian/%{name}.1.gz dist/debian/tape.1.gz dist/debian/%{name}.xml dis
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Dec 22 2014 Roman Telezhinskyi
|
* Mon Oct 27 2015 Roman Telezhinskyi
|
||||||
- Initial build
|
- Auto build
|
||||||
|
|
||||||
|
|
6
dist/valentina.dsc
vendored
6
dist/valentina.dsc
vendored
|
@ -11,8 +11,8 @@ Build-Depends: debhelper (>= 8.0.0), qtbase5-dev (>= 5.0.0), libqt5svg5-dev (>=
|
||||||
Package-List:
|
Package-List:
|
||||||
valentina deb graphics optional
|
valentina deb graphics optional
|
||||||
Checksums-Sha1:
|
Checksums-Sha1:
|
||||||
581eb1bf36b4ab7126b5983d809130f15396859e 24838101 valentina_0.3.3.tar.gz
|
581eb1bf36b4ab7126b5983d809130f15396859e 24838101 valentina_0.3.3.tar
|
||||||
Checksums-Sha256:
|
Checksums-Sha256:
|
||||||
9b156c7120a69b90373efb8ca9998c3e0563a60ad337210166cfd41b00b0f13c 24838101 valentina_0.3.3.tar.gz
|
9b156c7120a69b90373efb8ca9998c3e0563a60ad337210166cfd41b00b0f13c 24838101 valentina_0.3.3.tar
|
||||||
Files:
|
Files:
|
||||||
95677e29d3a59cf5b064f7be236a4b78 24838101 valentina_0.3.3.tar.gz
|
95677e29d3a59cf5b064f7be236a4b78 24838101 valentina_0.3.3.tar
|
||||||
|
|
Loading…
Reference in New Issue
Block a user