]> git.pld-linux.org Git - packages/gtksourceview2.git/blobdiff - gtksourceview2.spec
- more specific URL
[packages/gtksourceview2.git] / gtksourceview2.spec
index 3adb0bc25c053db9982ee09969739b8a5dfdec09..1fe1dfa42c963b06ed074bcd33bac5b16012bfc1 100644 (file)
@@ -1,25 +1,26 @@
 Summary:       Text widget that extends the standard GTK+ 2.x
 Summary(pl.UTF-8):     Widget tekstowy rozszerzajÄ…cy standardowy z GTK+ 2.x
 Name:          gtksourceview2
-Version:       2.10.1
-Release:       1
+Version:       2.10.5
+Release:       5
 License:       GPL v2+ and LGPL v2+
 Group:         X11/Libraries
 Source0:       http://ftp.gnome.org/pub/GNOME/sources/gtksourceview/2.10/gtksourceview-%{version}.tar.bz2
-# Source0-md5: 1ed3eae620ec95b82baae9de6600af22
-URL:           http://www.gnome.org/
+# Source0-md5: 1219ad1694df136f126507466aeb41aa
+URL:           https://wiki.gnome.org/Projects/GtkSourceView
 BuildRequires: autoconf >= 2.64
 BuildRequires: automake >= 1:1.10.3
 BuildRequires: docbook-dtd412-xml
-BuildRequires: gettext-devel
+BuildRequires: gettext-tools >= 0.17
 BuildRequires: gnome-common >= 2.24.0
 BuildRequires: gtk+2-devel >= 2:2.14.0
 BuildRequires: gtk-doc >= 1.11
-BuildRequires: intltool >= 0.36.1
-BuildRequires: libtool
+BuildRequires: intltool >= 0.40
+BuildRequires: libtool >= 2:2.2.6
 BuildRequires: libxml2-devel >= 1:2.6.31
 BuildRequires: pkgconfig
 BuildRequires: rpm-pythonprov
+Requires:      glib2 >= 1:2.24
 # sr@Latn vs. sr@latin
 Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,6 +42,9 @@ Summary(pl.UTF-8):    Dokumentacja API GtkSourceView
 Group:         Documentation
 Requires:      gtk-doc-common
 Conflicts:     gtksourceview-apidocs
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description apidocs
 GtkSourceView API documentation.
@@ -76,8 +80,6 @@ Statyczna biblioteka GtkSourceView.
 
 %prep
 %setup -q -n gtksourceview-%{version}
-sed -i s#^en@shaw## po/LINGUAS
-rm po/en@shaw.po
 
 %build
 %{__gtkdocize}
@@ -88,6 +90,7 @@ rm po/en@shaw.po
 %{__autoheader}
 %{__automake}
 %configure \
+       --disable-silent-rules \
        --enable-gtk-doc \
        --enable-static \
        --with-html-dir=%{_gtkdocdir}
@@ -99,6 +102,8 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libgtksourceview-2.0.la
+
 %find_lang gtksourceview-2.0
 
 %clean
@@ -109,6 +114,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files -f gtksourceview-2.0.lang
 %defattr(644,root,root,755)
+%doc AUTHORS ChangeLog MAINTAINERS NEWS README
 %attr(755,root,root) %{_libdir}/libgtksourceview-2.0.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libgtksourceview-2.0.so.0
 %{_datadir}/gtksourceview-2.0
@@ -120,7 +126,6 @@ rm -rf $RPM_BUILD_ROOT
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libgtksourceview-2.0.so
-%{_libdir}/libgtksourceview-2.0.la
 %{_includedir}/gtksourceview-2.0
 %{_pkgconfigdir}/gtksourceview-2.0.pc
 
This page took 0.050715 seconds and 4 git commands to generate.