/[packages]/cauldron/anjuta/current/SPECS/anjuta.spec
ViewVC logotype

Contents of /cauldron/anjuta/current/SPECS/anjuta.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 70193 - (show annotations) (download)
Sat Mar 12 21:04:42 2011 UTC (11 years, 3 months ago) by obgr_seneca
File size: 5668 byte(s)
imported package anjuta
1 %define major 0
2 %define libname %mklibname %{name} %major
3 %define libnamedev %mklibname %{name} -d
4 %define _requires_exceptions perl.GBF..Make.
5
6 Summary: Integrated development environment for C and C++ (Linux)
7 Name: anjuta
8 Version: 2.32.1.1
9 Release: %mkrel 2
10 License: GPLv2+
11 Group: Development/Other
12 URL: http://anjuta.sourceforge.net/
13 Source0: ftp://ftp.gnome.org/pub/GNOME/sources/anjuta/%{name}-%{version}.tar.bz2
14 Patch0: anjuta-2.31.6.0-format-strings.patch
15 Patch1: anjuta-2.29.4.0-fix-linking.patch
16
17 BuildRequires: gtk+2-devel >= 2.4.0
18 BuildRequires: libORBit2-devel >= 2.6
19 BuildRequires: libxml2-devel >= 2.4.23
20 BuildRequires: pango-devel >= 1.8
21 BuildRequires: gda4.0-devel
22 BuildRequires: libgdl-devel >= 2.27.3
23 BuildRequires: libxslt-devel
24 BuildRequires: unique-devel
25 BuildRequires: devhelp-devel >= 2.31.6
26 BuildRequires: vte-devel >= 0.9.0
27 BuildRequires: autogen-devel
28 BuildRequires: autogen
29 BuildRequires: gtksourceview-devel
30 BuildRequires: gnome-common
31 BuildRequires: intltool
32 BuildRequires: subversion-devel >= 1.0.2
33 BuildRequires: apr-util-devel >= 0.9.4
34 BuildRequires: binutils-devel
35 BuildRequires: pcre-devel
36 BuildRequires: gtk-doc >= 1.0
37 BuildRequires: gnome-doc-utils >= 0.4.2
38 BuildRequires: apr-devel >= 1.2.2
39 BuildRequires: gd-devel
40 BuildRequires: graphviz-devel >= 2.22
41 BuildRequires: scrollkeeper
42 BuildRequires: howl-devel
43 BuildRequires: glade3-devel >= 1:3.7.1
44 BuildRequires: vala-devel >= 0.9.4
45 BuildRequires: glib2-devel >= 2.25.15
46 BuildRequires: imagemagick
47
48 Requires: autogen
49 Suggests: libglademm-devel
50 Suggests: glade3
51
52 # package was called anjuta2 in Mdv due to anjuta-1.x packages in <= 2008.1
53 Provides: %{name}2 = %{version}-%{release}
54
55 %description
56 Anjuta DevStudio is a versatile Integrated Development Environment (IDE)
57 on GNOME Desktop Environment and features a number of advanced
58 programming facilities. These include project management, application and
59 class wizards, an on-board interactive debugger, powerful source editor,
60 syntax highlighting, intellisense autocompletions, symbol navigation,
61 version controls, integrated GUI designing and other tools.
62
63 Anjuta 2.x is the next generation Anjuta development studio with extensible
64 plugin architecture. The new architecture allows writing independent
65 plugins that could interact with existing plugins. Most of the older
66 features have been already ported to the new architecture and are working.
67
68 %package -n %{libname}
69 Summary: Anjuta 2 libraries
70 Group: System/Libraries
71
72 %description -n %{libname}
73 Anjuta 2 libraries
74
75 %package -n %{libnamedev}
76 Summary: Anjuta 2 devel files
77 Group: Development/Other
78 Requires: %{libname} = %version
79 Provides: %{name}-devel
80
81 %description -n %{libnamedev}
82 Anjuta 2 devel files
83
84 %prep
85 %setup -q
86 %apply_patches
87
88 %build
89 autoreconf -fi
90 %configure2_5x \
91 --disable-static \
92 --enable-plugin-sourceview \
93 --enable-introspection=no
94 %make
95
96 %install
97 rm -rf %{buildroot}
98 %makeinstall_std
99
100 desktop-file-install --vendor="" \
101 --remove-key='Encoding' \
102 --add-category="IDE" \
103 --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_datadir}/applications/*
104
105 %find_lang %{name} --with-gnome
106 %find_lang %{name}-build-tutorial --with-gnome
107 cat %{name}-build-tutorial.lang > anjuta.lang
108
109 # remove unneeded and conflictive files
110 rm -f %{buildroot}%{_libdir}/libanjuta*.la \
111 %{buildroot}%{_libdir}/libanjuta*.a \
112 %{buildroot}%{_datadir}/mime/XMLnamespaces \
113 %{buildroot}%{_datadir}/mime/aliases \
114 %{buildroot}%{_datadir}/mime/globs \
115 %{buildroot}%{_datadir}/mime/magic \
116 %{buildroot}%{_datadir}/mime/subclasses
117 rm -rf %{buildroot}/%{_docdir}
118
119 %clean
120 rm -rf %{buildroot}
121
122 %define schemas anjuta-build-basic-autotools-plugin anjuta-cvs-plugin anjuta-document-manager anjuta-editor-sourceview anjuta-language-cpp-java anjuta-message-manager-plugin anjuta-terminal-plugin anjuta-debug-manager anjuta-symbol-db file-manager preferences python-plugin-properties
123
124 # neccessary because uninstall of schemas is not done by filetriggers
125 %preun
126 %preun_uninstall_gconf_schemas %{schemas}
127
128 %files -f %{name}.lang
129 %defattr(-,root,root)
130 %{_sysconfdir}/gconf/schemas/anjuta-build-basic-autotools-plugin.schemas
131 %{_sysconfdir}/gconf/schemas/anjuta-cvs-plugin.schemas
132 %{_sysconfdir}/gconf/schemas/anjuta-document-manager.schemas
133 %{_sysconfdir}/gconf/schemas/anjuta-debug-manager.schemas
134 %{_sysconfdir}/gconf/schemas/anjuta-editor-sourceview.schemas
135 %{_sysconfdir}/gconf/schemas/anjuta-language-cpp-java.schemas
136 %{_sysconfdir}/gconf/schemas/anjuta-message-manager-plugin.schemas
137 %{_sysconfdir}/gconf/schemas/anjuta-symbol-db.schemas
138 %{_sysconfdir}/gconf/schemas/anjuta-terminal-plugin.schemas
139 %{_sysconfdir}/gconf/schemas/file-manager.schemas
140 %{_sysconfdir}/gconf/schemas/preferences.schemas
141 %{_sysconfdir}/gconf/schemas/python-plugin-properties.schemas
142 %{_bindir}/*
143 %{_libdir}/glade3/modules/*
144 %{_libdir}/anjuta
145 %{_datadir}/anjuta
146 %{_datadir}/glade3/catalogs/*.xml
147 %{_datadir}/applications/*.desktop
148 %{_datadir}/gtk-doc/html/libanjuta*
149 %{_datadir}/icons/gnome/*/mimetypes/*
150 %{_datadir}/locale/*/LC_MESSAGES/anjuta.mo
151 %{_mandir}/man1/anjuta.1*
152 %{_mandir}/man1/anjuta-launcher.1*
153 %{_datadir}/mime/packages/anjuta.xml
154 %{_datadir}/pixmaps/anjuta
155 %{_datadir}/icons/hicolor/*/apps/*
156 %{_datadir}/omf/anjuta-manual/*.omf
157 %{_datadir}/gnome/help/anjuta-manual/
158 %{_datadir}/gnome/help/anjuta-faqs/
159
160
161 %files -n %libname
162 %defattr(-,root,root)
163 %_libdir/*.so.%{major}*
164
165 %files -n %libnamedev
166 %defattr(-,root,root)
167 %_libdir/*.so
168 %_includedir/libanjuta-1.0
169 %_libdir/pkgconfig/*.pc
170

  ViewVC Help
Powered by ViewVC 1.1.28