]> git.pld-linux.org Git - packages/tepl.git/blame - tepl.spec
- up to 2.99.2; introduces amtk library, no vapi in this version
[packages/tepl.git] / tepl.spec
CommitLineData
cacaaae8
JB
1#
2# Conditional build:
3%bcond_without static_libs # don't build static libraries
4#
5Summary: Tepl - Text editor product line
6Summary(pl.UTF-8): Tepl (Text editor product line) - linia produkcyjna edytorów
7Name: tepl
f04e7773 8Version: 2.99.2
cacaaae8
JB
9Release: 1
10License: LGPL v2.1+
11Group: Libraries
f04e7773
JB
12Source0: http://ftp.gnome.org/pub/GNOME/sources/tepl/2.99/%{name}-%{version}.tar.xz
13# Source0-md5: 2340f04086fdd565925c97da0f880ffa
cacaaae8
JB
14URL: https://wiki.gnome.org/Projects/Tepl
15BuildRequires: autoconf >= 2.64
16BuildRequires: automake >= 1:1.14
17BuildRequires: gettext-tools >= 0.19.4
18BuildRequires: glib2-devel >= 1:2.52
19BuildRequires: gobject-introspection-devel >= 1.42.0
20BuildRequires: gtk+3-devel >= 3.20
21BuildRequires: gtk-doc >= 1.25
22BuildRequires: gtksourceview3-devel >= 3.22
23BuildRequires: libtool >= 2:2.2.6
24BuildRequires: libxml2-devel >= 1:2.5
25BuildRequires: pkgconfig
26BuildRequires: uchardet-devel
f04e7773 27#BuildRequires: vala
cacaaae8
JB
28Requires: glib2 >= 1:2.52
29Requires: gtk+3 >= 3.20
30Requires: gtksourceview3 >= 3.22
31Requires: libxml2 >= 1:2.5
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35Tepl is a library that eases the development of GtkSourceView-based
36text editors and IDEs.
37
38Tepl was previously named Gtef (GTK+ text editor framework). The
39project has been renamed in June 2017 to have a more beautiful name.
40
41%description -l pl.UTF-8
42Tepl to biblioteka ułatawiająca tworzenie edytorów tekstu i IDE
43opartych na GtkSourceView.
44
45Tepl wcześniej nazywał się Gtef (GTK+ text editor framework - skielet
46edytorów tekstu GTK+); nazwa została zmieniona w czerwcu 2017 na
47ładniej brzmiącą.
48
49%package devel
50Summary: Header files for Tepl library
51Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Tepl
52Group: Development/Libraries
53Requires: %{name} = %{version}-%{release}
54Requires: glib2-devel >= 1:2.52
55Requires: gtk+3-devel >= 3.20
56Requires: gtksourceview3-devel >= 3.22
57Requires: libxml2-devel >= 1:2.5
58Requires: uchardet-devel
f04e7773
JB
59# temporary? no vapi in 2.99.2
60Obsoletes: vala-tepl < 2.99.2
cacaaae8
JB
61
62%description devel
63Header files for Tepl library.
64
65%description devel -l pl.UTF-8
66Pliki nagłówkowe biblioteki Tepl.
67
68%package static
69Summary: Static Tepl library
70Summary(pl.UTF-8): Statyczna biblioteka Tepl
71Group: Development/Libraries
72Requires: %{name}-devel = %{version}-%{release}
73
74%description static
75Static Tepl library.
76
77%description static -l pl.UTF-8
78Statyczna biblioteka Tepl.
79
80%package -n vala-tepl
81Summary: Vala API for Tepl library
82Summary(pl.UTF-8): API języka Vala do biblioteki Tepl
83Group: Development/Libraries
84Requires: %{name}-devel = %{version}-%{release}
85Requires: vala
86
87%description -n vala-tepl
88Vala API for Tepl library.
89
90%description -n vala-tepl -l pl.UTF-8
91API języka Vala do biblioteki Tepl.
92
93%package apidocs
94Summary: API documentation for Tepl library
95Summary(pl.UTF-8): Dokumentacja API biblioteki Tepl
96Group: Documentation
97%if "%{_rpmversion}" >= "5"
98BuildArch: noarch
99%endif
100
101%description apidocs
102API documentation for Tepl library.
103
104%description apidocs -l pl.UTF-8
105Dokumentacja API biblioteki Tepl.
106
107%prep
108%setup -q
109
110%build
111# rebuild ac/am/lt for as-needed to work
112%{__libtoolize}
113%{__aclocal} -I m4
114%{__autoconf}
115%{__autoheader}
116%{__automake}
117%configure \
118 --disable-silent-rules \
119 %{?with_static_libs:--enable-static} \
120 --with-html-dir=%{_gtkdocdir}
121%{__make}
122
123%install
124rm -rf $RPM_BUILD_ROOT
125
126%{__make} install \
127 DESTDIR=$RPM_BUILD_ROOT
128
129# obsoleted by pkg-config
f04e7773 130%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
cacaaae8
JB
131
132%find_lang tepl-3
133
134%clean
135rm -rf $RPM_BUILD_ROOT
136
137%post -p /sbin/ldconfig
138%postun -p /sbin/ldconfig
139
140%files -f tepl-3.lang
141%defattr(644,root,root,755)
142%doc AUTHORS NEWS README
f04e7773
JB
143%attr(755,root,root) %{_libdir}/libamtk-3.so.*.*.*
144%attr(755,root,root) %ghost %{_libdir}/libamtk-3.so.0
cacaaae8
JB
145%attr(755,root,root) %{_libdir}/libtepl-3.so.*.*.*
146%attr(755,root,root) %ghost %{_libdir}/libtepl-3.so.0
f04e7773 147%{_libdir}/girepository-1.0/Amtk-3.typelib
cacaaae8
JB
148%{_libdir}/girepository-1.0/Tepl-3.typelib
149
150%files devel
151%defattr(644,root,root,755)
f04e7773 152%attr(755,root,root) %{_libdir}/libamtk-3.so
cacaaae8 153%attr(755,root,root) %{_libdir}/libtepl-3.so
f04e7773 154%{_includedir}/amtk-3
cacaaae8 155%{_includedir}/tepl-3
f04e7773 156%{_datadir}/gir-1.0/Amtk-3.gir
cacaaae8 157%{_datadir}/gir-1.0/Tepl-3.gir
f04e7773 158%{_pkgconfigdir}/amtk-3.pc
cacaaae8
JB
159%{_pkgconfigdir}/tepl-3.pc
160
161%if %{with static_libs}
162%files static
163%defattr(644,root,root,755)
f04e7773 164%{_libdir}/libamtk-3.a
cacaaae8
JB
165%{_libdir}/libtepl-3.a
166%endif
167
f04e7773 168%if 0
cacaaae8
JB
169%files -n vala-tepl
170%defattr(644,root,root,755)
171%{_datadir}/vala/vapi/tepl-3.deps
172%{_datadir}/vala/vapi/tepl-3.vapi
f04e7773 173%endif
cacaaae8
JB
174
175%files apidocs
176%defattr(644,root,root,755)
177%{_gtkdocdir}/tepl-3.0
This page took 0.045868 seconds and 4 git commands to generate.