Name: librecad Version: 0.0.3 Release: 1%{?dist} Summary: A full-featured 2D CAD program Summary(ja): 2D CADアプリケーション Group: Applications/Engineering License: GPLv2 Source: librecad-%{version}-1.src.bz2 URL: http://www.librecad.org BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: make gcc gcc-c++ glibc-devel qt4-devel desktop-file-utils Requires: python-devel desktop-file-utils Requires(post): desktop-file-utils Requires(postun): desktop-file-utils %description LibreCAD is a 2D CAD drawing tool based on the community edition of QCad (www.qcad.org). LibreCAD has been re-structured and ported to qt4 and works natively cross platform between OSX, Windows and Linux. Current format support includes DXF R14, DXF 2000, CXF and JWW. See www.librecad.org %description -l ja LibreCADは2D CADアプリケーションです。ソースの基本は旧「QCad CE」 です。LibreCADプロジェクトではソースの構成を再編制とqt4にポート しました。LibreCADはLinux,OS X,とWindows(XP/Vista/7)で機動可能で す。互換できるファイルフォーマットはDXF R14, DXF 2000, CXFやJWW でも大丈夫です。参照www.librecad.org %prep %setup -q %build qmake-qt4 make %{?_smp_mflags} %install [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} mkdir -p %{buildroot}%{_datadir}/%{name} cp -r unix/resources/* %{buildroot}%{_datadir}/%{name} mkdir -p %{buildroot}%{_libdir}/%{name} mkdir -p %{buildroot}%{_docdir}/%{name} mv gpl-2.0.txt LICENSE chmod 644 LICENSE chmod 644 README find %{buildroot}%{_datadir}/%{name} -type f -exec chmod 644 \{\} \; %{__install} -Dm 755 -s unix/librecad %{buildroot}%{_bindir}/librecad %{__install} -Dm 644 res/main/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png mkdir -p %{buildroot}%{_datadir}/applications desktop-file-install --add-category Application \ --add-category Graphics \ --dir %{buildroot}%{_datadir}/applications \ desktop/librecad.desktop %clean [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} %files %defattr(-,root,root,-) %doc LICENSE README %{_bindir}/librecad %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %dir %{_datadir}/%{name} %dir %{_datadir}/%{name}/library %{_datadir}/%{name}/library/* %dir %{_datadir}/%{name}/qm %{_datadir}/%{name}/qm/* %dir %{_datadir}/%{name}/fonts %{_datadir}/%{name}/fonts/* %dir %{_datadir}/%{name}/patterns %{_datadir}/%{name}/patterns/* %dir %{_datadir}/%{name}/doc %{_datadir}/%{name}/doc/* %dir %{_libdir}/%{name} %changelog * Tue Sep 27 2011 Craig Everett version 0.0.3 - New snap system tool & toolbar location changes. - Inclusion of LFF format support. - Slight cleaning of JWW format support. - Numerous minor bug fixes for stability and rendering. - Slight adjustment to .spec for ease of use. * Mon Sep 19 2011 Craig Everett version 0.0.2 - Initial EL6x 0.0.2 interim package build for TAO - Note that v0.0.2 here == v1.0.0rc2 on LibreCAD.org