From: Artur Frysiak Date: Fri, 14 Nov 2003 11:37:02 +0000 (+0000) Subject: - based on spec from tarball X-Git-Tag: deadbranch-1.1.2~6 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=79421566db14f8df04f7169749a21063e12ab563;p=packages%2Flibxklavier.git - based on spec from tarball Changed files: libxklavier.spec -> 1.1 --- 79421566db14f8df04f7169749a21063e12ab563 diff --git a/libxklavier.spec b/libxklavier.spec new file mode 100644 index 0000000..036bd09 --- /dev/null +++ b/libxklavier.spec @@ -0,0 +1,68 @@ +Name: libxklavier +Summary: libXklavier library +Version: 0.95 +Release: 1 +License: LGPL +Group: Development/Libraries +Source0: http://dl.sourceforge.net/gswitchit/%{name}-%{version}.tar.gz +Url: http://gswitchit.sourceforge.net/ +BuildRequires: doxygen +BuildRequires: libxml2-devel +Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This library allows you simplify XKB-related development. + +%package devel +Summary: Libraries, includes, etc to develop libxklavier applications +Group: Development/Libraries +Requires: %{name} = %{version} + +%description devel +Libraries, include files, etc you can use to develop libxklavier +applications. + +%package static +Summary: Static version of libxklavier +Group: Development/Libraries +Requires: %{name}-devel = %{version} + +%description static +Static version of libxklavier. + +%prep +%setup -q + +%build +%configure + +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT + +make install DESTDIR="$RPM_BUILD_ROOT" + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(644,root,root,755) +%doc AUTHORS ChangeLog NEWS README +%{_libdir}/lib*.so.*.* +%{_datadir}/libxklavier + +%files devel +%defattr(644,root,root,755) +%doc doc/html/*.html doc/html/*.png doc/html/*.css +%{_libdir}/pkgconfig/*.pc +%{_libdir}/lib*.so +%{_libdir}/lib*.la +%{_includedir}/* + +%files static +%defattr(644,root,root,755) +%{_libdir}/lib*.a