Skip to content

Instantly share code, notes, and snippets.

@MichaelAquilina
Last active June 18, 2017 09:18
Show Gist options
  • Save MichaelAquilina/e9a610d135fcfa6e72c2e84a967c1d5f to your computer and use it in GitHub Desktop.
Save MichaelAquilina/e9a610d135fcfa6e72c2e84a967c1d5f to your computer and use it in GitHub Desktop.
Synapse spec for Open Build Service
#
# spec file for package synapse
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define _topdir %(echo ~/rpmbuild)
%define name synapse
%define release 1
%define version 0.4.6
%define buildroot %{_topdir}/%{name}-%{version}-root
BuildRoot: %{buildroot}
Name: %{name}
Version: %{version}
Release: %{release}
Source: %{name}-%{version}.tar.gz
Summary: A semantic launcher written in Vala
URL: https://github.com/MichaelAquilina/synapse-project.git
License: GPL-3.0
BuildRequires: vala
BuildRequires: automake
BuildRequires: intltool
BuildRequires: libgee-devel
BuildRequires: libnotify-devel
BuildRequires: keybinder3-devel
BuildRequires: json-glib-devel
BuildRequires: zeitgeist-devel
BuildRequires: libtool
%description
Synapse launcher is a semantic launcher written in Vala that allows you perform a
variety of actions to improve your overall productivity.
%prep
%setup -q
%build
echo %{_prefix}
./autogen.sh
make
%install
make install prefix=$RPM_BUILD_ROOT/usr
%find_lang %{name}
%files -f %{name}.lang
%defattr(-,root,root,-)
/usr/bin/synapse
/usr/share/applications/synapse.desktop
/usr/share/icons/hicolor/scalable/apps/synapse.svg
/usr/share/man/man1/synapse.1.gz
%changelog
* Sat Jun 17 2017 Michael Aquilina <michaelaquilina@gmail.com> 0.4.6
First rpm package release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment