2007-01-10 17:32:50 +01:00
|
|
|
#
|
2009-09-22 21:53:02 +02:00
|
|
|
# spec file for package anjuta (Version 2.27.91.0)
|
2007-01-10 17:32:50 +01:00
|
|
|
#
|
2009-01-08 14:48:59 +01:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-10 17:32:50 +01:00
|
|
|
#
|
2008-09-06 05:28:01 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-10 17:32:50 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-04-03 10:35:10 +02:00
|
|
|
|
2007-01-10 17:32:50 +01:00
|
|
|
Name: anjuta
|
2009-09-22 21:53:02 +02:00
|
|
|
Version: 2.27.91.0
|
2009-09-04 00:22:33 +02:00
|
|
|
Release: 1
|
|
|
|
License: GPL v2 or later
|
|
|
|
Summary: GNOME IDE for C and C++
|
|
|
|
Url: http://anjuta.sourceforge.net/
|
|
|
|
Group: Development/Tools/IDE
|
|
|
|
Source: anjuta-%{version}.tar.bz2
|
|
|
|
Source1: %{name}-rpmlintrc
|
2008-09-06 05:28:01 +02:00
|
|
|
BuildRequires: autogen
|
|
|
|
BuildRequires: binutils-devel
|
|
|
|
BuildRequires: devhelp-devel
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: gdl-devel
|
|
|
|
BuildRequires: gnome-common
|
|
|
|
BuildRequires: gnome-doc-utils-devel
|
|
|
|
BuildRequires: gnome-icon-theme
|
|
|
|
BuildRequires: graphviz-devel
|
2009-01-08 14:48:59 +01:00
|
|
|
BuildRequires: gtksourceview-devel
|
2008-09-06 05:28:01 +02:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libapr-util1-devel
|
|
|
|
BuildRequires: libapr1-devel
|
2009-02-12 16:34:38 +01:00
|
|
|
BuildRequires: libgda-4_0-devel
|
2008-09-06 05:28:01 +02:00
|
|
|
BuildRequires: libgladeui-1_0-devel
|
|
|
|
BuildRequires: libneon-devel
|
2009-05-20 23:39:52 +02:00
|
|
|
BuildRequires: libunique-devel
|
2008-09-06 05:28:01 +02:00
|
|
|
BuildRequires: libwnck-devel
|
|
|
|
BuildRequires: libxslt-devel
|
2009-02-12 16:34:38 +01:00
|
|
|
BuildRequires: perl-gettext
|
2008-09-06 05:28:01 +02:00
|
|
|
BuildRequires: shared-mime-info
|
|
|
|
BuildRequires: subversion-devel
|
|
|
|
BuildRequires: update-desktop-files
|
2008-11-28 14:38:57 +01:00
|
|
|
%ifnarch ia64 s390 s390x
|
2008-09-06 05:28:01 +02:00
|
|
|
BuildRequires: valgrind-devel
|
2008-11-28 14:38:57 +01:00
|
|
|
%endif
|
2008-09-06 05:28:01 +02:00
|
|
|
BuildRequires: vte-devel
|
2009-09-04 00:22:33 +02:00
|
|
|
Requires: %{name}-lang = %{version}
|
2007-10-26 20:10:49 +02:00
|
|
|
# Directly required by anjuta:
|
2009-09-04 00:22:33 +02:00
|
|
|
Requires: autoconf
|
2007-10-26 20:10:49 +02:00
|
|
|
Requires: autogen
|
2008-09-06 05:28:01 +02:00
|
|
|
Requires: automake
|
|
|
|
Requires: gettext
|
2009-09-04 00:22:33 +02:00
|
|
|
Requires: libtool
|
2007-01-10 17:32:50 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2007-10-25 01:44:45 +02:00
|
|
|
%gconf_schemas_prereq
|
2007-01-10 17:32:50 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Anjuta is a versatile integrated development environment (IDE) for C
|
|
|
|
and C++. It has been written for GTK and GNOME and features a number of
|
|
|
|
advanced programming facilities. It is basically a GUI interface for
|
|
|
|
the collection of command line programming utilities and tools
|
|
|
|
available for the GNU system. These are usually run via a text console
|
|
|
|
and can be unfriendly to use.
|
|
|
|
|
2007-10-19 04:26:19 +02:00
|
|
|
%package devel
|
2008-04-03 10:35:10 +02:00
|
|
|
License: GPL v2 or later
|
2007-10-19 04:26:19 +02:00
|
|
|
Summary: GNOME IDE for C and C++
|
|
|
|
Group: Development/Tools/IDE
|
2009-09-04 00:22:33 +02:00
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: gdl-devel
|
2007-10-19 04:26:19 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Anjuta is a versatile integrated development environment (IDE) for C
|
|
|
|
and C++. It has been written for GTK and GNOME and features a number of
|
|
|
|
advanced programming facilities. It is basically a GUI interface for
|
|
|
|
the collection of command line programming utilities and tools
|
|
|
|
available for the GNU system. These are usually run via a text console
|
|
|
|
and can be unfriendly to use.
|
|
|
|
|
2008-02-01 00:15:19 +01:00
|
|
|
%package doc
|
2008-04-03 10:35:10 +02:00
|
|
|
License: GPL v2 or later
|
2008-02-01 00:15:19 +01:00
|
|
|
Summary: GNOME IDE for C and C++
|
|
|
|
Group: Development/Tools/IDE
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
Anjuta is a versatile integrated development environment (IDE) for C
|
|
|
|
and C++. It has been written for GTK and GNOME and features a number of
|
|
|
|
advanced programming facilities. It is basically a GUI interface for
|
|
|
|
the collection of command line programming utilities and tools
|
|
|
|
available for the GNU system. These are usually run via a text console
|
|
|
|
and can be unfriendly to use.
|
|
|
|
|
2007-08-09 17:43:01 +02:00
|
|
|
%lang_package
|
2007-01-10 17:32:50 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2007-10-25 01:44:45 +02:00
|
|
|
%configure\
|
2009-04-24 22:58:24 +02:00
|
|
|
--disable-static \
|
2007-10-25 01:44:45 +02:00
|
|
|
--disable-scrollkeeper
|
2009-04-24 22:58:24 +02:00
|
|
|
make %{?jobs:-j%jobs}
|
2007-01-10 17:32:50 +01:00
|
|
|
|
|
|
|
%install
|
2007-10-19 04:26:19 +02:00
|
|
|
%makeinstall
|
2007-01-10 17:32:50 +01:00
|
|
|
# These should go to defaultdocdir.
|
2009-09-04 00:22:33 +02:00
|
|
|
rm -r %{buildroot}%{_datadir}/doc
|
|
|
|
DESTDIR=%{buildroot} mime-info-to-mime
|
2009-04-24 22:58:24 +02:00
|
|
|
%suse_update_desktop_file -C "" -G "Integrated Development Environment" anjuta Development IDE GNOME
|
2007-01-10 17:32:50 +01:00
|
|
|
%find_lang anjuta
|
2009-04-24 22:58:24 +02:00
|
|
|
%find_lang anjuta-build-tutorial anjuta.lang
|
2008-02-01 00:15:19 +01:00
|
|
|
%find_lang anjuta-faqs anjuta.lang
|
|
|
|
%find_lang anjuta-manual anjuta.lang
|
2007-10-25 01:44:45 +02:00
|
|
|
%find_gconf_schemas
|
2009-09-04 00:22:33 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
|
|
%fdupes %{buildroot}
|
2007-08-09 17:43:01 +02:00
|
|
|
|
2007-01-10 17:32:50 +01:00
|
|
|
%clean
|
2009-09-04 00:22:33 +02:00
|
|
|
rm -rf %{buildroot}
|
2007-01-10 17:32:50 +01:00
|
|
|
|
2007-10-25 01:44:45 +02:00
|
|
|
%pre -f %{name}.schemas_pre
|
|
|
|
|
2007-01-10 17:32:50 +01:00
|
|
|
%post
|
2008-04-03 10:35:10 +02:00
|
|
|
/sbin/ldconfig
|
2007-01-10 17:32:50 +01:00
|
|
|
if test -x usr/bin/update-mime-database ; then
|
|
|
|
usr/bin/update-mime-database usr/share/mime >/dev/null
|
|
|
|
fi
|
|
|
|
|
|
|
|
%postun
|
2008-04-03 10:35:10 +02:00
|
|
|
/sbin/ldconfig
|
2007-01-10 17:32:50 +01:00
|
|
|
if test -x usr/bin/update-mime-database ; then
|
|
|
|
usr/bin/update-mime-database usr/share/mime >/dev/null
|
|
|
|
fi
|
2009-07-31 18:28:10 +02:00
|
|
|
|
2007-10-25 01:44:45 +02:00
|
|
|
%posttrans -f %{name}.schemas_posttrans
|
|
|
|
|
|
|
|
%preun -f %{name}.schemas_preun
|
2007-01-10 17:32:50 +01:00
|
|
|
|
2007-10-25 01:44:45 +02:00
|
|
|
%files -f %{name}.schemas_list
|
2007-01-10 17:32:50 +01:00
|
|
|
%defattr(-,root,root)
|
2009-02-20 23:14:15 +01:00
|
|
|
%doc AUTHORS COPYING ChangeLog FUTURE NEWS README doc/ScintillaDoc.html TODO
|
2007-01-10 17:32:50 +01:00
|
|
|
%{_bindir}/*
|
|
|
|
%{_libdir}/anjuta
|
2007-10-19 04:26:19 +02:00
|
|
|
%{_libdir}/*.so.*
|
2007-01-10 17:32:50 +01:00
|
|
|
%{_datadir}/anjuta
|
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/mime/packages/*.xml
|
|
|
|
%{_datadir}/pixmaps/anjuta
|
2007-10-19 04:26:19 +02:00
|
|
|
# Somehow I think that this is wrong.
|
|
|
|
%dir %{_datadir}/icons/gnome/48x48/mimetypes/
|
|
|
|
%{_datadir}/icons/gnome/48x48/mimetypes/*.png
|
|
|
|
%{_datadir}/icons/gnome/scalable/mimetypes/*.svg
|
|
|
|
%{_datadir}/icons/hicolor/48x48/apps/*.png
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
2007-01-10 17:32:50 +01:00
|
|
|
%doc %{_mandir}/man?/*.*
|
2008-02-01 20:31:28 +01:00
|
|
|
%{_libdir}/glade3/modules/*
|
2008-02-04 18:28:17 +01:00
|
|
|
%{_datadir}/glade3/catalogs/*
|
2007-10-19 04:26:19 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-, root, root)
|
2009-02-20 23:14:15 +01:00
|
|
|
%{_includedir}/libanjuta-1.0
|
2007-10-19 04:26:19 +02:00
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2007-01-10 17:32:50 +01:00
|
|
|
|
2008-02-01 00:15:19 +01:00
|
|
|
%files doc
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%{_datadir}/gtk-doc/html/libanjuta
|
|
|
|
|
2007-08-09 17:43:01 +02:00
|
|
|
%files lang -f %name.lang
|
2008-02-01 00:15:19 +01:00
|
|
|
|
2007-04-18 18:02:06 +02:00
|
|
|
%changelog
|