[packages/libirman] - updated to 0.4.6 - added pc patch (don't pollute CFLAGS with -fpic) - drop .la file
qboosh
qboosh at pld-linux.org
Sun Oct 4 19:33:17 CEST 2015
commit 00f63c869a2727815a827e9dd1f6d4cdb19a8b33
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Oct 4 19:34:20 2015 +0200
- updated to 0.4.6
- added pc patch (don't pollute CFLAGS with -fpic)
- drop .la file
libirman-pc.patch | 8 ++++++++
libirman.spec | 13 +++++++++----
2 files changed, 17 insertions(+), 4 deletions(-)
---
diff --git a/libirman.spec b/libirman.spec
index 3f871fd..23c9554 100644
--- a/libirman.spec
+++ b/libirman.spec
@@ -1,12 +1,13 @@
Summary: libirman - accessing IRMAN hardware
Summary(pl.UTF-8): libirman - dostęp do urządzeń IRMAN
Name: libirman
-Version: 0.4.5
-Release: 2
+Version: 0.4.6
+Release: 1
License: LGPL v2 (library), GPL v2 (utility)
Group: Libraries
Source0: http://downloads.sourceforge.net/lirc/%{name}-%{version}.tar.bz2
-# Source0-md5: 4a2708d53b6c79659c073cfefed57f78
+# Source0-md5: 11e8fe44c78ee615efd4d13b6cee1626
+Patch0: %{name}-pc.patch
URL: http://www.lirc.org/
BuildRequires: autoconf >= 2.50
BuildRequires: automake
@@ -47,6 +48,7 @@ Statyczna biblioteka libirman.
%prep
%setup -q
+%patch0 -p1
%build
%{__libtoolize}
@@ -63,6 +65,9 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+# obsoleted by pkg-config
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/libirman.la
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -80,8 +85,8 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libirman.so
-%{_libdir}/libirman.la
%{_includedir}/irman.h
+%{_pkgconfigdir}/libirman.pc
%files static
%defattr(644,root,root,755)
diff --git a/libirman-pc.patch b/libirman-pc.patch
new file mode 100644
index 0000000..11da15a
--- /dev/null
+++ b/libirman-pc.patch
@@ -0,0 +1,8 @@
+--- libirman-0.4.6/libirman.pc.in.orig 2015-08-18 18:42:10.000000000 +0200
++++ libirman-0.4.6/libirman.pc.in 2015-10-04 12:51:05.080527483 +0200
+@@ -8,4 +8,4 @@
+ includedir=@includedir@
+
+ Libs: -lirman
+-Cflags: -I${includedir} -fpic
++Cflags: -I${includedir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libirman.git/commitdiff/00f63c869a2727815a827e9dd1f6d4cdb19a8b33
More information about the pld-cvs-commit
mailing list