104 lines
3.2 KiB
RPMSpec
104 lines
3.2 KiB
RPMSpec
Name: qgit
|
|
Version: 2.5
|
|
Release: 1mamba
|
|
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
|
|
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
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
QGit is a git GUI viewer built on Qt/C++.
|
|
With qgit you will be able to browse revisions history, view patch content and changed files,
|
|
graphically following different development branches.
|
|
|
|
Features
|
|
* View revisions, diffs, files history, files annotation, archive tree.
|
|
* Commit changes visually cherry picking modified files.
|
|
* Apply or format patch series from selected commits, drag and drop commits between two instances of qgit.
|
|
* Associate commands sequences, scripts and anything else executable to a custom action.
|
|
Actions can be run from menu and corresponding output is grabbed by a terminal window.
|
|
* qgit implements a GUI for the most common StGIT commands like push/pop and apply/format patches.
|
|
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.
|
|
|
|
%prep
|
|
%setup -q -c
|
|
|
|
%build
|
|
cd redivivus
|
|
%{_qt4_bindir}/qmake qgit.pro
|
|
%make
|
|
|
|
%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
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/qgit
|
|
%{_datadir}/pixmaps/%{name}.png
|
|
%{_datadir}/applications/qgit.desktop
|
|
#%doc redivivus/README
|
|
|
|
%changelog
|
|
* Mon Sep 30 2013 Automatic Build System <autodist@mambasoft.it> 2.5-1mamba
|
|
- update to 2.5
|
|
|
|
* Mon Jul 29 2013 Automatic Build System <autodist@mambasoft.it> 2.3-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Thu Jul 09 2009 Automatic Build System <autodist@mambasoft.it> 2.3-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Sat Aug 23 2008 gil <puntogil@libero.it> 2.2-1mamba
|
|
- package created by autospec
|