]> git.pld-linux.org Git - packages/enet.git/commitdiff
- updated to 1.3.0
authorlisu <lisu@pld-linux.org>
Sat, 12 Jun 2010 22:05:57 +0000 (22:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- shared library libenet.so is now generated automatically
- package more files

Changed files:
    enet.spec -> 1.5

enet.spec

index fa29d3291931efc64c4469a0b1d0d7cecb77d0ad..ba586f5e382d4a2be14a3e48b2fba016e3656bb8 100644 (file)
--- a/enet.spec
+++ b/enet.spec
@@ -1,12 +1,12 @@
 Summary:       Portable UDP networking library
 Summary(pl.UTF-8):     PrzenoĊ›na biblioteka dla UDP
 Name:          enet
-Version:       1.2.1
+Version:       1.3.0
 Release:       1
 License:       MIT
 Group:         Libraries
 Source0:       http://enet.bespin.org/download/%{name}-%{version}.tar.gz
-# Source0-md5: 6a6749b94219316a3628f59318b31d45
+# Source0-md5: 9ed8020e2c1fa320fe17dbeaa2dedaba
 URL:           http://enet.bespin.org/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -49,7 +49,7 @@ Static enet library.
 Statyczna biblioteka enet.
 
 %prep
-%setup -q -n %{name}
+%setup -q
 
 %build
 %{__aclocal}
@@ -58,9 +58,6 @@ Statyczna biblioteka enet.
 %configure
 %{__make}
 
-# generate shared library by hand (not implemented in Makefile)
-%{__cc} %{rpmldflags} %{rpmcflags} -shared *.o -o libenet.so
-
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_libdir}
@@ -68,8 +65,6 @@ install -d $RPM_BUILD_ROOT%{_libdir}
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-install libenet.so $RPM_BUILD_ROOT%{_libdir}
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -79,12 +74,16 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog docs *.txt
-%attr(755,root,root) %{_libdir}/libenet.so
+%attr(755,root,root) %{_libdir}/libenet.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libenet.so.1
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libenet.so
 %dir %{_includedir}/enet/
 %{_includedir}/enet/*.h
+%{_libdir}/libenet.la
+%{_pkgconfigdir}/libenet.pc
 
 %files static
 %defattr(644,root,root,755)
This page took 0.06537 seconds and 4 git commands to generate.