summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2003-12-22 20:40:25 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit18e3f00e270a6d694e5d28952a8055bb05480d4c (patch)
tree45aca54dff199bbe507fd063965bcda80d5975f8
parent7ebb1ceb96e2521d76ea35a36eb7ad96ad6d6d8b (diff)
downloadlibxklavier-18e3f00e270a6d694e5d28952a8055bb05480d4c.zip
libxklavier-18e3f00e270a6d694e5d28952a8055bb05480d4c.tar.gz
- pl, unifications, -devel deps, BR: pkgconfig, XFree86-devel
Changed files: libxklavier.spec -> 1.8
-rw-r--r--libxklavier.spec42
1 files changed, 29 insertions, 13 deletions
diff --git a/libxklavier.spec b/libxklavier.spec
index f5ae927..bf3fde6 100644
--- a/libxklavier.spec
+++ b/libxklavier.spec
@@ -1,39 +1,54 @@
-Name: libxklavier
Summary: libXklavier library
+Summary(pl): Biblioteka libXklavier
+Name: libxklavier
Version: 0.96
Release: 1
License: LGPL
-Group: Development/Libraries
+Group: Libraries
Source0: http://dl.sourceforge.net/gswitchit/%{name}-%{version}.tar.gz
# Source0-md5: e95baf323e145403a1cd4f9405da60da
Patch0: %{name}-xkb_base.patch
-Url: http://gswitchit.sourceforge.net/
+URL: http://gswitchit.sourceforge.net/
+BuildRequires: XFree86-devel
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: doxygen
BuildRequires: libxml2-devel
BuildRequires: libtool
+BuildRequires: pkgconfig
Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
This library allows you simplify XKB-related development.
+%description -l pl
+Ta biblioteka pozwala uprościć programowanie związane z XKB.
+
%package devel
-Summary: Libraries, includes, etc to develop libxklavier applications
+Summary: Header files to develop libxklavier applications
+Summary(pl): Pliki nagłówkowe do tworzenia aplikacji z użyciem libxklavier
Group: Development/Libraries
Requires: %{name} = %{version}
+Requires: XFree86-devel
+Requires: libxml2-devel
%description devel
-Libraries, include files, etc you can use to develop libxklavier
-applications.
+Header files to develop libxklavier applications.
+
+%description devel -l pl
+Pliki nagłówkowe do tworzenia aplikacji z użyciem libxklavier.
%package static
-Summary: Static version of libxklavier
+Summary: Static version of libxklavier library
+Summary(pl): Statyczna wersja biblioteki libxklavier
Group: Development/Libraries
Requires: %{name}-devel = %{version}
%description static
-Static version of libxklavier.
+Static version of libxklavier library.
+
+%description static -l pl
+Statyczna wersja biblioteki libxklavier.
%prep
%setup -q
@@ -51,13 +66,14 @@ Static version of libxklavier.
%install
rm -rf $RPM_BUILD_ROOT
-make install DESTDIR="$RPM_BUILD_ROOT"
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
-%post -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
%files
%defattr(644,root,root,755)
@@ -68,9 +84,9 @@ rm -rf $RPM_BUILD_ROOT
%files devel
%defattr(644,root,root,755)
%doc doc/html/*.html doc/html/*.png doc/html/*.css
-%{_libdir}/pkgconfig/*.pc
-%{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/lib*.so
%{_libdir}/lib*.la
+%{_pkgconfigdir}/*.pc
%{_includedir}/*
%files static