SPECS: weechat.spec - fix %files, installation, etc.

shadzik shadzik at pld-linux.org
Mon Mar 5 10:50:34 CET 2007


Author: shadzik                      Date: Mon Mar  5 09:50:34 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- fix %files, installation, etc.

---- Files affected:
SPECS:
   weechat.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/weechat.spec
diff -u SPECS/weechat.spec:1.1 SPECS/weechat.spec:1.2
--- SPECS/weechat.spec:1.1	Mon Mar  5 10:40:17 2007
+++ SPECS/weechat.spec	Mon Mar  5 10:50:29 2007
@@ -21,8 +21,6 @@
 BuildRequires:	rpmbuild(macros) >= 1.129
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		_noautostrip	%{_libdir}/weechat/plugins/*.a
-
 %description
 WeeChat (Wee Enhanced Environment for Chat) is a fast and light chat
 environment for many operating systems. Everything can be done with a keyboard.
@@ -46,20 +44,24 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-#install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+rm -f $RPM_BUILD_ROOT%{_libdir}/weechat/plugins/*.a
+
+%find_lang %{name}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
-%dir %{_libdir}/weechat
-%attr(755,root,root) %{_libdir}/weechat/*.so*
-%{_libdir}/weechat/*.la
+%dir %{_libdir}/weechat/plugins
+%attr(755,root,root) %{_libdir}/weechat/plugins/*.so*
+%{_libdir}/weechat/plugins/*.la
+%{_mandir}/man1/*.1.gz
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -67,6 +69,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2007/03/05 09:50:29  shadzik
+- fix %files, installation, etc.
+
 Revision 1.1  2007/03/05 09:40:17  shadzik
 - initial
 - NFY
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/weechat.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list