]> git.pld-linux.org Git - packages/qrencode.git/commitdiff
move to /lib, dependency of systemd (journalctl) auto/th/qrencode-3.4.4-3
authorElan Ruusamäe <glen@delfi.ee>
Mon, 23 Mar 2015 08:38:25 +0000 (10:38 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 23 Mar 2015 08:38:25 +0000 (10:38 +0200)
qrencode.spec

index ecd2e7cb691c9928538977df31ac9903d73c9fbc..7fa7449b0d3e1890ba0f55fbefdf22165b0e141e 100644 (file)
@@ -1,12 +1,12 @@
 #
 # Conditional build:
 %bcond_without static_libs     # don't build static libraries
-#
+
 Summary:       QR Code encoder into PNG image
 Summary(pl.UTF-8):     Koder kodu QR do obrazów PNG
 Name:          qrencode
 Version:       3.4.4
-Release:       2
+Release:       3
 License:       LGPL v2.1+
 Group:         Applications/File
 Source0:       http://fukuchi.org/works/qrencode/%{name}-%{version}.tar.bz2
@@ -108,18 +108,21 @@ Statyczna biblioteka qrencode.
 
 %{__make}
 
+# manual
+doxygen
+
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-# manual
-doxygen
-
 # obsoleted by pkg-config
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
 
+install -d $RPM_BUILD_ROOT/%{_lib}
+mv -f $RPM_BUILD_ROOT%{_libdir}/libqrencode.so.* $RPM_BUILD_ROOT/%{_lib}
+ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libqrencode.so.*.*) $RPM_BUILD_ROOT%{_libdir}/libqrencode.so
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -134,8 +137,8 @@ rm -rf $RPM_BUILD_ROOT
 %files libs
 %defattr(644,root,root,755)
 %doc ChangeLog NEWS README TODO
-%attr(755,root,root) %{_libdir}/libqrencode.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libqrencode.so.3
+%attr(755,root,root) /%{_lib}/libqrencode.so.*.*.*
+%attr(755,root,root) %ghost /%{_lib}/libqrencode.so.3
 
 %files devel
 %defattr(644,root,root,755)
This page took 0.288227 seconds and 4 git commands to generate.