Author: qboosh                       Date: Thu Apr 20 18:39:59 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- files fixes

---- Files affected:
SPECS:
   libsetrans.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/libsetrans.spec
diff -u SPECS/libsetrans.spec:1.2 SPECS/libsetrans.spec:1.3
--- SPECS/libsetrans.spec:1.2   Thu Apr 20 19:42:45 2006
+++ SPECS/libsetrans.spec       Thu Apr 20 20:39:54 2006
@@ -42,11 +42,23 @@
 reprezentacji wewnętrznych na reprezentacje zdefiniowane przez
 użytkownika.
 
+%package devel
+Summary:       Development fiels for libsetrans library
+Summary(pl):   Pliki programistyczne biblioteki libsetrans
+Group:         Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Development fiels for libsetrans library.
+
+%description devel -l pl
+Pliki programistyczne biblioteki libsetrans.
+
 %package static
 Summary:       Static libsetrans library
 Summary(pl):   Statyczna biblioteka libsetrans
 Group:         Development/Libraries
-Requires:      %{name} = %{version}-%{release}
+#Requires:     %{name}-devel = %{version}-%{release}
 
 %description static
 Static libsetrans library.
@@ -70,15 +82,21 @@
 %setup -q
 
 %build
-%{__make}
+%{__make} \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT \
        LIBDIR=$RPM_BUILD_ROOT%{_libdir} \
        SHLIBDIR=$RPM_BUILD_ROOT/%{_lib}
 
+# across /, so make it absolute
+ln -nsf /%{_lib}/libsetrans.so.0 $RPM_BUILD_ROOT%{_libdir}/libsetrans.so
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -87,12 +105,17 @@
 
 %files
 %defattr(644,root,root,755)
+%doc ChangeLog
 %attr(755,root,root) /%{_lib}/libsetrans.so.0
 %{_mandir}/man8/mcs.8*
 
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libsetrans.so
+
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/*
+%{_libdir}/libsetrans.a
 
 %files utils
 %defattr(644,root,root,755)
@@ -104,6 +127,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2006/04/20 18:39:54  qboosh
+- files fixes
+
 Revision 1.2  2006/04/20 17:42:45  qboosh
 - pl
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libsetrans.spec?r1=1.2&r2=1.3&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to