replaced lib with %_lib; refs #20

master
Marc Wäckerlin 13 years ago
parent cc5b4e2cef
commit 216be027d2
  1. 16
      proxyface.spec.in

@ -1,4 +1,4 @@
Summary: @PACKAGENAME@ PLEASE DESCRIBE
Summary: @PACKAGENAME@ Proxy interface for Unix/Mac/Windows
Name: @PACKAGENAME@
Version: @VERSION@
Release: 1
@ -19,7 +19,7 @@ This package contains only the shared libraries required at runtime.
%setup -q
./configure --prefix=/usr \
--docdir=/usr/share/doc/packages/@PACKAGENAME@ \
--libdir=/usr/lib
--libdir=/usr/%_lib
%build
make
@ -32,7 +32,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
/usr/lib/lib@PACKAGENAME@.so.*
/usr/%_lib/lib@PACKAGENAME@.so.*
/usr/share/@PACKAGENAME@
%doc
/usr/share/doc/packages/@PACKAGENAME@/AUTHORS
@ -43,7 +43,7 @@ rm -rf $RPM_BUILD_ROOT
/usr/share/doc/packages/@PACKAGENAME@/README
%package devel
Summary: @PACKAGENAME@ PLEASE DESCRIBE (development files)
Summary: @PACKAGENAME@ Proxy interface for Unix/Mac/Windows (development files)
Group: Development/Libraries/C++
Requires: @PACKAGENAME@ = @VERSION@
@ -54,10 +54,10 @@ This Package contains all files required for developement.
%files devel
%defattr(-,root,root,-)
/usr/lib/lib@PACKAGENAME@.so
/usr/lib/lib@PACKAGENAME@.a
/usr/lib/pkgconfig
/usr/lib/lib@PACKAGENAME@.la
/usr/%_lib/lib@PACKAGENAME@.so
/usr/%_lib/lib@PACKAGENAME@.a
/usr/%_lib/pkgconfig
/usr/%_lib/lib@PACKAGENAME@.la
/usr/include/
/usr/share/pkgconfig
%doc

Loading…
Cancel
Save