summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLink Dupont <link@sub-pop.net>2016-10-15 00:35:01 -0700
committerLink Dupont <link@sub-pop.net>2016-10-15 00:35:01 -0700
commitfcc7ef041ae902ac5fdbd382a06c4f9aa3a99521 (patch)
tree5abd2e915fcb62d1d845a9e8651f9ae7288effe3
parentc14153a06fbd78f864b7a3e62740c8abf2ab38e3 (diff)
downloadlibstrophe-fcc7ef041ae902ac5fdbd382a06c4f9aa3a99521.tar.gz
libstrophe-fcc7ef041ae902ac5fdbd382a06c4f9aa3a99521.tar.xz
libstrophe-fcc7ef041ae902ac5fdbd382a06c4f9aa3a99521.zip
new upstream release: 0.9.1
-rw-r--r--.gitignore2
-rw-r--r--libstrophe.spec50
-rw-r--r--sources2
3 files changed, 29 insertions, 25 deletions
diff --git a/.gitignore b/.gitignore
index f046bba..b6af3c9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1 @@
-/libstrophe-0.8.8.tar.gz
+/libstrophe-0.9.1.tar.gz
diff --git a/libstrophe.spec b/libstrophe.spec
index b32e8af..43831b2 100644
--- a/libstrophe.spec
+++ b/libstrophe.spec
@@ -1,5 +1,5 @@
Name: libstrophe
-Version: 0.8.8
+Version: 0.9.1
Release: 1%{?dist}
Summary: A simple, lightweight C library for writing XMPP clients
Group: System Environment/Libraries
@@ -17,8 +17,6 @@ BuildRequires: make
BuildRequires: libtool
BuildRequires: expat-devel
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
%description
libstrophe is a lightweight XMPP client library written in C. It has minimal
@@ -27,48 +25,54 @@ Linux, Unix, and Windows based platforms.
%package devel
-Summary: Development files for libstrophe
+Summary: Development files for %{name}
Group: Development/Libraries
-Requires: %{name} = %{version}
+Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
-libstrophe is a lightweight XMPP client library written in C. It has minimal
-dependencies and is configurable for various environments. It runs well on both
-Linux, Unix, and Windows based platforms.
-
-This package contains the development files for libstrophe.
+The %{name}-devel package contains libraries and header files for developing
+applications that use %{name}.
%prep
-%setup -q
+%autosetup
%build
./bootstrap.sh
-%configure
-make %{?_smp_mflags}
+%configure --disable-static
+%make_build
%install
-rm -rf $RPM_BUILD_ROOT
+rm -rf %{buildroot}
%make_install
+find %{buildroot} -name '*.la' -exec rm -f {} ';'
+%post -p /sbin/ldconfig
-%files devel
-%doc README README.markdown
-%{_includedir}/*
-%{_libdir}/pkgconfig/%{name}.pc
-%{_libdir}/%{name}.la
-%{_libdir}/%{name}.a
-%{_libdir}/%{name}.so
+%postun -p /sbin/ldconfig
%files
-%doc LICENSE.txt GPL-LICENSE.txt MIT-LICENSE.txt
+%license LICENSE.txt
+%doc README README.markdown GPL-LICENSE.txt MIT-LICENSE.txt
%{_libdir}/%{name}.so.*
+%files devel
+%license LICENSE.txt
+%doc README README.markdown GPL-LICENSE.txt MIT-LICENSE.txt
+%{_includedir}/*
+%{_libdir}/pkgconfig/%{name}.pc
+%{_libdir}/%{name}.so
+
+
%changelog
-* Fri Sep 18 2015 Link Dupont <link.dupont@me.com> - 0.8.8-1
+* Sat Oct 15 2016 Link Dupont <linkdupont@fedoraproject.org> - 0.9.1-1
+- New upstream release
+- Clean up spec file
+
+* Fri Sep 18 2015 Link Dupont <linkdupont@fedoraproject.org> - 0.8.8-1
- Initial package
diff --git a/sources b/sources
index 19a5660..684fc6b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-a0b89c17e2dc5ff98a062b5503d60ebe libstrophe-0.8.8.tar.gz
+2db62ab21187785ec5f870adc33b74e5 libstrophe-0.9.1.tar.gz