Add RPM date.
This commit is contained in:
parent
8da9887147
commit
0891bb0128
|
@ -1,28 +1,14 @@
|
||||||
execute_process(COMMAND date "+%a %b %d %Y"
|
set(ENV{LC_ALL} "en_US.utf8")
|
||||||
OUTPUT_VARIABLE RPM_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
|
execute_process(COMMAND date "+%a %b %d %Y" OUTPUT_VARIABLE RPM_DATE OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
|
|
||||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/strawberry.spec.in
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/strawberry.spec.in ${CMAKE_CURRENT_SOURCE_DIR}/strawberry.spec @ONLY)
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/strawberry.spec @ONLY)
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/maketarball.sh.in ${CMAKE_CURRENT_SOURCE_DIR}/maketarball.sh @ONLY)
|
||||||
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/maketarball.sh.in
|
|
||||||
${CMAKE_CURRENT_SOURCE_DIR}/maketarball.sh @ONLY)
|
|
||||||
|
|
||||||
if (UNIX)
|
if (UNIX)
|
||||||
install(FILES ../data/icons/48x48/strawberry.png
|
install(FILES ../data/icons/48x48/strawberry.png DESTINATION share/icons/hicolor/48x48/apps/)
|
||||||
DESTINATION share/icons/hicolor/48x48/apps/
|
install(FILES ../data/icons/64x64/strawberry.png DESTINATION share/icons/hicolor/64x64/apps/)
|
||||||
)
|
install(FILES ../data/icons/128x128/strawberry.png DESTINATION share/icons/hicolor/128x128/apps/)
|
||||||
install(FILES ../data/icons/64x64/strawberry.png
|
install(FILES ../data/icons/128x128/strawberry.svg DESTINATION share/icons/hicolor/scalable/apps/)
|
||||||
DESTINATION share/icons/hicolor/64x64/apps/
|
install(FILES strawberry.desktop DESTINATION share/applications)
|
||||||
)
|
install(FILES strawberry.1 strawberry-tagreader.1 DESTINATION share/man/man1)
|
||||||
install(FILES ../data/icons/128x128/strawberry.png
|
|
||||||
DESTINATION share/icons/hicolor/128x128/apps/
|
|
||||||
)
|
|
||||||
install(FILES ../data/icons/128x128/strawberry.svg
|
|
||||||
DESTINATION share/icons/hicolor/scalable/apps/
|
|
||||||
)
|
|
||||||
install(FILES strawberry.desktop
|
|
||||||
DESTINATION share/applications
|
|
||||||
)
|
|
||||||
install(FILES strawberry.1 strawberry-tagreader.1
|
|
||||||
DESTINATION share/man/man1
|
|
||||||
)
|
|
||||||
endif (UNIX)
|
endif (UNIX)
|
||||||
|
|
|
@ -121,3 +121,5 @@ make clean
|
||||||
%{_mandir}/man1/%{name}-tagreader.1%{?ext_man}
|
%{_mandir}/man1/%{name}-tagreader.1%{?ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* @RPM_DATE@ Jonas Kvinge <jonas@strawbs.net> - @STRAWBERRY_VERSION_RPM_V@
|
||||||
|
- Version @STRAWBERRY_VERSION_PACKAGE@
|
||||||
|
|
Loading…
Reference in New Issue