- release 2 (by relup.sh)
[packages/gedit.git] / gedit.spec
CommitLineData
ae858907 1Summary: gedit - small but powerful text editor for X Window
df86aace 2Summary(pl.UTF-8): gedit - mały ale potężny edytor tekstu dla X Window
30e2ce94 3Name: gedit
4be57559 4Version: 3.28.0
906171ce 5Release: 2
7be77e00 6License: GPL v2+
80ed9b49 7Group: X11/Applications/Editors
4be57559
MB
8Source0: http://ftp.gnome.org/pub/GNOME/sources/gedit/3.28/%{name}-%{version}.tar.xz
9# Source0-md5: a886fa9707e8e5e3926d968826ca3606
2fc3cae5 10URL: http://www.gnome.org/projects/gedit/
ba3960de 11BuildRequires: autoconf >= 2.63.2
f5112bb2 12BuildRequires: automake >= 1:1.11
d5139838 13BuildRequires: docbook-dtd412-xml
4a6fe433 14BuildRequires: gettext-tools >= 0.18
d893bfd3 15BuildRequires: glib2-devel >= 1:2.44.0
2fc3cae5 16BuildRequires: gnome-common >= 2.24.0
1abe76cb 17BuildRequires: gobject-introspection-devel >= 0.10.0
1c0d543c 18BuildRequires: gspell-devel >= 0.2.5
44303a43 19BuildRequires: gsettings-desktop-schemas-devel >= 3.2.0
442e8d0d 20BuildRequires: gtk+3-devel >= 3.22.0
7be77e00 21BuildRequires: gtk-doc >= 1.0
442e8d0d 22BuildRequires: gtksourceview3-devel >= 3.22
7be77e00 23BuildRequires: intltool >= 0.50.1
b826373e 24BuildRequires: iso-codes >= 0.35
d893bfd3
MB
25BuildRequires: libpeas-devel >= 1.14.1
26BuildRequires: libpeas-gtk-devel >= 1.14.1
1abe76cb 27BuildRequires: libtool >= 2:2.2.6
2fc3cae5 28BuildRequires: libxml2-devel >= 1:2.6.31
e0458357 29BuildRequires: pkgconfig
9c229f8e 30BuildRequires: python3-devel >= 1:3.2.3
ff2a1fe9 31BuildRequires: python3-pygobject3-devel >= 3.0.0
d5139838 32BuildRequires: rpm-pythonprov
dcb9f503 33BuildRequires: rpmbuild(find_lang) >= 1.23
1abe76cb 34BuildRequires: rpmbuild(macros) >= 1.601
dcb9f503 35BuildRequires: sed >= 4.0
1af5ebd8 36BuildRequires: tar >= 1:1.22
9c229f8e 37BuildRequires: vala >= 2:0.25.1
4be57559 38BuildRequires: vala-gtksourceview
7be77e00 39BuildRequires: xorg-lib-libX11-devel
1af5ebd8 40BuildRequires: xz
f5a22f54 41BuildRequires: yelp-tools
b2d6a8ec 42Requires(post,postun): desktop-file-utils
1fce9653 43Requires(post,postun): glib2 >= 1:2.44.0
1c0d543c 44Requires(post,postun): gtk-update-icon-cache
d893bfd3 45Requires: glib2 >= 1:2.44.0
1c0d543c 46Requires: gspell >= 0.2.5
f5a22f54 47Requires: gsettings-desktop-schemas >= 3.2.0
442e8d0d
JB
48Requires: gtk+3 >= 3.22.0
49Requires: gtksourceview3 >= 3.22
1c0d543c 50Requires: hicolor-icon-theme
184bf1ea 51Requires: iso-codes >= 0.35
d893bfd3 52Requires: libpeas-loader-python3 >= 1.14.1
1fce9653 53Requires: libxml2 >= 1:2.6.31
9c229f8e 54Requires: python3-libs >= 1:3.2.3
ff2a1fe9
ŁK
55Requires: python3-pycairo
56Requires: python3-pygobject3 >= 3.0.0
ad6af051 57Obsoletes: gedit-plugins < 2.3.3-2
caa887cc 58# sr@Latn vs. sr@latin
30e2ce94 59Obsoletes: gedit2
caa887cc 60Conflicts: glibc-misc < 6:2.7
35cda6d9 61BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
80ed9b49 62
1abe76cb
MB
63%define skip_post_check_so libgedit-private.so.0.0.0
64
80ed9b49 65%description
ae858907 66gedit is a small but powerful text editor for GTK+ and/or GNOME. It
80ed9b49 67includes such features as split-screen mode, a plugin API, which
ae858907 68allows gedit to be extended to support many features while remaining
80ed9b49
AF
69small at its core, multiple document editing and many more functions.
70
834687a5
JR
71%description -l pl.UTF-8
72gedit jest małym ale potężnym edytorem tekstu dla GTK+ i/lub GNOME.
80ed9b49 73Zawiera takie funkcje jak tryb podzielonego ekranu, API dla "wtyczek",
834687a5
JR
74który umożliwia rozszerzenie funkcji gedita o dodatkowe możliwości,
75nie zwiększając rozmiarów samego programu, możliwość edycji wielu
76dokumentów naraz i wiele innych.
80ed9b49 77
ec3c068c 78%package devel
ae858907 79Summary: gedit header files
23e4f56b 80Summary(pl.UTF-8): Pliki nagłówkowe gedit
ec3c068c 81Group: X11/Development/Libraries
7be77e00 82# doesn't require base
d893bfd3 83Requires: glib2-devel >= 1:2.44.0
442e8d0d
JB
84Requires: gtk+3-devel >= 3.22.0
85Requires: gtksourceview3-devel >= 3.22
d893bfd3
MB
86Requires: libpeas-devel >= 1.14.1
87Requires: libpeas-gtk-devel >= 1.14.1
563cddf2 88Obsoletes: gedit2-devel
ec3c068c 89
90%description devel
dcb9f503 91gedit header files.
ec3c068c 92
834687a5
JR
93%description devel -l pl.UTF-8
94Pliki nagłówkowe gedit.
ec3c068c 95
dcb9f503
MB
96%package apidocs
97Summary: gedit API documentation
98Summary(pl.UTF-8): Dokumentacja API gedit
99Group: Documentation
100Requires: gtk-doc-common
563cddf2 101Obsoletes: gedit2-apidocs
bde5f1a1
ER
102%if "%{_rpmversion}" >= "5"
103BuildArch: noarch
104%endif
dcb9f503
MB
105
106%description apidocs
107gedit API documentation.
108
109%description apidocs -l pl.UTF-8
110Dokumentacja API gedit.
111
2b9cbd82
MB
112%package -n vala-gedit
113Summary: gedit API for Vala language
114Summary(pl.UTF-8): API gedit dla języka Vala
115Group: Development/Libraries
116Requires: %{name}-devel = %{version}-%{release}
9c229f8e 117Requires: vala >= 2:0.25.1
527fbbd1
ER
118%if "%{_rpmversion}" >= "5"
119BuildArch: noarch
120%endif
2b9cbd82
MB
121
122%description -n vala-gedit
123gedit API for Vala language.
124
125%description -n vala-gedit -l pl.UTF-8
126API gedit dla języka Vala.
127
80ed9b49 128%prep
30e2ce94 129%setup -q
80ed9b49
AF
130
131%build
4b52336d 132%{__gtkdocize}
155dfaa5 133%{__libtoolize}
45db3807 134%{__intltoolize}
ff2a1fe9 135%{__aclocal} -I m4 -I libgd
155dfaa5 136%{__autoconf}
b826373e 137%{__autoheader}
155dfaa5 138%{__automake}
139%configure \
3d7ada02 140 --disable-silent-rules \
184bf1ea 141 --disable-updater \
2d248ee3 142 --enable-gtk-doc \
dcb9f503 143 --with-html-dir=%{_gtkdocdir}
80ed9b49
AF
144%{__make}
145
146%install
147rm -rf $RPM_BUILD_ROOT
148
2fc3cae5 149%{__make} install \
1abe76cb 150 DESTDIR=$RPM_BUILD_ROOT
80ed9b49 151
1abe76cb 152%{__rm} $RPM_BUILD_ROOT%{_libdir}/gedit/plugins/*.la \
06a5b741 153 $RPM_BUILD_ROOT%{_libdir}/gedit/*.la
1abe76cb 154
74b36a5a
JR
155%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ln
156
ff2a1fe9 157%find_lang gedit --with-gnome
80ed9b49
AF
158
159%clean
160rm -rf $RPM_BUILD_ROOT
161
b9712ae2 162%post
1c0d543c 163%update_icon_cache hicolor
45db3807 164%update_desktop_database_post
1abe76cb 165%glib_compile_schemas
b9712ae2 166
365c16a7 167%postun
1c0d543c 168%update_icon_cache hicolor
45db3807 169%update_desktop_database_postun
1abe76cb 170%glib_compile_schemas
365c16a7 171
34003c3e 172%files -f gedit.lang
80ed9b49 173%defattr(644,root,root,755)
d893bfd3 174%doc AUTHORS ChangeLog MAINTAINERS NEWS README
b826373e
MB
175%attr(755,root,root) %{_bindir}/gedit
176%attr(755,root,root) %{_bindir}/gnome-text-editor
1abe76cb 177%dir %{_libdir}/gedit
04b337d2 178%attr(755,root,root) %{_libdir}/gedit/libgedit.so
1abe76cb 179%dir %{_libdir}/gedit/plugins
1abe76cb 180%attr(755,root,root) %{_libdir}/gedit/plugins/*.so
4be57559
MB
181%dir %{_libexecdir}/gedit
182%attr(755,root,root) %{_libexecdir}/gedit/gedit-bugreport.sh
1abe76cb 183%{_libdir}/gedit/plugins/*.plugin
ff2a1fe9
ŁK
184%{_libdir}/gedit/plugins/externaltools
185%{_libdir}/gedit/plugins/pythonconsole
186%{_libdir}/gedit/plugins/snippets
187%{_libdir}/gedit/plugins/quickopen
1abe76cb
MB
188%dir %{_libdir}/gedit/girepository-1.0
189%{_libdir}/gedit/girepository-1.0/Gedit-3.0.typelib
4be57559 190%{_datadir}/metainfo/org.gnome.gedit.appdata.xml
1abe76cb
MB
191%{_datadir}/gedit
192%{_datadir}/GConf/gsettings/gedit.convert
193%{_datadir}/dbus-1/services/org.gnome.gedit.service
194%{_datadir}/glib-2.0/schemas/org.gnome.gedit.enums.xml
195%{_datadir}/glib-2.0/schemas/org.gnome.gedit.gschema.xml
196%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.externaltools.gschema.xml
197%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.filebrowser.enums.xml
198%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.filebrowser.gschema.xml
199%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.pythonconsole.gschema.xml
200%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.time.enums.xml
201%{_datadir}/glib-2.0/schemas/org.gnome.gedit.plugins.time.gschema.xml
8cbb4c4e 202%{_desktopdir}/org.gnome.gedit.desktop
1c0d543c
MB
203%{_iconsdir}/hicolor/*/apps/gedit.png
204%{_iconsdir}/hicolor/symbolic/apps/gedit-symbolic.svg
b826373e 205%{_mandir}/man1/gedit.1*
ff2a1fe9
ŁK
206%{py3_sitedir}/gi/overrides/*.py
207%{py3_sitedir}/gi/overrides/__pycache__/*.py[co]
ec3c068c 208
209%files devel
210%defattr(644,root,root,755)
9c229f8e 211%{_includedir}/gedit-3.14
1abe76cb 212%{_pkgconfigdir}/gedit.pc
dcb9f503
MB
213
214%files apidocs
215%defattr(644,root,root,755)
2d248ee3 216%{_gtkdocdir}/gedit
2b9cbd82
MB
217
218%files -n vala-gedit
219%defattr(644,root,root,755)
220%{_datadir}/vala/vapi/gedit.deps
221%{_datadir}/vala/vapi/gedit.vapi
This page took 0.89022 seconds and 4 git commands to generate.