From 7b358424ebad9349421acd533c2fa1cbf6cf3e3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 28 Dec 2016 16:52:56 +0100 Subject: Initial import of xtrkcad version 1:4.0.2-2 --- distribution/posix/CMakeLists.txt | 20 ++++++++++++ distribution/posix/CMakeListsSTGZ.txt | 9 ++++++ distribution/posix/changelog.txt | 2 ++ distribution/posix/xtrkcad-desc.txt | 11 +++++++ distribution/posix/xtrkcad.spec | 42 +++++++++++++++++++++++++ distribution/posix/xtrkcad_4.2.1.debian.tar.gz | Bin 0 -> 11905 bytes distribution/posix/xtrkcad_4.2.1.dsc | 20 ++++++++++++ 7 files changed, 104 insertions(+) create mode 100644 distribution/posix/CMakeLists.txt create mode 100644 distribution/posix/CMakeListsSTGZ.txt create mode 100644 distribution/posix/changelog.txt create mode 100644 distribution/posix/xtrkcad-desc.txt create mode 100644 distribution/posix/xtrkcad.spec create mode 100644 distribution/posix/xtrkcad_4.2.1.debian.tar.gz create mode 100644 distribution/posix/xtrkcad_4.2.1.dsc (limited to 'distribution/posix') diff --git a/distribution/posix/CMakeLists.txt b/distribution/posix/CMakeLists.txt new file mode 100644 index 0000000..daa89cf --- /dev/null +++ b/distribution/posix/CMakeLists.txt @@ -0,0 +1,20 @@ +# Setup packaging ... +SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "XTrackCAD is a CAD program for designing model railroad layouts.") +SET(CPACK_GENERATOR "TGZ" "RPM" "TBZ2") +SET(CPACK_PACKAGE_RELEASE 1) +SET(CPACK_RPM_PACKAGE_LICENSE "GPL") +SET(CPACK_RPM_PACKAGE_GROUP "Applications/Engineering") +SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}////xtrkcad-desc.txt") +SET(CPACK_PACKAGE_FILE_NAME "xtrkcad-setup-${XTRKCAD_VERSION}-${CPACK_PACKAGE_RELEASE}.${CMAKE_SYSTEM_PROCESSOR}") +SET(CPACK_INSTALL_PREFIX "/usr/local/" ) +SET(CPACK_PACKAGE_VENDOR "XTrackCAD Fork Project") +SET(CPACK_RPM_PACKAGE_REQUIRES "glibc gtk2 webkitgtk") +# exclude these directories from the rpm +SET(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/share/locale" + "/usr/share/locale/*" +) + +SET(CPACK_RPM_CHANGELOG_FILE "${CMAKE_CURRENT_SOURCE_DIR}////changelog.txt") + +INCLUDE(CPack) + diff --git a/distribution/posix/CMakeListsSTGZ.txt b/distribution/posix/CMakeListsSTGZ.txt new file mode 100644 index 0000000..f056462 --- /dev/null +++ b/distribution/posix/CMakeListsSTGZ.txt @@ -0,0 +1,9 @@ +# Setup packaging ... +SET(CPACK_GENERATOR "STGZ") +SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}////xtrkcad-desc.txt") +SET(CPACK_PACKAGE_FILE_NAME "xtrkcad-setup-${XTRKCAD_VERSION}.${CPACK_RPM_PACKAGE_ARCHITECTURE}") +SET(CPACK_SET_DESTDIR "") +SET(CPACK_INSTALL_PREFIX "" ) + +INCLUDE(CPack) + diff --git a/distribution/posix/changelog.txt b/distribution/posix/changelog.txt new file mode 100644 index 0000000..0d6bcf4 --- /dev/null +++ b/distribution/posix/changelog.txt @@ -0,0 +1,2 @@ +* Wed Jun 10 2015 Martin Fischer +- Initial RPM build configuration \ No newline at end of file diff --git a/distribution/posix/xtrkcad-desc.txt b/distribution/posix/xtrkcad-desc.txt new file mode 100644 index 0000000..516d70b --- /dev/null +++ b/distribution/posix/xtrkcad-desc.txt @@ -0,0 +1,11 @@ +XTrackCAD is a CAD program for designing Model Railroad layouts. +XTrackCAD supports any scale, has libraries of popular brands of x +turnouts and sectional track (plus you add your own easily), can +automatically use spiral transition curves when joining track +and has extensive on-line help and demonstrations. +XTrackCad lets you manipulate track much like you would with actual +flex-track to modify, extend and join tracks and turnouts. +Additional features include tunnels, 'post-it' notes, on-screen +ruler, parts list, 99 drawing layers, undo/redo commands, +benchwork, 'Print to BitMap', elevations, train simulation and +car inventory. diff --git a/distribution/posix/xtrkcad.spec b/distribution/posix/xtrkcad.spec new file mode 100644 index 0000000..4f5e72e --- /dev/null +++ b/distribution/posix/xtrkcad.spec @@ -0,0 +1,42 @@ +Summary: XTrkCad +Name: xtrkcad +Version: 4.2.1 +Release: 1%{?dist} +License: GPL +Group: Applications/Engineering +Vendor: XTrkCad Fork Project +Source: xtrkcad-source-%{version}.tar.gz +BuildRoot: /var/tmp/%{name}-root +BuildRequires: gcc, cmake >= 2.4.7, pkgconfig, gtk2-devel, webkitgtk-devel +BuildRequires: gettext, gettext-devel, glibc-devel +%description +XTrkCad is a CAD program for designing Model Railroad layouts. +XTrkCad supports any scale, has libraries of popular brands of x +turnouts and sectional track (plus you add your own easily), can +automatically use spiral transition curves when joining track +XTrkCad lets you manipulate track much like you would with actual +flex-track to modify, extend and join tracks and turnouts. +Additional features include tunnels, 'post-it' notes, on-screen +ruler, parts list, 99 drawing layers, undo/redo commands, +benchwork, 'Print to BitMap', elevations, train simulation and +car inventory. + +%prep +%setup -n xtrkcad-source-%{version} -q + +%build +cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr/ . +make + +%install +rm -rf $RPM_BUILD_ROOT/* +make DESTDIR=$RPM_BUILD_ROOT install + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-, root, root) +%{_bindir}/xtrkcad +%{_datadir} + diff --git a/distribution/posix/xtrkcad_4.2.1.debian.tar.gz b/distribution/posix/xtrkcad_4.2.1.debian.tar.gz new file mode 100644 index 0000000..c1a8721 Binary files /dev/null and b/distribution/posix/xtrkcad_4.2.1.debian.tar.gz differ diff --git a/distribution/posix/xtrkcad_4.2.1.dsc b/distribution/posix/xtrkcad_4.2.1.dsc new file mode 100644 index 0000000..619202c --- /dev/null +++ b/distribution/posix/xtrkcad_4.2.1.dsc @@ -0,0 +1,20 @@ +Format: 3.0 (quilt) +Source: xtrkcad +Binary: xtrkcad +Architecture: any +Version: 4.2.1 +Maintainer: Robert Heller +Homepage: http://sourceforge.net/projects/xtrkcad-fork/ +Standards-Version: 3.9.2 +Build-Depends: debhelper (>= 8.0.0), cmake (>= 2.4.7), pkg-config, libgtk2.0-dev, libwebkitgtk-dev, gcc, gettext +Package-List: + xtrkcad deb unknown extra +Checksums-Sha1: + e22e10a00c62905e55576ceb29be0156bf0e1a72 6877531 xtrkcad_4.2.1.orig.tar.gz + 3af638aa1080a3466a78256087a07a4de0435148 11905 xtrkcad_4.2.1.debian.tar.gz +Checksums-Sha256: + ffb344b738f3542678b7a4504045e46c0369d5f01c3237ad1fa0ca631b4f4af1 6877531 xtrkcad_4.2.1.orig.tar.gz + 2398c43a2b393870106861d00774fe3a754c08716762af6fbba82bbcdc669cbf 11905 xtrkcad_4.2.1.debian.tar.gz +Files: + df72e4ceb44faf5ff9399daee030199a 6877531 xtrkcad_4.2.1.orig.tar.gz + c2c5f9f6f6b10bc3f15e3ac48a71737a 11905 xtrkcad_4.2.1.debian.tar.gz -- cgit v1.2.3