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

Loading…
Cancel
Save