|
@@ -2,11 +2,12 @@ Summary: An X Window System image editing or paint program.
|
|
Summary(ja): Xウィンドウシステム用の画像編集・描写プログラム.
|
|
Summary(ja): Xウィンドウシステム用の画像編集・描写プログラム.
|
|
Name: xpaint
|
|
Name: xpaint
|
|
Version: 2.9.9.4
|
|
Version: 2.9.9.4
|
|
-Release: 1%{?_dist_release}
|
|
|
|
|
|
+Release: 2%{?_dist_release}
|
|
License: MIT
|
|
License: MIT
|
|
Group: Applications/Graphics
|
|
Group: Applications/Graphics
|
|
URL: http://sf-xpaint.sourceforge.net/
|
|
URL: http://sf-xpaint.sourceforge.net/
|
|
Source: http://prdownloads.sourceforge.net/sf-xpaint/%{name}-%{version}.tar.bz2
|
|
Source: http://prdownloads.sourceforge.net/sf-xpaint/%{name}-%{version}.tar.bz2
|
|
|
|
+Source3: %{name}.desktop
|
|
|
|
|
|
Vendor: Project Vine
|
|
Vendor: Project Vine
|
|
Distribution: Vine Linux
|
|
Distribution: Vine Linux
|
|
@@ -115,6 +116,12 @@ xpaint exec "xpaint &"
|
|
EOF
|
|
EOF
|
|
)
|
|
)
|
|
|
|
|
|
|
|
+%define applnkdir %{_datadir}/applications
|
|
|
|
+%__mkdir_p %{buildroot}%{applnkdir}
|
|
|
|
+%__install -m644 %{SOURCE3} %{buildroot}%{applnkdir}
|
|
|
|
+%{__mkdir_p} ${RPM_BUILD_ROOT}%{_datadir}/pixmaps
|
|
|
|
+%{__cp} XPaintIcon.xpm ${RPM_BUILD_ROOT}%{_datadir}/pixmaps
|
|
|
|
+
|
|
# remove unuse files
|
|
# remove unuse files
|
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib/X11/app-defaults
|
|
rm -rf $RPM_BUILD_ROOT%{_prefix}/lib/X11/app-defaults
|
|
%{__rm} ${RPM_BUILD_ROOT}%{_libdir}/librw.a
|
|
%{__rm} ${RPM_BUILD_ROOT}%{_libdir}/librw.a
|
|
@@ -132,9 +139,14 @@ rm -rf $RPM_BUILD_ROOT
|
|
%{_datadir}/%{name}
|
|
%{_datadir}/%{name}
|
|
%{_mandir}/man1/*.1*
|
|
%{_mandir}/man1/*.1*
|
|
%{_libdir}/librw.so*
|
|
%{_libdir}/librw.so*
|
|
|
|
+%{_datadir}/applications/%{name}.desktop
|
|
|
|
+%{_datadir}/pixmaps/XPaintIcon.xpm
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Mon Oct 07 2013 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.9.9.4-2
|
|
|
|
+- add desktop file
|
|
|
|
+
|
|
* Sat Oct 05 2013 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.9.9.4-1
|
|
* Sat Oct 05 2013 Yasumichi Akahoshi <yasumichi@vinelinux.org> 2.9.9.4-1
|
|
- new upstream release
|
|
- new upstream release
|
|
- delete Patch100
|
|
- delete Patch100
|