valentina/valentina.spec

123 lines
4.1 KiB
RPMSpec
Raw Permalink Normal View History

Name: valentina
Version: 0.7.53
Release: 1mamba
Summary: A patternmaking program which allows designers to create and model patterns of clothing
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gitlab.com/smart-pattern/valentina
Source: https://gitlab.com/smart-pattern/valentina.git/v%{version}/valentina-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5Concurrent
BuildRequires: libQt5Core
BuildRequires: libQt5Gui
BuildRequires: libQt5Network
BuildRequires: libQt5PrintSupport
BuildRequires: libQt5Svg-devel
BuildRequires: libQt5Widgets
BuildRequires: libQt5Xml
BuildRequires: libQt5XmlPatterns-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Valentina is a cross-platform patternmaking program which allows designers to create and model patterns of clothing.
This software allows pattern creation, using either standard sizing tables or an individuals set of measurements. It blends new technologies with traditional methods to create a unique pattern making tool.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
qmake-qt5 Valentina.pro CONFIG+=debug CONFIG+=release CONFIG+=nostrip
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall INSTALL_ROOT=%{buildroot}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/puzzle
%{_bindir}/tape
%{_bindir}/valentina
%{_datadir}/applications/ua.com.smart-pattern.puzzle.desktop
%{_datadir}/applications/ua.com.smart-pattern.tape.desktop
%{_datadir}/applications/ua.com.smart-pattern.valentina.desktop
%{_metainfodir}/ua.com.smart-pattern.valentina.metainfo.xml
%dir %{_datadir}/valentina
%dir %{_datadir}/valentina/svgfonts
%{_datadir}/valentina/svgfonts/*.svg
%dir %{_datadir}/valentina/translations
%{_datadir}/valentina/translations/valentina_*.qm
%{_datadir}/icons/hicolor/*/apps/puzzle.png
%{_datadir}/icons/hicolor/*/apps/tape.png
%{_datadir}/icons/hicolor/*/apps/valentina.png
%{_datadir}/icons/hicolor/*/mimetypes/application-x-valentina-*.png
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libvpropertyexplorer.so.*
%{_libdir}/libqmuparser.so.*
%doc AUTHORS.txt LICENSE_GPL.txt
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_libdir}/libqmuparser.so
%{_libdir}/libvpropertyexplorer.so
%doc ChangeLog.txt README.md
%changelog
* Sun Nov 10 2024 Automatic Build System <autodist@openmamba.org> 0.7.53-1mamba
- automatic version update by autodist
* Mon Oct 31 2022 Automatic Build System <autodist@mambasoft.it> 0.7.52-1mamba
- automatic version update by autodist
* Sun Apr 24 2022 Automatic Build System <autodist@mambasoft.it> 0.7.51-1mamba
- automatic version update by autodist
* Sun Mar 13 2022 Automatic Build System <autodist@mambasoft.it> 0.7.50-1mamba
- automatic version update by autodist
* Sun Jul 11 2021 Automatic Build System <autodist@mambasoft.it> 0.7.49-1mamba
- automatic version update by autodist
* Mon May 17 2021 Automatic Build System <autodist@mambasoft.it> 0.7.47-1mamba
- automatic version update by autodist
* Mon May 03 2021 Automatic Build System <autodist@mambasoft.it> 0.7.46-1mamba
- automatic version update by autodist
* Tue Mar 02 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.45-1mamba
- update to 0.7.45
* Fri Jul 15 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.4-1mamba
- package created using the webbuild interface