]> git.pld-linux.org Git - packages/anjuta.git/blob - anjuta.spec
- drop obsoleted rm
[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 # *.la not needed - *.so loaded through libgmodule
169 %{__rm} $RPM_BUILD_ROOT%{_libdir}/{anjuta,glade3}/lib*.la
170
171 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/anjuta
172 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libanjuta.la
173
174 %find_lang %{name} --with-gnome --with-omf --all-name
175
176 %clean
177 rm -rf $RPM_BUILD_ROOT
178
179 %post
180 %scrollkeeper_update_post
181 %update_mime_database
182 %update_desktop_database
183 %gconf_schema_install anjuta-build-basic-autotools-plugin.schemas
184 %gconf_schema_install anjuta-cvs-plugin.schemas
185 %gconf_schema_install anjuta-document-manager.schemas
186 %gconf_schema_install anjuta-debug-manager.schemas
187 %gconf_schema_install anjuta-editor-sourceview.schemas
188 %gconf_schema_install anjuta-language-cpp-java.schemas
189 %gconf_schema_install anjuta-message-manager-plugin.schemas
190 %gconf_schema_install preferences.schemas
191 %gconf_schema_install anjuta-symbol-db.schemas
192 %gconf_schema_install anjuta-terminal-plugin.schemas
193 %gconf_schema_install file-manager.schemas
194 %gconf_schema_install python-plugin-properties.schemas
195 %update_icon_cache hicolor
196
197 %preun
198 %gconf_schema_uninstall anjuta-build-basic-autotools-plugin.schemas
199 %gconf_schema_uninstall anjuta-cvs-plugin.schemas
200 %gconf_schema_uninstall anjuta-document-manager.schemas
201 %gconf_schema_uninstall anjuta-debug-manager.schemas
202 %gconf_schema_uninstall anjuta-editor-sourceview.schemas
203 %gconf_schema_uninstall anjuta-language-cpp-java.schemas
204 %gconf_schema_uninstall anjuta-message-manager-plugin.schemas
205 %gconf_schema_uninstall preferences.schemas
206 %gconf_schema_uninstall anjuta-symbol-db.schemas
207 %gconf_schema_uninstall anjuta-terminal-plugin.schemas
208 %gconf_schema_uninstall file-manager.schemas
209 %gconf_schema_uninstall python-plugin-properties.schemas
210
211 %postun
212 %scrollkeeper_update_postun
213 %update_mime_database
214 %update_desktop_database_postun
215 %update_icon_cache hicolor
216
217 %post   -n libanjuta -p /sbin/ldconfig
218 %postun -n libanjuta -p /sbin/ldconfig
219
220 %files -f %{name}.lang
221 %defattr(644,root,root,755)
222 %doc AUTHORS ChangeLog FUTURE NEWS README ROADMAP THANKS TODO doc/ScintillaDoc.html
223 %attr(755,root,root) %{_bindir}/anjuta
224 %attr(755,root,root) %{_bindir}/anjuta-launcher
225 %attr(755,root,root) %{_bindir}/anjuta-tags
226 %attr(755,root,root) %{_bindir}/gbf-am-parse
227 %attr(755,root,root) %{_bindir}/gbf-mkfile-parse
228 %dir %{_libdir}/%{name}
229 %attr(755,root,root) %{_libdir}/%{name}/lib*.so*
230 %attr(755,root,root) %{_libdir}/%{name}/anjuta-python-autocomplete.py
231 %{_libdir}/%{name}/*.plugin
232 %attr(755,root,root) %{_libdir}/glade3/modules/libgladeanjuta.so
233 %{_pixmapsdir}/%{name}
234 %dir %{_datadir}/%{name}
235 %{_datadir}/%{name}/GBF
236 %{_datadir}/%{name}/build
237 %{_datadir}/%{name}/class-templates
238 %{_datadir}/%{name}/glade
239 %{_datadir}/%{name}/gtodo
240 %{_datadir}/%{name}/profiles
241 %{_datadir}/%{name}/project
242 %dir %{_datadir}/%{name}/tools
243 %attr(755,root,root) %{_datadir}/%{name}/tools/find-fixmes.pl
244 %attr(755,root,root) %{_datadir}/%{name}/tools/prepare-changelog.pl
245 %attr(755,root,root) %{_datadir}/%{name}/tools/translation-status.pl
246 %{_datadir}/%{name}/tools/tools-2.xml
247 %{_datadir}/%{name}/ui
248 %{_datadir}/%{name}/anjuta_project.template
249 %{_datadir}/%{name}/gdb.init
250 %{_datadir}/%{name}/languages.xml
251 %{_datadir}/%{name}/layout.xml
252 %{_datadir}/%{name}/snippets-global-variables.xml
253 %{_datadir}/%{name}/snippets.anjuta-snippets
254 %{_datadir}/%{name}/sources.list
255 %{_datadir}/%{name}/tables.sql
256 %{_datadir}/%{name}/welcome.txt
257 %{_datadir}/%{name}/AUTHORS
258 %{_datadir}/mime/packages/anjuta.xml
259 %{_datadir}/glade3/catalogs/anjuta-glade.xml
260 %{_desktopdir}/%{name}.desktop
261 %{_mandir}/man1/anjuta.1*
262 %{_mandir}/man1/anjuta-launcher.1*
263 %{_sysconfdir}/gconf/schemas/anjuta-build-basic-autotools-plugin.schemas
264 %{_sysconfdir}/gconf/schemas/anjuta-cvs-plugin.schemas
265 %{_sysconfdir}/gconf/schemas/anjuta-document-manager.schemas
266 %{_sysconfdir}/gconf/schemas/anjuta-debug-manager.schemas
267 %{_sysconfdir}/gconf/schemas/anjuta-editor-sourceview.schemas
268 %{_sysconfdir}/gconf/schemas/anjuta-language-cpp-java.schemas
269 %{_sysconfdir}/gconf/schemas/anjuta-message-manager-plugin.schemas
270 %{_sysconfdir}/gconf/schemas/anjuta-symbol-db.schemas
271 %{_sysconfdir}/gconf/schemas/anjuta-terminal-plugin.schemas
272 %{_sysconfdir}/gconf/schemas/file-manager.schemas
273 %{_sysconfdir}/gconf/schemas/preferences.schemas
274 %{_sysconfdir}/gconf/schemas/python-plugin-properties.schemas
275 %{_iconsdir}/hicolor/*/*/*.*
276
277 %files -n libanjuta
278 %defattr(644,root,root,755)
279 %attr(755,root,root) %{_libdir}/libanjuta.so.*.*.*
280 %attr(755,root,root) %ghost %{_libdir}/libanjuta.so.0
281 %attr(755,root,root) %{_libdir}/libanjuta-foocanvas.so.*.*.*
282 %attr(755,root,root) %ghost %{_libdir}/libanjuta-foocanvas.so.0
283 %{_libdir}/girepository-1.0/Anjuta-1.0.typelib
284 %{_libdir}/girepository-1.0/IAnjuta-1.0.typelib
285
286 %files -n libanjuta-devel
287 %defattr(644,root,root,755)
288 %attr(755,root,root) %{_libdir}/libanjuta.so
289 %attr(755,root,root) %{_libdir}/libanjuta-foocanvas.so
290 %{_libdir}/libanjuta-foocanvas.la
291 %{_includedir}/libanjuta-1.0
292 %{_pkgconfigdir}/libanjuta-1.0.pc
293 %{_datadir}/gir-1.0/Anjuta-1.0.gir
294 %{_datadir}/gir-1.0/IAnjuta-1.0.gir
295
296 %files -n libanjuta-apidocs
297 %defattr(644,root,root,755)
298 %{_gtkdocdir}/libanjuta
This page took 0.059118 seconds and 3 git commands to generate.