]> git.pld-linux.org Git - packages/tepl.git/blame_incremental - tepl.spec
- new, gtef successor
[packages/tepl.git] / tepl.spec
... / ...
CommitLineData
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
8Version: 2.99.1
9Release: 1
10License: LGPL v2.1+
11Group: Libraries
12Source0: http://ftp.acc.umu.se/pub/GNOME/sources/tepl/2.99/%{name}-%{version}.tar.xz
13# Source0-md5: 42b00cf84cbfed6a40dc0011c42da588
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
27BuildRequires: vala
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
59
60%description devel
61Header files for Tepl library.
62
63%description devel -l pl.UTF-8
64Pliki nagłówkowe biblioteki Tepl.
65
66%package static
67Summary: Static Tepl library
68Summary(pl.UTF-8): Statyczna biblioteka Tepl
69Group: Development/Libraries
70Requires: %{name}-devel = %{version}-%{release}
71
72%description static
73Static Tepl library.
74
75%description static -l pl.UTF-8
76Statyczna biblioteka Tepl.
77
78%package -n vala-tepl
79Summary: Vala API for Tepl library
80Summary(pl.UTF-8): API języka Vala do biblioteki Tepl
81Group: Development/Libraries
82Requires: %{name}-devel = %{version}-%{release}
83Requires: vala
84
85%description -n vala-tepl
86Vala API for Tepl library.
87
88%description -n vala-tepl -l pl.UTF-8
89API języka Vala do biblioteki Tepl.
90
91%package apidocs
92Summary: API documentation for Tepl library
93Summary(pl.UTF-8): Dokumentacja API biblioteki Tepl
94Group: Documentation
95%if "%{_rpmversion}" >= "5"
96BuildArch: noarch
97%endif
98
99%description apidocs
100API documentation for Tepl library.
101
102%description apidocs -l pl.UTF-8
103Dokumentacja API biblioteki Tepl.
104
105%prep
106%setup -q
107
108%build
109# rebuild ac/am/lt for as-needed to work
110%{__libtoolize}
111%{__aclocal} -I m4
112%{__autoconf}
113%{__autoheader}
114%{__automake}
115%configure \
116 --disable-silent-rules \
117 %{?with_static_libs:--enable-static} \
118 --with-html-dir=%{_gtkdocdir}
119%{__make}
120
121%install
122rm -rf $RPM_BUILD_ROOT
123
124%{__make} install \
125 DESTDIR=$RPM_BUILD_ROOT
126
127# obsoleted by pkg-config
128%{__rm} $RPM_BUILD_ROOT%{_libdir}/libtepl-3.la
129
130%find_lang tepl-3
131
132%clean
133rm -rf $RPM_BUILD_ROOT
134
135%post -p /sbin/ldconfig
136%postun -p /sbin/ldconfig
137
138%files -f tepl-3.lang
139%defattr(644,root,root,755)
140%doc AUTHORS NEWS README
141%attr(755,root,root) %{_libdir}/libtepl-3.so.*.*.*
142%attr(755,root,root) %ghost %{_libdir}/libtepl-3.so.0
143%{_libdir}/girepository-1.0/Tepl-3.typelib
144
145%files devel
146%defattr(644,root,root,755)
147%attr(755,root,root) %{_libdir}/libtepl-3.so
148%{_includedir}/tepl-3
149%{_datadir}/gir-1.0/Tepl-3.gir
150%{_pkgconfigdir}/tepl-3.pc
151
152%if %{with static_libs}
153%files static
154%defattr(644,root,root,755)
155%{_libdir}/libtepl-3.a
156%endif
157
158%files -n vala-tepl
159%defattr(644,root,root,755)
160%{_datadir}/vala/vapi/tepl-3.deps
161%{_datadir}/vala/vapi/tepl-3.vapi
162
163%files apidocs
164%defattr(644,root,root,755)
165%{_gtkdocdir}/tepl-3.0
This page took 0.050107 seconds and 4 git commands to generate.