[Geany] [PATCH] rpm spec update
Yura Siamashka
yurand2 at xxxxx
Sat Dec 8 15:07:01 UTC 2007
Hi
Not long ago I desided to test fedora distributive. Since I need svn version of geany,
I tried to create rpm for it. Here is spec update that allow me actually create it.
1) Added plugin dir that come with geany to files section.
2) In install section I have to delete files that don't come to files section. rpmbuild
complained about them.
p.s. I used to be gentoo user so this rpm stuff is really new to me. Please tell me if
my changes are stupid.
Best regards,
Yura Siamashka
-------------- next part --------------
Index: geany.spec.in
===================================================================
--- geany.spec.in (revision 2094)
+++ geany.spec.in (working copy)
@@ -34,6 +34,8 @@
%install
%__rm -Rf $RPM_BUILD_ROOT
%makeinstall
+%__rm -Rf $RPM_BUILD_ROOT%{_datadir}/icons/
+%__rm $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.ico
%clean
%__rm -Rf $RPM_BUILD_ROOT
@@ -42,6 +44,7 @@
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO THANKS
%{_bindir}/%{name}
+%{_libdir}/geany/
%{_datadir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
More information about the Users
mailing list