From 620064c98d9594479ced65c5b801b94b6def8712 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 18:54:20 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.4.4-1mamba;Fri Jul 15 2016] --- README.md | 3 ++ valentina.spec | 95 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 98 insertions(+) create mode 100644 valentina.spec diff --git a/README.md b/README.md index cfe63a7..de7be9e 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # valentina +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 individual’s set of measurements. It blends new technologies with traditional methods to create a unique pattern making tool. + diff --git a/valentina.spec b/valentina.spec new file mode 100644 index 0000000..ea3900f --- /dev/null +++ b/valentina.spec @@ -0,0 +1,95 @@ +Name: valentina +Version: 0.4.4 +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 +URL: http://valentina-project.org/ +# https://bitbucket.org/dismine/valentina/commits/610ac13345d7 select tag +Source: https://bitbucket.org/dismine/valentina/get/v%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libGL-devel +BuildRequires: libgcc +BuildRequires: libqt5-devel +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 individual’s 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 -c +mv dismine-valentina-*/* . +rm -rf dismine-valentina-* + +%build +qmake-qt5 Valentina.pro +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall INSTALL_ROOT=%{buildroot} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/tape +%{_bindir}/valentina +%{_datadir}/applications/tape.desktop +%{_datadir}/applications/valentina.desktop +%{_datadir}/pixmaps/*.png +%dir %{_datadir}/valentina +%{_datadir}/valentina/diagrams.rcc +%dir %{_datadir}/valentina/tables +%dir %{_datadir}/valentina/tables/standard +%{_datadir}/valentina/tables/standard/* +%dir %{_datadir}/valentina/tables/templates +%{_datadir}/valentina/tables/templates/* +%dir %{_datadir}/valentina/translations +%{_datadir}/valentina/translations/measurements_*.qm +%{_datadir}/valentina/translations/valentina_*.qm + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libvpropertyexplorer.so.* +%{_libdir}/libqmuparser.so.* + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_libdir}/libqmuparser.so +%{_libdir}/libvpropertyexplorer.so +%doc ChangeLog.txt README.txt + +%changelog +* Fri Jul 15 2016 Silvan Calarco 0.4.4-1mamba +- package created using the webbuild interface