Compare commits
14 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a29d580a72 | ||
|
|
5ad1c5d9ab | ||
|
|
7fb29f3d2e | ||
|
|
c1b1e7a9c9 | ||
|
|
77d38c7d21 | ||
|
|
8878115d03 | ||
|
|
b74f08c77e | ||
|
|
a3072b95b4 | ||
|
|
a4c3a5cbb4 | ||
|
|
21e97b1f35 | ||
|
|
b26afa5eb0 | ||
|
|
cb6eadb6f1 | ||
|
|
2791afa197 | ||
|
|
7316cd1806 |
5 changed files with 205 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
valide-20091019svn425.tar.gz
|
||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: valide
|
||||
# $Id$
|
||||
NAME := valide
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
9c825d68857539223e151f287b1bdee7 valide-20093012svn488.tar.gz
|
||||
203
valide.spec
Normal file
203
valide.spec
Normal file
|
|
@ -0,0 +1,203 @@
|
|||
%global alphatag 20093012
|
||||
%global svn_revision svn488
|
||||
%global gtk2_version 2.11.0
|
||||
%global vala_version 0.7.3
|
||||
|
||||
# The source for this package was pulled from upstream's cvs. Use the
|
||||
# following commands to generate the tarball:
|
||||
# svn export -r r488 http://valide.googlecode.com/svn/trunk/ valide-20093012svn488
|
||||
# tar -czvf valide-20093012svn488.tar.gz valide-20093012svn488
|
||||
|
||||
Name: valide
|
||||
Version: 0.6.1
|
||||
Release: 0.21.%{alphatag}%{svn_revision}%{?dist}
|
||||
Summary: An integrated development environment (IDE) for the Vala programming language
|
||||
|
||||
Group: Development/Tools
|
||||
License: GPLv3+
|
||||
URL: http://www.valaide.org
|
||||
Source0: %{name}-%{alphatag}%{svn_revision}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: gtk2-devel >= %{gtk2_version}
|
||||
BuildRequires: vala-devel >= %{vala_version}
|
||||
BuildRequires: sqlite-devel, unique-devel, desktop-file-utils, gtksourceview2-devel, intltool
|
||||
BuildRequires: waf, libyaml-devel, libgdl-devel
|
||||
|
||||
Requires: vala-devel >= %{vala_version}
|
||||
Requires: hicolor-icon-theme
|
||||
|
||||
%description
|
||||
Val(a)IDE is an Integrated Development Environment for the Vala programming
|
||||
language.
|
||||
|
||||
%description -l fr
|
||||
Val(a)IDE est un Environnement de Développement Intégré pour le langage de
|
||||
programmation Vala.
|
||||
|
||||
%package devel
|
||||
Summary: Support for developing plugins for the Val(a)IDE
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: gtk2-devel >= %{gtk2_version}
|
||||
Requires: sqlite-devel, unique-devel, gtksourceview2-devel
|
||||
Requires: libxml2-devel, libyaml-devel
|
||||
|
||||
%description devel
|
||||
Val(a)IDE is an Integrated Development Environment for the Vala programming
|
||||
language.
|
||||
This package allows you to develop plugins that add new functionality to
|
||||
Val(a)IDE.
|
||||
|
||||
%description -l fr devel
|
||||
Val(a)IDE est un Environnement de Développement Intégré pour le langage de
|
||||
programmation Vala.
|
||||
Ce paquet vous permet de développer des plugins pour ajouter de nouvelles
|
||||
fonctionalités à Val(a)IDE.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{alphatag}%{svn_revision}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" LINKFLAGS="%{optflags}" waf -v configure --prefix=%{_prefix} --with-libdir=%{_libdir} --debug
|
||||
waf -v %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf %{buildroot}
|
||||
./waf -v install --destdir=%{buildroot} --debug
|
||||
desktop-file-install --vendor="" \
|
||||
--mode 0644 \
|
||||
--dir=%{buildroot}%{_datadir}/applications/ \
|
||||
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
||||
find %{buildroot}%{_libdir} -name *.so -exec chmod 755 {} \;
|
||||
%find_lang %{name}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post
|
||||
# For dynamical link, shared librairy
|
||||
/sbin/ldconfig
|
||||
# Use this because a desktop entry has a 'MimeType key.
|
||||
update-desktop-database &> /dev/null || :
|
||||
# update-mime-database
|
||||
update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||
# update icon themes
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
%posttrans
|
||||
# update icon themes
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
|
||||
%postun
|
||||
# For dynamical link, shared librairy
|
||||
/sbin/ldconfig
|
||||
# Use this because a desktop entry has a 'MimeType key.
|
||||
update-desktop-database &> /dev/null || :
|
||||
# update-mime-database
|
||||
update-mime-database %{_datadir}/mime &> /dev/null || :
|
||||
# update icon themes
|
||||
if [ $1 -eq 0 ] ; then
|
||||
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
||||
fi
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root,-)
|
||||
%doc README COPYING ChangeLog NEWS TODO AUTHORS
|
||||
%{_bindir}/ctags-vala
|
||||
%{_bindir}/valide
|
||||
%{_libdir}/libvalide-*.so.*
|
||||
%{_libdir}/valide/
|
||||
%{_datadir}/pixmaps/valide/
|
||||
%{_datadir}/vala/vapi/*
|
||||
%{_datadir}/valide/
|
||||
%{_datadir}/applications/valide.desktop
|
||||
%{_datadir}/icons/hicolor/48x48/mimetypes/application-x-vide.png
|
||||
%{_datadir}/mime/packages/x-vide.xml
|
||||
%{_mandir}/man1/ctags-vala.1.gz
|
||||
%{_mandir}/man1/valide.1.gz
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%{_includedir}/valide-*/
|
||||
%{_libdir}/libvalide-*.so
|
||||
|
||||
%changelog
|
||||
* Wed Jan 15 2010 Jonathan MERCIER <bioinfornatics at gmail.com> 0.6.1-0.21.20093012svn488
|
||||
- Update to the new version 0.6.1
|
||||
|
||||
* Mon Oct 19 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.20.20091019svn425
|
||||
- Bug fix
|
||||
|
||||
* Mon Oct 19 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.19.20091019svn425
|
||||
- Bug fix
|
||||
|
||||
* Mon Oct 19 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.18.20091019svn425
|
||||
- Update valide to revision 425
|
||||
- Some bug fix
|
||||
|
||||
* Tue Sep 01 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.17.20090825svn385
|
||||
- Update valide to revision 385
|
||||
- Some bug fix
|
||||
|
||||
* Fri Jul 30 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.16.20090726svn303
|
||||
- Fix the empty debuginfo with a newest option in build section --debug
|
||||
|
||||
* Tue Jul 28 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.15.20090726svn303
|
||||
- Update valide to revision 303
|
||||
- Add require for devel package
|
||||
|
||||
* Mon Jul 20 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.14.20090720svn291
|
||||
- Update valide to revision 291
|
||||
|
||||
* Tue Jul 14 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.13.20090713svn280
|
||||
- Fix changelog
|
||||
|
||||
* Tue Jul 14 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.12.20090713svn280
|
||||
- Update to revision 280
|
||||
|
||||
* Tue Jul 14 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.11.20090713svn278
|
||||
- fixe changelog
|
||||
|
||||
* Tue Jul 14 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.10.20090713svn278
|
||||
- Remove some blank lines
|
||||
|
||||
* Tue Jul 14 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.9.svn27820090713
|
||||
- Add %%posttrans section
|
||||
- Change summary
|
||||
- Change description
|
||||
- Add Inttool in BuildEquires
|
||||
- Change %%{_libdir}/libvalide-*.so.* in %%files of the main package
|
||||
- Change %%{_libdir}/libvalide-*.so in %%files of the -devel package
|
||||
- Change %%{_includedir}/valide-0.5/ to %%{_includedir}/valide-*/
|
||||
|
||||
* Tue Jul 14 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.8.278svn
|
||||
- Add version the BuildRequires: vala-devel and gtk2-devel
|
||||
|
||||
* Tue Jul 14 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.7.278svn
|
||||
- Remove %%{_bindir}/valide in %%post and %%postun section
|
||||
|
||||
* Tue Jul 14 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.6.278svn
|
||||
- Remove --add and --remove option in /sbin/ldconfig
|
||||
|
||||
* Tue Jul 14 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.5.278svn
|
||||
- Fix %%global variable
|
||||
|
||||
* Tue Jul 14 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.4.278svn
|
||||
- Use revision 278
|
||||
- Drop Requires: vala >= %%{vala_version}
|
||||
- Drop Requires: vala-devel >= %%{vala_version}
|
||||
- BuildRequires in two line
|
||||
- Add Comment in %%post and %%postun
|
||||
- Remove some of the empty lines
|
||||
|
||||
* Mon Jul 13 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.3.277svn
|
||||
- Use revision 277
|
||||
- Fix spec file
|
||||
|
||||
* Sun Jul 11 2009 Jonathan MERCIER <bioinfornatics at gmail.com> 0.5.1-0.2.275svn
|
||||
- Use revision 275
|
||||
- Fix spec file
|
||||
|
||||
* Sun Jul 5 2009 nicolas joseph <nicolas.joseph-at-valaide.org> 0.5.1
|
||||
- Initial Release
|
||||
Loading…
Add table
Add a link
Reference in a new issue