]> git.pld-linux.org Git - packages/anjuta.git/blob - anjuta.spec
- more obsoleted rms
[packages/anjuta.git] / anjuta.spec
1 Summary:        GNOME integrated development environment
2 Summary(es.UTF-8):      Entorno integrado de desarrollo (IDE) de GNOME
3 Summary(pl.UTF-8):      Zintegrowane środowisko programowania dla GNOME
4 Summary(pt_BR.UTF-8):   Ambiente de desenvolvimento integrado C e C++
5 Name:           anjuta
6 Version:        3.0.0.0
7 Release:        0.1
8 Epoch:          1
9 License:        GPL v2+
10 Group:          X11/Development/Tools
11 Source0:        http://ftp.gnome.org/pub/GNOME/sources/anjuta/3.0/%{name}-%{version}.tar.bz2
12 # Source0-md5:  ae7b5b9e89f1251d7c1e2109671ccd33
13 URL:            http://projects.gnome.org/anjuta/
14 BuildRequires:  GConf2-devel >= 2.26.0
15 BuildRequires:  autoconf >= 2.59
16 BuildRequires:  autogen
17 BuildRequires:  automake >= 1:1.9
18 BuildRequires:  devhelp-devel >= 0.22
19 BuildRequires:  docbook-dtd412-xml
20 BuildRequires:  gdl-devel >= 3.0.0
21 BuildRequires:  gettext-devel
22 BuildRequires:  gjs-devel
23 BuildRequires:  glib2-devel >= 1:2.26.0
24 BuildRequires:  glibc-misc
25 BuildRequires:  gnome-common >= 2.24.0
26 BuildRequires:  gnome-doc-utils
27 BuildRequires:  gobject-introspection-devel >= 0.6.7
28 BuildRequires:  graphviz-devel
29 BuildRequires:  gtk+3-devel >= 3.0.0
30 BuildRequires:  gtk-doc >= 1.7
31 BuildRequires:  gtk-webkit-devel
32 BuildRequires:  gtksourceview3-devel >= 3.0.0
33 BuildRequires:  intltool >= 0.40.0
34 BuildRequires:  libgda4-devel >= 4.2.0
35 BuildRequires:  libgladeui-devel >= 3.6.7
36 BuildRequires:  libstdc++-devel
37 BuildRequires:  libtool
38 BuildRequires:  libunique-devel >= 1.0.0
39 BuildRequires:  libxml2-devel >= 1:2.6.26
40 BuildRequires:  libxslt-devel
41 BuildRequires:  neon-devel >= 0.28.2
42 BuildRequires:  perl-Locale-gettext
43 BuildRequires:  pkgconfig
44 BuildRequires:  rpmbuild(find_lang) >= 1.23
45 BuildRequires:  rpmbuild(macros) >= 1.311
46 BuildRequires:  scrollkeeper
47 BuildRequires:  subversion-devel >= 1.5.0
48 BuildRequires:  vala >= 0.12.0
49 BuildRequires:  vte-devel >= 0.28.0
50 Requires(post,postun):  desktop-file-utils
51 Requires(post,postun):  gtk-update-icon-cache
52 Requires(post,postun):  hicolor-icon-theme
53 Requires(post,postun):  scrollkeeper
54 Requires(post,postun):  shared-mime-info
55 Requires(post,preun):   GConf2
56 # Requires:     gnome-terminal
57 Requires:       glib2 >= 1:2.26.0
58 Requires:       gtksourceview2 >= 2.10.0
59 Requires:       libanjuta = %{epoch}:%{version}-%{release}
60 Requires:       libgda4-provider-sqlite >= 4.2.0
61 Requires:       perl-Locale-gettext
62 Requires:       pkgconfig
63 Suggests:       ctags
64 Obsoletes:      gnome-build
65 Obsoletes:      gnome-build-devel
66 # sr@Latn vs. sr@latin
67 Conflicts:      glibc-misc < 6:2.7
68 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
69
70 %description
71 Anjuta is a very versatile integrated development environment for C
72 and C++ for GNU/Linux. Written in GTK/GNOME and written for GTK/GNOME,
73 it features many advanced programming tools and utilities. Besides
74 many other, it has project management, application wizards, onboard
75 interactive debugger, and a powerful source editor with source
76 browsing.
77
78 %description -l es.UTF-8
79 Anjuta es un entorno integrado de desarrollo para C y C++ para
80 GNU/Linux. Escrito en y para GTK/GNOME, proporciona muchas
81 herramientas de programación avanzadas. Entre otros, habilita
82 manejamiento de proyectos, wizards de aplicaciones, depurador
83 interactivo y un editador potente de código fuente que permite
84 hojearlo.
85
86 %description -l pl.UTF-8
87 Anjuta to wszechstronne zintegrowane środowisko programowania dla
88 języka C oraz C++. Zostało napisane z wykorzystaniem tandemu
89 GTK/GNOME, właśnie po to by go w takim otoczeniu używać. Między innymi
90 posiada zarządcę projektów, kreator aplikacji, wbudowany interaktywny
91 odpluskwiacz oraz edytor z możliwością przeglądania źródeł.
92
93 %description -l pt_BR.UTF-8
94 O Anjuta é um ambiente de desenvolvimento integrado (IDE) versátil
95 para as linguagens C e C++. Foi escrito para o GTK/GNOME e tem uma
96 série de características de programação avançadas. Basicamente é uma
97 interface gráfica com o usuário para um conjunto de utilitários de
98 linha de comando e ferramentas para programação para o Linux. Estas
99 são geralmente executadas em um console em modo texto e podem ser não
100 amigáveis.
101
102 %package -n libanjuta
103 Summary:        libanjuta library
104 Summary(pl.UTF-8):      Biblioteka libanjuta
105 Group:          X11/Libraries
106 Conflicts:      %{name} < 1:2.0.2-1
107
108 %description -n libanjuta
109 libanjuta library.
110
111 %description -n libanjuta -l pl.UTF-8
112 Biblioteka libanjuta.
113
114 %package -n libanjuta-devel
115 Summary:        Header files for libanjuta library
116 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libanjuta
117 Group:          X11/Development/Libraries
118 Requires:       GConf2-devel >= 2.26.0
119 Requires:       gtk+2-devel >= 2:2.20.0
120 Requires:       libanjuta = %{epoch}:%{version}-%{release}
121
122 %description -n libanjuta-devel
123 Header files for libanjuta library.
124
125 %description -n libanjuta-devel -l pl.UTF-8
126 Pliki nagłówkowe biblioteki libanjuta.
127
128 %package -n libanjuta-apidocs
129 Summary:        libanjuta API documentation
130 Summary(pl.UTF-8):      Dokumentacja API biblioteki libanjuta
131 Group:          Documentation
132 Requires:       gtk-doc-common
133
134 %description -n libanjuta-apidocs
135 libanjuta API documentation.
136
137 %description -n libanjuta-apidocs -l pl.UTF-8
138 Dokumentacja API biblioteki libanjuta.
139
140 %prep
141 %setup -q
142
143 %build
144 %{__intltoolize}
145 %{__libtoolize}
146 %{__aclocal}
147 %{__autoconf}
148 %{__autoheader}
149 %{__automake}
150 %configure \
151         --with-html-dir=%{_gtkdocdir} \
152         --with-omf-dir=%{_omf_dest_dir} \
153         --disable-schemas-install \
154         --disable-scrollkeeper \
155         --disable-silent-rules \
156         --disable-static
157
158 %{__make} -j1
159
160 %install
161 rm -rf $RPM_BUILD_ROOT
162
163 %{__make} -j1 install \
164         DESTDIR=$RPM_BUILD_ROOT \
165         mimepngicondir=%{_iconsdir}/hicolor/48x48/mimetypes \
166         mimesvgicondir=%{_iconsdir}/hicolor/scalable/mimetypes
167
168 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/anjuta
169 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libanjuta.la
170
171 %find_lang %{name} --with-gnome --with-omf --all-name
172
173 %clean
174 rm -rf $RPM_BUILD_ROOT
175
176 %post
177 %scrollkeeper_update_post
178 %update_mime_database
179 %update_desktop_database
180 %gconf_schema_install anjuta-build-basic-autotools-plugin.schemas
181 %gconf_schema_install anjuta-cvs-plugin.schemas
182 %gconf_schema_install anjuta-document-manager.schemas
183 %gconf_schema_install anjuta-debug-manager.schemas
184 %gconf_schema_install anjuta-editor-sourceview.schemas
185 %gconf_schema_install anjuta-language-cpp-java.schemas
186 %gconf_schema_install anjuta-message-manager-plugin.schemas
187 %gconf_schema_install preferences.schemas
188 %gconf_schema_install anjuta-symbol-db.schemas
189 %gconf_schema_install anjuta-terminal-plugin.schemas
190 %gconf_schema_install file-manager.schemas
191 %gconf_schema_install python-plugin-properties.schemas
192 %update_icon_cache hicolor
193
194 %preun
195 %gconf_schema_uninstall anjuta-build-basic-autotools-plugin.schemas
196 %gconf_schema_uninstall anjuta-cvs-plugin.schemas
197 %gconf_schema_uninstall anjuta-document-manager.schemas
198 %gconf_schema_uninstall anjuta-debug-manager.schemas
199 %gconf_schema_uninstall anjuta-editor-sourceview.schemas
200 %gconf_schema_uninstall anjuta-language-cpp-java.schemas
201 %gconf_schema_uninstall anjuta-message-manager-plugin.schemas
202 %gconf_schema_uninstall preferences.schemas
203 %gconf_schema_uninstall anjuta-symbol-db.schemas
204 %gconf_schema_uninstall anjuta-terminal-plugin.schemas
205 %gconf_schema_uninstall file-manager.schemas
206 %gconf_schema_uninstall python-plugin-properties.schemas
207
208 %postun
209 %scrollkeeper_update_postun
210 %update_mime_database
211 %update_desktop_database_postun
212 %update_icon_cache hicolor
213
214 %post   -n libanjuta -p /sbin/ldconfig
215 %postun -n libanjuta -p /sbin/ldconfig
216
217 %files -f %{name}.lang
218 %defattr(644,root,root,755)
219 %doc AUTHORS ChangeLog FUTURE NEWS README ROADMAP THANKS TODO doc/ScintillaDoc.html
220 %attr(755,root,root) %{_bindir}/anjuta
221 %attr(755,root,root) %{_bindir}/anjuta-launcher
222 %attr(755,root,root) %{_bindir}/anjuta-tags
223 %attr(755,root,root) %{_bindir}/gbf-am-parse
224 %attr(755,root,root) %{_bindir}/gbf-mkfile-parse
225 %dir %{_libdir}/%{name}
226 %attr(755,root,root) %{_libdir}/%{name}/lib*.so*
227 %attr(755,root,root) %{_libdir}/%{name}/anjuta-python-autocomplete.py
228 %{_libdir}/%{name}/*.plugin
229 %attr(755,root,root) %{_libdir}/glade3/modules/libgladeanjuta.so
230 %{_pixmapsdir}/%{name}
231 %dir %{_datadir}/%{name}
232 %{_datadir}/%{name}/GBF
233 %{_datadir}/%{name}/build
234 %{_datadir}/%{name}/class-templates
235 %{_datadir}/%{name}/glade
236 %{_datadir}/%{name}/gtodo
237 %{_datadir}/%{name}/profiles
238 %{_datadir}/%{name}/project
239 %dir %{_datadir}/%{name}/tools
240 %attr(755,root,root) %{_datadir}/%{name}/tools/find-fixmes.pl
241 %attr(755,root,root) %{_datadir}/%{name}/tools/prepare-changelog.pl
242 %attr(755,root,root) %{_datadir}/%{name}/tools/translation-status.pl
243 %{_datadir}/%{name}/tools/tools-2.xml
244 %{_datadir}/%{name}/ui
245 %{_datadir}/%{name}/anjuta_project.template
246 %{_datadir}/%{name}/gdb.init
247 %{_datadir}/%{name}/languages.xml
248 %{_datadir}/%{name}/layout.xml
249 %{_datadir}/%{name}/snippets-global-variables.xml
250 %{_datadir}/%{name}/snippets.anjuta-snippets
251 %{_datadir}/%{name}/sources.list
252 %{_datadir}/%{name}/tables.sql
253 %{_datadir}/%{name}/welcome.txt
254 %{_datadir}/%{name}/AUTHORS
255 %{_datadir}/mime/packages/anjuta.xml
256 %{_datadir}/glade3/catalogs/anjuta-glade.xml
257 %{_desktopdir}/%{name}.desktop
258 %{_mandir}/man1/anjuta.1*
259 %{_mandir}/man1/anjuta-launcher.1*
260 %{_sysconfdir}/gconf/schemas/anjuta-build-basic-autotools-plugin.schemas
261 %{_sysconfdir}/gconf/schemas/anjuta-cvs-plugin.schemas
262 %{_sysconfdir}/gconf/schemas/anjuta-document-manager.schemas
263 %{_sysconfdir}/gconf/schemas/anjuta-debug-manager.schemas
264 %{_sysconfdir}/gconf/schemas/anjuta-editor-sourceview.schemas
265 %{_sysconfdir}/gconf/schemas/anjuta-language-cpp-java.schemas
266 %{_sysconfdir}/gconf/schemas/anjuta-message-manager-plugin.schemas
267 %{_sysconfdir}/gconf/schemas/anjuta-symbol-db.schemas
268 %{_sysconfdir}/gconf/schemas/anjuta-terminal-plugin.schemas
269 %{_sysconfdir}/gconf/schemas/file-manager.schemas
270 %{_sysconfdir}/gconf/schemas/preferences.schemas
271 %{_sysconfdir}/gconf/schemas/python-plugin-properties.schemas
272 %{_iconsdir}/hicolor/*/*/*.*
273
274 %files -n libanjuta
275 %defattr(644,root,root,755)
276 %attr(755,root,root) %{_libdir}/libanjuta.so.*.*.*
277 %attr(755,root,root) %ghost %{_libdir}/libanjuta.so.0
278 %attr(755,root,root) %{_libdir}/libanjuta-foocanvas.so.*.*.*
279 %attr(755,root,root) %ghost %{_libdir}/libanjuta-foocanvas.so.0
280 %{_libdir}/girepository-1.0/Anjuta-1.0.typelib
281 %{_libdir}/girepository-1.0/IAnjuta-1.0.typelib
282
283 %files -n libanjuta-devel
284 %defattr(644,root,root,755)
285 %attr(755,root,root) %{_libdir}/libanjuta.so
286 %attr(755,root,root) %{_libdir}/libanjuta-foocanvas.so
287 %{_libdir}/libanjuta-foocanvas.la
288 %{_includedir}/libanjuta-1.0
289 %{_pkgconfigdir}/libanjuta-1.0.pc
290 %{_datadir}/gir-1.0/Anjuta-1.0.gir
291 %{_datadir}/gir-1.0/IAnjuta-1.0.gir
292
293 %files -n libanjuta-apidocs
294 %defattr(644,root,root,755)
295 %{_gtkdocdir}/libanjuta
This page took 0.914957 seconds and 3 git commands to generate.