]> git.pld-linux.org Git - packages/TraceToolkit.git/blobdiff - TraceToolkit.spec
- mass commit: using %%{epoch} without explicit Epoch: declaration
[packages/TraceToolkit.git] / TraceToolkit.spec
index f128b0356dd5aff8563e64e9d4741933462e2db6..599ea9c03c18625e4676e375db592a7b25fe2d24 100644 (file)
@@ -1,39 +1,91 @@
 Summary:       Linux Trace Toolkit
+Summary(pl):   Narzêdzia do ¶ledzenia Linuksa
 Name:          TraceToolkit
-Version:       0.9.5
-Release:       1
+Version:       0.9.6
+%define                _pre pre2
+Release:       0.%{_pre}.2
 License:       GPL
-Group:         Applications
-######         Unknown group!
-Source0:       ftp://ftp.opersys.com/pub/LTT/%{name}-%{version}.tgz
-Url:           http://www.opersys.com/LTT/
+Group:         X11/Applications
+Source0:       http://www.opersys.com/ftp/pub/LTT/%{name}-%{version}%{_pre}.tgz
+# Source0-md5: 09be9c2b411070a51ba85be5570f0d05
+URL:           http://www.opersys.com/LTT/
+BuildRequires: autoconf
+BuildRequires: automake
 BuildRequires: gtk+-devel
-Requires:      gtk+    
-BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6/
 %description
-The Linux Trace Toolkit, more commonly known as LTT, is a fully-featured
-tracing system for the Linux kernel. It includes both the kernel components
-required for tracing and the user-level tools required to view the traces.
+The Linux Trace Toolkit, more commonly known as LTT, is a
+fully-featured tracing system for the Linux kernel. It includes both
+the kernel components required for tracing and the user-level tools
+required to view the traces.
+
+%description -l pl
+Linux Trace Toolkit, znany bardziej jako LTT, jest w pe³ni
+funkcjonalnym systemem do ¶ledzenia j±dra Linuksa. Zawiera elementy
+j±dra potrzebne do ¶ledzenia oraz narzêdzia u¿ytkownika potrzebne do
+przegl±dania wyników ¶ledzenia.
+
+%package devel 
+Summary:       Header files for Linux Trace Toolkit library
+Summary(pl):   Pliki nag³ówkowe biblioteki Linux Trace Toolkit
+Group:         Development/Libraries
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+
+%description devel
+Header files for Linux Trace Toolkit library
+
+%description devel -l pl
+Pliki nag³ówkowe biblioteki Linux Trace Toolkit
+
+%package static
+Summary:       Static version of Linux Trace Toolkit library
+Summary(pl):   Statyczna wersja biblioteki Linux Trace Toolkit
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{epoch}:%{version}-%{release}
+
+%description static
+Static version of Linux Trace Toolkit library.
+
+%description static -l pl
+Statyczna wersja biblioteki Linux Trace Toolkit.
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{version}%{_pre}
 
 %build
-%configure2_13
+%{__aclocal} -I m4
+%{__autoconf}
+%{__autoheader}
+%{__automake}
+%configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} DESTDIR=$RPM_BUILD_ROOT install
-gzip -9nf COPYING README 
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
 %clean
-rm -rf $RPM_BUILD_ROOT/%{name}-%{version}
+rm -rf $RPM_BUILD_ROOT
+
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/
-%attr(755,root,root) %{_libdir}/
-%attr(755,root,root) %{_sbindir}/
+%doc README
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.519535 seconds and 4 git commands to generate.