2007-07-17 Johannes Schmid <jhs@gnome.org>
[anjuta-git-plugin.git] / anjuta.spec.in
bloba5bf97ed221e204c8474cb0e46f61cbaea129b3d
1 %define desktop_vendor anjuta
2 %define name anjuta
3 %define version @VERSION@
4 %define release 1
5 %define serial 1
7 Summary: Integrated Development Environment
8 Name: %{name}
9 Version: %{version}
10 Release: %{release}
11 Serial: %{serial}
12 Copyright: GPL2
13 Group: Development/Tools
14 URL: http://anjuta.org/
15 Vendor: Naba Kumar <naba@gnome.org>
16 Source: %{name}-%{version}.tar.gz
17 BuildRoot: /var/tmp/%{name}-%{version}
18 Docdir: %{_docdir}
20 Requires: glib2 >= @GLIB_REQUIRED@
21 Requires: gtk2 >= @GTK_REQUIRED@
22 Requires: ORBit2 >= @ORBIT_REQUIRED@
23 Requires: libglade2 >= @LIBGLADE_REQUIRED@
24 Requires: libgnome >= @GNOME_REQUIRED@
25 Requires: libgnomeui >= @GNOME_UI_REQUIRED@
26 Requires: libgnomeprint22 >= @GNOME_PRINT_REQUIRED@
27 Requires: libgnomeprintui22 >= @GNOME_PRINT_UI_REQUIRED@
28 Requires: gnome-vfs2 >= @GNOME_VFS_REQUIRED@
29 Requires: vte >= @VTE_REQUIRED@
30 Requires: libxml2 >= @LIBXML_REQUIRED@
31 Requires: pango >= @PANGO_REQUIRED@
32 Requires: pcre >= @PCRE_REQUIRED@
33 Requires: devhelp >= @LIBDEVHELP_REQUIRED@
34 Requires: gdl >= @GDL_REQUIRED@
35 Requires: gnome-build >= @GNOMEBUILD_REQUIRED@
36 Requires: graphviz >= @LIBGRAPHVIZ_REQUIRED@
37 Requires: neon >= @NEON_REQUIRED@
38 Requires: subversion >= @SUBVERSION_REQUIRED@
40 BuildRequires: glib2-devel >= @GLIB_REQUIRED@
41 BuildRequires: gtk2-devel >= @GTK_REQUIRED@
42 BuildRequires: ORBit2-devel >= @ORBIT_REQUIRED@
43 BuildRequires: libglade2-devel >= @LIBGLADE_REQUIRED@
44 BuildRequires: libgnome-devel >= @GNOME_REQUIRED@
45 BuildRequires: libgnomeui-devel >= @GNOME_UI_REQUIRED@
46 BuildRequires: libgnomeprint22-devel >= @GNOME_PRINT_REQUIRED@
47 BuildRequires: libgnomeprintui22-devel >= @GNOME_PRINT_UI_REQUIRED@
48 BuildRequires: gnome-vfs2-devel >= @GNOME_VFS_REQUIRED@
49 BuildRequires: vte-devel >= @VTE_REQUIRED@
50 BuildRequires: libxml2-devel >= @LIBXML_REQUIRED@
51 BuildRequires: pango-devel >= @PANGO_REQUIRED@
52 BuildRequires: pcre-devel >= @PCRE_REQUIRED@
53 BuildRequires: devhelp-devel >= @LIBDEVHELP_REQUIRED@
54 BuildRequires: gdl-devel >= @GDL_REQUIRED@
55 BuildRequires: gnome-build-devel >= @GNOMEBUILD_REQUIRED@
56 BuildRequires: graphviz-devel >= @LIBGRAPHVIZ_REQUIRED@
57 BuildRequires: neon-devel >= @NEON_REQUIRED@
58 BuildRequires: subversion-devel >= @SUBVERSION_REQUIRED@
60 Distribution: Any
61 Packager: Naba Kumar <naba@gnome.org>
63 %description
64 Anjuta DevStudio is a versatile Integrated Development Environment (IDE)
65 on GNOME Desktop Environment and features a number of advanced
66 programming facilities. These include project management, application and
67 class wizards, an on-board interactive debugger, powerful source editor,
68 syntax highlighting, intellisense autocompletions, symbol navigation,
69 version controls, integrated GUI designing and other tools.
71 %package devel
72 Summary: Libraries and include files for Anjuta plugins development.
73 Group: Development/Libraries
74 Requires: %{name} = %{version}-%{release}
76 %description devel
77 Libraries, header files and API docs for developing Anjuta plugins.
79 %prep
80 %setup -q
82 %build
83 %configure --disable-plugin-glade
84 make %{?_smp_mflags}
86 %install
87 rm -rf %{buildroot}
88 %makeinstall
89 rm -fr %{buildroot}/var/scrollkeeper
91 %clean
92 rm -rf %{buildroot}
94 %post
95 ## if which scrollkeeper-update>/dev/null 2>&1; then \
96 ## scrollkeeper-update; \
97 ## fi
98 if which update-mime-database>/dev/null 2>&1; then \
99 update-mime-database %{_datadir}/mime; \
102 %postun
103 ## if which scrollkeeper-update>/dev/null 2>&1; then \
104 ## scrollkeeper-update; \
105 ## fi
106 if which update-mime-database>/dev/null 2>&1; then \
107 update-mime-database %{_datadir}/mime; \
110 %files
111 %defattr(-,root,root)
112 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
113 %doc doc/ScintillaDoc.html
115 %defattr(-,root,root)
116 %{_bindir}/%{name}*
117 %{_libdir}/lib%{name}*.so.*
118 %{_libdir}/%{name}
119 %{_datadir}/%{name}
120 %{_datadir}/applications/*%{name}.desktop
121 %{_datadir}/pixmaps/%{name}
122 %{_datadir}/doc/%{name}
123 %{_datadir}/application-registry/%{name}.applications
124 %{_datadir}/mime-info/%{name}.mime
125 %{_datadir}/mime-info/%{name}.keys
126 %{_datadir}/mime/packages/%{name}.xml
127 %{_datadir}/icons/gnome/48x48/mimetypes/*%{name}.png
128 ## %{_datadir}/gnome/help/%{name}
129 ## %{_datadir}/omf/%{name}
130 %{_datadir}/locale
131 %{_mandir}/man1/*
133 %files devel
134 %defattr (-, root, root)
135 %{_includedir}/*%{name}*
136 %{_libdir}/pkgconfig/*%{name}*
137 ## %{_libdir}/lib%{name}*.a
138 %{_libdir}/lib%{name}*.la
139 %{_libdir}/lib%{name}*.so
140 %{_datadir}/gtk-doc/html/*%{name}*