Accepting request 146869 from X11:Enlightenment:Factory
- follow policy for shared libraries and separate library package - separate plugins - instead of duplicate file create symlink OBS-URL: https://build.opensuse.org/request/show/146869 OBS-URL: https://build.opensuse.org/package/show/hardware/tslib?expand=0&rev=3
This commit is contained in:
parent
389f9a2e23
commit
3353eb46e5
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 2 23:35:28 UTC 2013 - sleep_walker@suse.cz
|
||||
|
||||
- follow policy for shared libraries and separate library package
|
||||
- separate plugins
|
||||
- instead of duplicate file create symlink
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 25 17:24:37 UTC 2012 - sleep_walker@suse.cz
|
||||
|
||||
|
68
tslib.spec
68
tslib.spec
@ -35,11 +35,25 @@ BuildRequires: pkg-config
|
||||
%description
|
||||
Tslib is an abstraction layer for touchscreen panel events.
|
||||
|
||||
%package -n libts-1_0-0
|
||||
Summary: Tslib library itself
|
||||
Group: Development/Libraries/Other
|
||||
|
||||
%description -n libts-1_0-0
|
||||
Library package for Tslib.
|
||||
|
||||
%package plugins
|
||||
Summary: Driver plugins for Tslib
|
||||
Group: Development/Libraries/Other
|
||||
|
||||
%description plugins
|
||||
Hardware driver plugins for Tslib.
|
||||
|
||||
%package devel
|
||||
Summary: Devel package for tslib
|
||||
Group: Development/Libraries/Other
|
||||
Requires: %name = %version
|
||||
Requires: %name-plugins = %version
|
||||
|
||||
%description devel
|
||||
Devel package for tslib. Tslib is an abstraction layer for touchscreen panel events.
|
||||
@ -56,12 +70,12 @@ make
|
||||
|
||||
%install
|
||||
%{?make_install} %{!?make_install:make install DESTDIR=$RPM_BUILD_ROOT}
|
||||
rm %{buildroot}%{_libdir}/pkgconfig/tslib-1.0.pc
|
||||
ln -s tslib.pc %{buildroot}%{_libdir}/pkgconfig/tslib-1.0.pc
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
%post -n libts-1_0-0 -p /sbin/ldconfig
|
||||
|
||||
%postun
|
||||
/sbin/ldconfig
|
||||
%postun -n libts-1_0-0 -p /sbin/ldconfig
|
||||
|
||||
%clean
|
||||
rm -rf %buildroot
|
||||
@ -73,50 +87,26 @@ rm -rf %buildroot
|
||||
%{_libdir}/libts.la
|
||||
%{_libdir}/pkgconfig/tslib-1.0.pc
|
||||
%{_libdir}/pkgconfig/tslib.pc
|
||||
%{_libdir}/ts/arctic2.la
|
||||
%{_libdir}/ts/collie.la
|
||||
%{_libdir}/ts/corgi.la
|
||||
%{_libdir}/ts/dejitter.la
|
||||
%{_libdir}/ts/dmc.la
|
||||
%{_libdir}/ts/h3600.la
|
||||
%{_libdir}/ts/input.la
|
||||
%{_libdir}/ts/linear.la
|
||||
%{_libdir}/ts/linear_h2200.la
|
||||
%{_libdir}/ts/mk712.la
|
||||
%{_libdir}/ts/pthres.la
|
||||
%{_libdir}/ts/tatung.la
|
||||
%{_libdir}/ts/touchkit.la
|
||||
%{_libdir}/ts/ucb1x00.la
|
||||
%{_libdir}/ts/variance.la
|
||||
%{_libdir}/ts/*.la
|
||||
%{_libdir}/libts.so
|
||||
|
||||
%files -n libts-1_0-0
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libts-1.0.so.0
|
||||
%{_libdir}/libts-1.0.so.0.0.0
|
||||
|
||||
%files plugins
|
||||
%defattr(-,root,root)
|
||||
%dir %{_libdir}/ts
|
||||
%{_libdir}/ts/*.so
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%config /etc/ts.conf
|
||||
%dir %{_libdir}/ts/
|
||||
%{_libdir}/libts-1.0.so.0
|
||||
%{_libdir}/libts-1.0.so.0.0.0
|
||||
%{_libdir}/ts/arctic2.so
|
||||
%{_libdir}/ts/collie.so
|
||||
%{_libdir}/ts/corgi.so
|
||||
%{_libdir}/ts/dejitter.so
|
||||
%{_libdir}/ts/dmc.so
|
||||
%{_libdir}/ts/h3600.so
|
||||
%{_libdir}/ts/input.so
|
||||
%{_libdir}/ts/linear.so
|
||||
%{_libdir}/ts/linear_h2200.so
|
||||
%{_libdir}/ts/mk712.so
|
||||
%{_libdir}/ts/pthres.so
|
||||
%{_libdir}/ts/tatung.so
|
||||
%{_libdir}/ts/touchkit.so
|
||||
%{_libdir}/ts/ucb1x00.so
|
||||
%{_libdir}/ts/variance.so
|
||||
%{_bindir}/ts_calibrate
|
||||
%{_bindir}/ts_harvest
|
||||
%{_bindir}/ts_print
|
||||
%{_bindir}/ts_print_raw
|
||||
%{_bindir}/ts_test
|
||||
%{_libdir}/libts.so
|
||||
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user