add: autogen
authorPhilippe Coval <philippe.coval@eurogiciel.fr>
Tue, 8 Jan 2013 10:41:25 +0000 (11:41 +0100)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Tue, 1 Apr 2014 13:49:15 +0000 (15:49 +0200)
packaging/folks.spec

index 7b982f1..b42a2f4 100644 (file)
@@ -1,14 +1,15 @@
 %define soversion      25
 %define module_version 37
+%define baseline 0.8
 
 Name:           folks
 Version:        0.8.0
-Release:        1.1
+Release:        0
 Summary:        Library to create metacontacts from multiple sources
 License:        LGPL-2.1+
 Group:          System/Libraries
 Url:            http://telepathy.freedesktop.org/wiki/Folks
-Source:         http://download.gnome.org/sources/folks/0.8/%{name}-%{version}.tar.xz
+Source:         http://download.gnome.org/sources/folks/${baseline}/%{name}-%{version}.tar.xz
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  intltool >= 0.50.0
 BuildRequires:  readline-devel
@@ -115,6 +116,7 @@ Telepathy connection managers) to create metacontacts.
 %setup -q
 
 %build
+%autogen
 %configure \
     --enable-vala \
     --disable-static \
@@ -150,7 +152,7 @@ find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
 
 %files -n libfolks
 %defattr(-, root, root)
-%doc AUTHORS ChangeLog COPYING NEWS README
+%license COPYING
 %{_libdir}/libfolks.so.%{soversion}*
 %dir %{_libdir}/folks
 %dir %{_libdir}/folks/%{module_version}