packages: mtdev/mtdev.spec - Adapterized. Should be acceptable.

lmasko lmasko at pld-linux.org
Wed Mar 14 16:25:21 CET 2012


Author: lmasko                       Date: Wed Mar 14 15:25:21 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- Adapterized. Should be acceptable.

---- Files affected:
packages/mtdev:
   mtdev.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: packages/mtdev/mtdev.spec
diff -u packages/mtdev/mtdev.spec:1.2 packages/mtdev/mtdev.spec:1.3
--- packages/mtdev/mtdev.spec:1.2	Wed Mar 14 14:56:48 2012
+++ packages/mtdev/mtdev.spec	Wed Mar 14 16:25:16 2012
@@ -1,12 +1,15 @@
+# $Revision$, $Date$
 Summary:	Multitouch devices
 Name:		mtdev
 Version:	1.1.2
 Release:	0.1
 License:	MIT (X11)
-Group:		Applications/System
+Group:		Development/Libraries
 Source0:	http://bitmath.org/code/mtdev/%{name}-%{version}.tar.bz2
 # Source0-md5:	d9c7700918fc392e29da7477ae20c5c2
 URL:		http://bitmath.org/code/mtdev/
+BuildRequires:	autoconf >= 2.59
+BuildRequires:	automake >= 1:1.8.1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -24,14 +27,22 @@
 %description devel
 mtdev-devel contains header files for use with mtdev library
 
+%package tools
+Summary:	Tools for mtdev library
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description tools
+mtdev test tool
+
 %package static
 Summary:	Static mtdev libraries
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 
 %description static
-mtdev-static contains development static libraries for use
-with mtdev library
+mtdev-static contains development static libraries for use with mtdev
+library
 
 
 %prep
@@ -45,7 +56,7 @@
 %{__automake}
 %configure
 
-%{__make} 
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -56,14 +67,22 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post   -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog README
-%{_libdir}/libmtdev.so.1.0.0
-%{_bindir}/mtdev-test
+%attr(755,root,root) %{_libdir}/libmtdev.so.1.0.0
+
+%files tools
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/mtdev-test
 
 %files devel
 %defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libmtdev.so
 %{_libdir}/libmtdev.la
 %{_includedir}/mtdev*
 %{_pkgconfigdir}/mtdev.pc
@@ -78,6 +97,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2012/03/14 15:25:16  lmasko
+- Adapterized. Should be acceptable.
+
 Revision 1.2  2012/03/14 13:56:48  lmasko
 - Builds, for now.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mtdev/mtdev.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list