- up to 2.99.2; introduces amtk library, no vapi in this version auto/th/tepl-2.99.2-1
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 26 Jul 2017 18:16:28 +0000 (20:16 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Wed, 26 Jul 2017 18:16:28 +0000 (20:16 +0200)
tepl.spec

index 844c180cca13fb3c3e0e6923051f24e441d5608f..88ebc75ae3d3fda24786da68d57d0af0f2dec41f 100644 (file)
--- a/tepl.spec
+++ b/tepl.spec
@@ -5,12 +5,12 @@
 Summary:       Tepl - Text editor product line
 Summary(pl.UTF-8):     Tepl (Text editor product line) - linia produkcyjna edytorów
 Name:          tepl
-Version:       2.99.1
+Version:       2.99.2
 Release:       1
 License:       LGPL v2.1+
 Group:         Libraries
-Source0:       http://ftp.acc.umu.se/pub/GNOME/sources/tepl/2.99/%{name}-%{version}.tar.xz
-# Source0-md5: 42b00cf84cbfed6a40dc0011c42da588
+Source0:       http://ftp.gnome.org/pub/GNOME/sources/tepl/2.99/%{name}-%{version}.tar.xz
+# Source0-md5: 2340f04086fdd565925c97da0f880ffa
 URL:           https://wiki.gnome.org/Projects/Tepl
 BuildRequires: autoconf >= 2.64
 BuildRequires: automake >= 1:1.14
@@ -24,7 +24,7 @@ BuildRequires:        libtool >= 2:2.2.6
 BuildRequires: libxml2-devel >= 1:2.5
 BuildRequires: pkgconfig
 BuildRequires: uchardet-devel
-BuildRequires: vala
+#BuildRequires:        vala
 Requires:      glib2 >= 1:2.52
 Requires:      gtk+3 >= 3.20
 Requires:      gtksourceview3 >= 3.22
@@ -56,6 +56,8 @@ Requires:     gtk+3-devel >= 3.20
 Requires:      gtksourceview3-devel >= 3.22
 Requires:      libxml2-devel >= 1:2.5
 Requires:      uchardet-devel
+# temporary? no vapi in 2.99.2
+Obsoletes:     vala-tepl < 2.99.2
 
 %description devel
 Header files for Tepl library.
@@ -125,7 +127,7 @@ rm -rf $RPM_BUILD_ROOT
        DESTDIR=$RPM_BUILD_ROOT
 
 # obsoleted by pkg-config
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/libtepl-3.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la
 
 %find_lang tepl-3
 
@@ -138,27 +140,37 @@ rm -rf $RPM_BUILD_ROOT
 %files -f tepl-3.lang
 %defattr(644,root,root,755)
 %doc AUTHORS NEWS README
+%attr(755,root,root) %{_libdir}/libamtk-3.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libamtk-3.so.0
 %attr(755,root,root) %{_libdir}/libtepl-3.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libtepl-3.so.0
+%{_libdir}/girepository-1.0/Amtk-3.typelib
 %{_libdir}/girepository-1.0/Tepl-3.typelib
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libamtk-3.so
 %attr(755,root,root) %{_libdir}/libtepl-3.so
+%{_includedir}/amtk-3
 %{_includedir}/tepl-3
+%{_datadir}/gir-1.0/Amtk-3.gir
 %{_datadir}/gir-1.0/Tepl-3.gir
+%{_pkgconfigdir}/amtk-3.pc
 %{_pkgconfigdir}/tepl-3.pc
 
 %if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
+%{_libdir}/libamtk-3.a
 %{_libdir}/libtepl-3.a
 %endif
 
+%if 0
 %files -n vala-tepl
 %defattr(644,root,root,755)
 %{_datadir}/vala/vapi/tepl-3.deps
 %{_datadir}/vala/vapi/tepl-3.vapi
+%endif
 
 %files apidocs
 %defattr(644,root,root,755)
This page took 0.071779 seconds and 4 git commands to generate.