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
|
||||
Version: 2.5
|
||||
Version: 2.10
|
||||
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
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://libre.tibirna.org/projects/qgit
|
||||
Source: http://libre.tibirna.org/attachments/download/9/qgit-%{version}.tar.gz
|
||||
URL: https://repo.or.cz/qgit4/redivivus.git
|
||||
Source: https://repo.or.cz/qgit4/redivivus.git/qgit-%{version}/redivivus-%{version}.tar.bz2
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libfontconfig-devel
|
||||
BuildRequires: libfreetype-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libICE-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libqt4-devel
|
||||
BuildRequires: libSM-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libX11-devel
|
||||
BuildRequires: libXext-devel
|
||||
BuildRequires: libXfixes-devel
|
||||
BuildRequires: libXinerama-devel
|
||||
BuildRequires: libXrandr-devel
|
||||
BuildRequires: libXrender-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
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,
|
||||
i.e. cherry picking single modified files.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -c
|
||||
mv redivivus-*/* .
|
||||
|
||||
%build
|
||||
cd redivivus
|
||||
%{_qt4_bindir}/qmake qgit.pro
|
||||
%make
|
||||
%cmake
|
||||
|
||||
%cmake_build
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
cd redivivus
|
||||
%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
|
||||
%cmake_install
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
@ -85,11 +52,16 @@ EOF
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/qgit
|
||||
%{_datadir}/pixmaps/%{name}.png
|
||||
%{_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
|
||||
* 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
|
||||
- update to 2.5
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user