update to 2.10 [release 2.10-1mamba;Fri Apr 19 2024]
This commit is contained in:
parent
da00002cb6
commit
d5d10be572
66
qgit.spec
66
qgit.spec
@ -1,34 +1,20 @@
|
|||||||
Name: qgit
|
Name: qgit
|
||||||
Version: 2.5
|
Version: 2.10
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: QGit is a git GUI viewer built on Qt/C++.
|
Summary: QGit is a git GUI viewer built on Qt/C++
|
||||||
Group: Graphical Desktop/Applications/Development
|
Group: Graphical Desktop/Applications/Development
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://libre.tibirna.org/projects/qgit
|
URL: https://repo.or.cz/qgit4/redivivus.git
|
||||||
Source: http://libre.tibirna.org/attachments/download/9/qgit-%{version}.tar.gz
|
Source: https://repo.or.cz/qgit4/redivivus.git/qgit-%{version}/redivivus-%{version}.tar.bz2
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libfontconfig-devel
|
|
||||||
BuildRequires: libfreetype-devel
|
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
BuildRequires: libglib-devel
|
|
||||||
BuildRequires: libICE-devel
|
|
||||||
BuildRequires: libpng-devel
|
|
||||||
BuildRequires: libqt4-devel
|
|
||||||
BuildRequires: libSM-devel
|
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: libX11-devel
|
BuildRequires: qt5-qtbase-devel
|
||||||
BuildRequires: libXext-devel
|
|
||||||
BuildRequires: libXfixes-devel
|
|
||||||
BuildRequires: libXinerama-devel
|
|
||||||
BuildRequires: libXrandr-devel
|
|
||||||
BuildRequires: libXrender-devel
|
|
||||||
BuildRequires: libz-devel
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
QGit is a git GUI viewer built on Qt/C++.
|
QGit is a git GUI viewer built on Qt/C++.
|
||||||
@ -45,39 +31,20 @@ Actions can be run from menu and corresponding output is grabbed by a terminal w
|
|||||||
You can also create new patches or refresh current top one using the same semantics of git commit,
|
You can also create new patches or refresh current top one using the same semantics of git commit,
|
||||||
i.e. cherry picking single modified files.
|
i.e. cherry picking single modified files.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c
|
%setup -q -c
|
||||||
|
mv redivivus-*/* .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd redivivus
|
%cmake
|
||||||
%{_qt4_bindir}/qmake qgit.pro
|
|
||||||
%make
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
cd redivivus
|
%cmake_install
|
||||||
%makeinstall DESTDIR=%{buildroot}
|
|
||||||
mkdir -p %{buildroot}%{_bindir}
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/pixmaps
|
|
||||||
mkdir -p %{buildroot}%{_datadir}/applications
|
|
||||||
|
|
||||||
install -m644 src/resources/%{name}.png \
|
|
||||||
%{buildroot}%{_datadir}/pixmaps
|
|
||||||
|
|
||||||
install -m755 bin/qgit %{buildroot}%{_bindir}
|
|
||||||
|
|
||||||
cat > %{buildroot}%{_datadir}/applications/qgit.desktop << EOF
|
|
||||||
[Desktop Entry]
|
|
||||||
Encoding=UTF-8
|
|
||||||
Name=QGit
|
|
||||||
GenericName=Graphical Interface for Git
|
|
||||||
GenericName[it]=Interfaccia Grafica per Git
|
|
||||||
GenericName[tr]=Git Grafik Arayüzü
|
|
||||||
Icon=%{_datadir}/pixmaps/qgit.png
|
|
||||||
Exec=/usr/bin/qgit
|
|
||||||
Type=Application
|
|
||||||
Categories=Qt;KDE;Development;
|
|
||||||
EOF
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -85,11 +52,16 @@ EOF
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/qgit
|
%{_bindir}/qgit
|
||||||
%{_datadir}/pixmaps/%{name}.png
|
|
||||||
%{_datadir}/applications/qgit.desktop
|
%{_datadir}/applications/qgit.desktop
|
||||||
#%doc redivivus/README
|
%{_metainfodir}/qgit.appdata.xml
|
||||||
|
%{_datadir}/icons/hicolor/48x48/apps/qgit.png
|
||||||
|
%{_datadir}/icons/hicolor/scalable/apps/qgit.svg
|
||||||
|
%doc COPYING.rtf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 19 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10-1mamba
|
||||||
|
- update to 2.10
|
||||||
|
|
||||||
* Mon Sep 30 2013 Automatic Build System <autodist@mambasoft.it> 2.5-1mamba
|
* Mon Sep 30 2013 Automatic Build System <autodist@mambasoft.it> 2.5-1mamba
|
||||||
- update to 2.5
|
- update to 2.5
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user