Accepting request 1153101 from home:badshah400:branches:Education
* Fix package name typo in _service file. * Change deprecated "disabled" modes to "manual". * Disable automatic changes generation when running tar_scm service. * Freeze at commit f0af53a, drop full url for Source0, and regenerate tarball (note version changes: f0af53a9 -> f0af53a). * Clean up specfile, drop macros catering to ancient oS releases. * Drop _servicedata. OBS-URL: https://build.opensuse.org/request/show/1153101 OBS-URL: https://build.opensuse.org/package/show/Education/fritzing?expand=0&rev=61
This commit is contained in:
parent
3b721abe99
commit
ca8f1d4aca
12
_service
12
_service
@ -1,17 +1,17 @@
|
||||
<services>
|
||||
<service name="tar_scm" mode="disabled">
|
||||
<service name="tar_scm" mode="manual">
|
||||
<param name="url">https://github.com/fritzing/fritzing-app.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="exclude">.git</param>
|
||||
<param name="versionformat">0.9.9+git%cd.%h</param>
|
||||
<param name="revision">main</param>
|
||||
<param name="changesgenerate">enable</param>
|
||||
<param name="revision">f0af53a</param>
|
||||
<param name="changesgenerate">disable</param>
|
||||
</service>
|
||||
<service name="recompress" mode="disabled">
|
||||
<service name="recompress" mode="manual">
|
||||
<param name="file">fritzing-app-*.tar</param>
|
||||
<param name="compression">gz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="disabled">
|
||||
<param name="basename">firtzing-app</param>
|
||||
<service name="set_version" mode="manual">
|
||||
<param name="basename">fritzing-app</param>
|
||||
</service>
|
||||
</services>
|
||||
|
@ -1,4 +0,0 @@
|
||||
<servicedata>
|
||||
<service name="tar_scm">
|
||||
<param name="url">https://github.com/fritzing/fritzing-app.git</param>
|
||||
<param name="changesrevision">f0af53a9077f7cdecef31d231b85d8307de415d4</param></service></servicedata>
|
3
fritzing-app-0.9.9+git20210922.f0af53a.tar.gz
Normal file
3
fritzing-app-0.9.9+git20210922.f0af53a.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0f1653d2639eccd9ac57b20c373399a207211198e60ca270c8ac55ccc1d240c5
|
||||
size 11671749
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:664f88274c973a2025c49d749c444e42d0ffcdc732b6792461fb83dca49379ee
|
||||
size 11671406
|
@ -1,3 +1,15 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 29 06:18:42 UTC 2024 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- Fix package name typo in _service file.
|
||||
- Change deprecated "disabled" modes to "manual".
|
||||
- Disable automatic changes generation when running tar_scm
|
||||
service.
|
||||
- Freeze at commit f0af53a, drop full url for Source0, and
|
||||
regenerate tarball (note version changes: f0af53a9 -> f0af53a).
|
||||
- Clean up specfile, drop macros catering to ancient oS releases.
|
||||
- Drop _servicedata.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 26 08:46:46 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package fritzing
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,44 +17,32 @@
|
||||
|
||||
|
||||
Name: fritzing
|
||||
Version: 0.9.9+git20210922.f0af53a9
|
||||
Version: 0.9.9+git20210922.f0af53a
|
||||
Release: 0
|
||||
Summary: Electronic Design Automation platform featuring prototype to product
|
||||
License: GPL-3.0-or-later
|
||||
Group: Productivity/Scientific/Electronics
|
||||
URL: http://fritzing.org/
|
||||
Source0: https://github.com/fritzing/fritzing-app/archive/%{name}-app-%{version}.tar.gz
|
||||
URL: https://fritzing.org/
|
||||
Source0: %{name}-app-%{version}.tar.gz
|
||||
#PATCH-FIX-OPENSUSE 0001-Use-system-libgit2.patch -- use system libgit, upstream wants to use bundled version
|
||||
Patch1: 0001-Use-system-libgit2.patch
|
||||
#PATCH-FIX-OPENSUSE 0002-Fix-appdata.xml-url-type.patch -- fix appdata url type
|
||||
Patch2: 0002-Fix-appdata.xml-url-type.patch
|
||||
%if 0%{?suse_version} > 1325
|
||||
BuildRequires: libboost_headers-devel
|
||||
%else
|
||||
BuildRequires: boost_1_58_0-devel
|
||||
%endif
|
||||
BuildRequires: appstream-glib
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: libboost_headers-devel
|
||||
BuildRequires: libgit2-devel >= 0.23
|
||||
BuildRequires: libqt5-qtbase-devel
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: zlib-devel
|
||||
%if 0%{?suse_version} < 1320
|
||||
BuildRequires: libQt5SerialPort-devel
|
||||
BuildRequires: libQt5Svg-devel
|
||||
Requires: libqt5-sql-sqlite
|
||||
%else
|
||||
BuildRequires: libqt5-qtserialport-devel
|
||||
BuildRequires: libqt5-qtsvg-devel
|
||||
Requires: libQt5Sql5-sqlite
|
||||
%endif
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: zlib-devel
|
||||
Requires: fritzing-parts
|
||||
Requires(post): shared-mime-info
|
||||
Requires(postun):shared-mime-info
|
||||
Requires: libQt5Sql5-sqlite
|
||||
Requires(post): desktop-file-utils
|
||||
Requires(postun):desktop-file-utils
|
||||
BuildRequires: appstream-glib
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Requires(post): shared-mime-info
|
||||
Requires(postun): desktop-file-utils
|
||||
Requires(postun): shared-mime-info
|
||||
|
||||
%description
|
||||
Fritzing is an initiative to support designers, artists,
|
||||
@ -72,23 +60,20 @@ chmod -x LICENSE* README.md Fritzing.1
|
||||
%build
|
||||
# QMAKE_CFLAGS_ISYSTEM= added to work around gcc6 build problems
|
||||
qmake-qt5 QMAKE_CFLAGS_ISYSTEM=
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make INSTALL_ROOT=%{buildroot} install
|
||||
sed -i '/Categories=/d' org.fritzing.Fritzing.desktop
|
||||
%suse_update_desktop_file -i -r org.fritzing.Fritzing Development IDE
|
||||
find %{buildroot}%{_datadir}/%{name}/ -type f -exec chmod -x {} \;
|
||||
#rm -rf %{buildroot}%{_datadir}/%{name}/parts
|
||||
#rm -rf %%{buildroot}%%{_datadir}/%%{name}/parts
|
||||
%fdupes %{buildroot}%{_datadir}/%{name}/sketches
|
||||
appstream-util validate-relax --nonet org.fritzing.Fritzing.appdata.xml
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.md LICENSE.GPL2 LICENSE.GPL3 LICENSE.CC-BY-SA
|
||||
%license LICENSE.GPL2 LICENSE.GPL3 LICENSE.CC-BY-SA
|
||||
%doc README.md
|
||||
%{_bindir}/Fritzing
|
||||
%{_datadir}/%{name}/
|
||||
%{_datadir}/pixmaps/%{name}.png
|
||||
@ -97,12 +82,4 @@ rm -rf %{buildroot}
|
||||
%{_datadir}/mime/packages/*.xml
|
||||
%{_datadir}/metainfo/org.fritzing.Fritzing.appdata.xml
|
||||
|
||||
%post
|
||||
%desktop_database_post
|
||||
%mime_database_post
|
||||
|
||||
%postun
|
||||
%desktop_database_postun
|
||||
%mime_database_postun
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user