|
Mattia Verga |
b2d95c0 |
%global svnversion 35
|
|
Mattia Verga |
5ab7001 |
|
|
Mattia Verga |
8b2b333 |
Name: indistarter
|
|
Mattia Verga |
b2d95c0 |
Version: 0.5.0
|
|
Mattia Verga |
5ab7001 |
Release: 1.%{svnversion}svn%{?dist}
|
|
Mattia Verga |
8b2b333 |
Summary: GUI to start, stop and control an INDI server
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
License: GPLv3+
|
|
Mattia Verga |
8b2b333 |
URL: http://indistarter.sourceforge.net/
|
|
Mattia Verga |
8b2b333 |
# The source code is not available upstream as a package so we pulled it
|
|
Mattia Verga |
8b2b333 |
# from upstream's vcs. Use the following commands to generate the tarball:
|
|
Mattia Verga |
b2d95c0 |
# svn export -r 35 svn://svn.code.sf.net/p/indistarter/code/trunk indistarter-0.5.0
|
|
Mattia Verga |
b2d95c0 |
# tar -cJvf indistarter-0.5.0-35.tar.xz indistarter-0.5.0
|
|
Mattia Verga |
5ab7001 |
Source0: %{name}-%{version}-%{svnversion}.tar.xz
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
efc3736 |
# This patch avoid stripping debuginfo from binary
|
|
Mattia Verga |
8b2b333 |
# Since this is Fedora specific we don't ask upstream to include
|
|
Mattia Verga |
8b2b333 |
Patch0: indistarter_fix_debuginfo.patch
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
5ab7001 |
ExclusiveArch: %{fpc_arches}
|
|
Mattia Verga |
8e9cf67 |
|
|
Mattia Verga |
5ab7001 |
BuildRequires: desktop-file-utils
|
|
Mattia Verga |
5ab7001 |
BuildRequires: fpc
|
|
Mattia Verga |
5ab7001 |
BuildRequires: lazarus
|
|
Mattia Verga |
5ab7001 |
BuildRequires: libappstream-glib
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
%description
|
|
Mattia Verga |
8b2b333 |
Indistarter is a user interface to run a INDI server.
|
|
Mattia Verga |
8b2b333 |
You can configure different profile for your astronomical equipment.
|
|
Mattia Verga |
8b2b333 |
The INDI server can be launched locally or remotely on another computer.
|
|
Mattia Verga |
8b2b333 |
In this last case a ssh tunnel is established to allow local client connection.
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
%prep
|
|
Mattia Verga |
efc3736 |
%autosetup -p1
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
b2d95c0 |
#Remove spurious executable bit
|
|
Mattia Verga |
b2d95c0 |
chmod -x ./component/synapse/source/lib/*.pas
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
%build
|
|
Mattia Verga |
8b2b333 |
# Configure script requires non standard parameters
|
|
Mattia Verga |
8b2b333 |
./configure lazarus=%{_libdir}/lazarus prefix=%{_prefix}
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
efc3736 |
# Doesn't like parallel building so we can't use make macro
|
|
Mattia Verga |
efc3736 |
make fpcopts="-O1 -g -gl -OoREGVAR -Ch2000000 -CX -XX"
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
%install
|
|
Mattia Verga |
8b2b333 |
make install PREFIX=%{buildroot}%{_prefix}
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
# Menu entry
|
|
Mattia Verga |
8b2b333 |
desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
# Appdata file check
|
|
Mattia Verga |
8b2b333 |
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/appdata/*.appdata.xml
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
%post
|
|
Mattia Verga |
8b2b333 |
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
%postun
|
|
Mattia Verga |
8b2b333 |
if [ $1 -eq 0 ] ; then
|
|
Mattia Verga |
8b2b333 |
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
Mattia Verga |
8b2b333 |
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
Mattia Verga |
8b2b333 |
fi
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
%posttrans
|
|
Mattia Verga |
8b2b333 |
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
%files
|
|
Mattia Verga |
db3f3a8 |
%license gpl-3.0.txt LICENSE
|
|
Mattia Verga |
8b2b333 |
%doc %{_docdir}/%{name}
|
|
Mattia Verga |
8b2b333 |
%{_bindir}/%{name}
|
|
Mattia Verga |
8b2b333 |
%{_datadir}/applications/%{name}.desktop
|
|
Mattia Verga |
8b2b333 |
%{_datadir}/appdata/%{name}.appdata.xml
|
|
Mattia Verga |
8b2b333 |
%{_datadir}/icons/*/*/*/%{name}.png
|
|
Mattia Verga |
8b2b333 |
%{_datadir}/pixmaps/%{name}.png
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
%changelog
|
|
Mattia Verga |
b2d95c0 |
* Sun May 22 2016 Mattia Verga <mattia.verga@tiscali.it> 0.5.0-1.35svn
|
|
Mattia Verga |
b2d95c0 |
- Upgrade to 0.5.0
|
|
Mattia Verga |
b2d95c0 |
|
|
Mattia Verga |
5ab7001 |
* Fri Apr 22 2016 Mattia Verga <mattia.verga@tiscali.it> 0.4.0-1.28svn
|
|
Mattia Verga |
5ab7001 |
- Upgrade to 0.4.0
|
|
Mattia Verga |
5ab7001 |
- Use new fpc_arches macro as ExclusiveArch
|
|
Mattia Verga |
5ab7001 |
|
|
|
510f590 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-4.20151215svn
|
|
|
510f590 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
510f590 |
|
|
Mattia Verga |
9005474 |
* Fri Jan 01 2016 Mattia Verga <mattia.verga@tiscali.it> 0.3.0-3.20151215svn
|
|
Mattia Verga |
efc3736 |
- Set fpc options from make command instead of patching sources
|
|
Mattia Verga |
efc3736 |
|
|
|
67b97a9 |
* Sun Dec 20 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.3.0-2.20151215svn
|
|
|
67b97a9 |
- Set ExcludeArch properly
|
|
|
67b97a9 |
|
|
Mattia Verga |
db3f3a8 |
* Tue Dec 15 2015 Mattia Verga <mattia.verga@tiscali.it> - 0.3.0-1.20151215svn
|
|
Mattia Verga |
db3f3a8 |
- Update to 0.3.0
|
|
Mattia Verga |
db3f3a8 |
|
|
Mattia Verga |
8e9cf67 |
* Sat Dec 12 2015 Mattia Verga <mattia.verga@tiscali.it> - 0.2.0-5.20151211svn
|
|
Mattia Verga |
8e9cf67 |
- Set ExcludeArch where fpc and lazarus are not available
|
|
Mattia Verga |
8e9cf67 |
|
|
Mattia Verga |
8b2b333 |
* Fri Dec 11 2015 Mattia Verga <mattia.verga@tiscali.it> - 0.2.0-4.20151211svn
|
|
Mattia Verga |
8b2b333 |
- Update svn version to fix missing license and appdata
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
* Wed Dec 09 2015 Mattia Verga <mattia.verga@tiscali.it> - 0.2.0-3.20151203svn
|
|
Mattia Verga |
8b2b333 |
- Added missing license text
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
* Fri Dec 04 2015 Mattia Verga <mattia.verga@tiscali.it> - 0.2.0-2.20151203svn
|
|
Mattia Verga |
8b2b333 |
- Removed libindi dependency
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
* Thu Dec 03 2015 Mattia Verga <mattia.verga@tiscali.it> - 0.2.0-1.20151203svn
|
|
Mattia Verga |
8b2b333 |
- Update to 0.2.0 svn
|
|
Mattia Verga |
8b2b333 |
- Added desktop-file-utils to buildrequires
|
|
Mattia Verga |
8b2b333 |
- Removed unneeded ldconfig calls
|
|
Mattia Verga |
8b2b333 |
- Add patch to avoid debuginfo stripping
|
|
Mattia Verga |
8b2b333 |
- Add patch to fix appdata validation
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
* Fri Jul 31 2015 Mattia Verga <mattia.verga@tiscali.it> - 0.1.0-2.20150623svn
|
|
Mattia Verga |
8b2b333 |
- Fix version/release
|
|
Mattia Verga |
8b2b333 |
- Fix BuildRequires error and files ownership
|
|
Mattia Verga |
8b2b333 |
|
|
Mattia Verga |
8b2b333 |
* Tue Jun 23 2015 Mattia Verga <mattia.verga@tiscali.it> - 0.1.0-1.20150623svn
|
|
Mattia Verga |
8b2b333 |
- Initial release
|