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