Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
valencia
valencia.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File valencia.spec of Package valencia
# # spec file for package valencia # # Copyright (c) 2011 SUSE LINUX Products 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/ # Name: valencia Version: 0.3.0 Release: 5 License: LGPLv2.1+ Summary: GEdit plugin to use GEdit as a lightweight IDE for Vala Url: http://yorba.org/valencia/ Group: Development/Tools/IDE Source: %{name}-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM valencia-fix-build.patch vuntz@opensuse.org -- Fix build, taken from svn Patch0: valencia-fix-build.patch BuildRequires: pkgconfig(gedit-2.20) BuildRequires: pkgconfig(gee-1.0) BuildRequires: pkgconfig(gtk+-2.0) %if 0%{?suse_version} <= 1130 BuildRequires: pkgconfig(vala-1.0) %else BuildRequires: pkgconfig(vala-0.10) %endif BuildRequires: pkgconfig(vte) BuildRequires: vala BuildRequires: update-desktop-files BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Valencia is a gedit plugin that turns gedit into a lightweight IDE for Vala. Using Valencia, you can easily browse between symbols in a Vala program. You can build a Vala program inside gedit and can easily jump to lines with build errors. You can also get tooltips for methods and get autocompletion suggestions by invoking autocomplete in the appropriate context. %package -n gedit-plugin-valencia License: LGPLv2.1+ Summary: GEdit plugin to use GEdit as a lightweight IDE for Vala Group: Development/Tools/IDE Provides: %{name} = %{version} Requires: gedit %description -n gedit-plugin-valencia Valencia is a gedit plugin that turns gedit into a lightweight IDE for Vala. Using Valencia, you can easily browse between symbols in a Vala program. You can build a Vala program inside gedit and can easily jump to lines with build errors. You can also get tooltips for methods and get autocompletion suggestions by invoking autocomplete in the appropriate context. %prep %setup -q %if ! 0%{?suse_version} <= 1130 # vala-1.0 is now vala-0.10 => remove hack when fixed in new upstream version (build will fail) grep -q vala-1.0 Makefile sed -i "s/vala-1.0/vala-0.10/g" Makefile %endif %patch0 -p3 %build export CFLAGS="%{optflags}" %__make %{?jobs:-j%{jobs}} %install install -D libvalencia.so %{buildroot}%{_libdir}/gedit-2/plugins/libvalencia.so install -D valencia.gedit-plugin %{buildroot}%{_libdir}/gedit-2/plugins/valencia.gedit-plugin install -D valencia.png %{buildroot}%{_datadir}/icons/hicolor/128x128/apps/valencia.png %clean rm -rf %{buildroot} %if 0%{?suse_version} > 1130 %post -n gedit-plugin-valencia %icon_theme_cache_post %endif %if 0%{?suse_version} > 1130 %postun -n gedit-plugin-valencia %icon_theme_cache_postun %endif %files -n gedit-plugin-valencia %defattr(-,root,root) %doc AUTHORS COPYING NEWS README THANKS %{_libdir}/gedit-2/plugins/libvalencia.so %{_libdir}/gedit-2/plugins/valencia.gedit-plugin %{_datadir}/icons/hicolor/128x128/apps/valencia.png %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor