- devel, libs subpackages auto/ti/echoping-6_0_2-2
authorpawelz <pawelz@pld-linux.org>
Mon, 27 Jul 2009 10:11:37 +0000 (10:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- %ghost so symlink
- package all files
- rel 2

Changed files:
    echoping.spec -> 1.9

echoping.spec

index 283f4f4..9f40ef2 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Non-suid ping
 Summary(pl.UTF-8):     ping bez suida
 Name:          echoping
 Version:       6.0.2
-Release:       1
+Release:       2
 License:       GPL v2
 Group:         Networking/Admin
 Source0:       http://dl.sourceforge.net/echoping/%{name}-%{version}.tar.gz
@@ -11,8 +11,9 @@ URL:          http://echoping.sourceforge.net/
 BuildRequires: libidn-devel
 BuildRequires: openldap-devel >= 2.4.6
 BuildRequires: openssl-devel
-BuildRequires: postgresql-devel
 BuildRequires: popt-devel
+BuildRequires: postgresql-devel
+Requires:      %{name}-libs = %{version}-%{release}
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -25,6 +26,29 @@ echoping to mały program do sprawdzania (przybliżonej) wydajności
 zdalnego hosta poprzez wysyłanie pakietów TCP "echo" (lub innego
 protokołu, jak np. HTTP).
 
+%package devel
+Summary:       Header files for echoping library
+Summary(pl.UTF-8):     Pliki nagłówkowe biblioteki echoping
+Group:         Development/Libraries
+Requires:      %{name}-libs = %{version}-%{release}
+
+%description devel
+Header files for echoping library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe echoping library.
+
+%package libs
+Summary:       echoping libraries
+Summary(pl.UTF-8):     Biblioteki echoping
+Group:         Libraries
+
+%description libs
+echoping libraries.
+
+%description libs -l pl.UTF-8
+Biblioteki echoping.
+
 %prep
 %setup -q
 
@@ -49,7 +73,28 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog DETAILS PLUGINS README TODO
-%attr(755,root,root) %{_bindir}/echoping*
-%dir %{_libdir}/echoping
-%attr(755,root,root) %{_libdir}/echoping/*.so*
+%attr(755,root,root) %{_bindir}/echoping
 %{_mandir}/man1/echoping*
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/echoping/dns.so
+%{_libdir}/echoping/ldap.so
+%{_libdir}/echoping/postgresql.so
+%{_libdir}/echoping/random.so
+%{_libdir}/echoping/whois.so
+%{_includedir}/echoping/*.h
+
+%files libs
+%defattr(644,root,root,755)
+%dir %{_libdir}/echoping
+%attr(755,root,root) %{_libdir}/echoping/dns.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/echoping/dns.so.0
+%attr(755,root,root) %{_libdir}/echoping/ldap.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/echoping/ldap.so.0
+%attr(755,root,root) %{_libdir}/echoping/postgresql.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/echoping/postgresql.so.0
+%attr(755,root,root) %{_libdir}/echoping/random.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/echoping/random.so.0
+%attr(755,root,root) %{_libdir}/echoping/whois.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/echoping/whois.so.0
This page took 0.03433 seconds and 4 git commands to generate.