[6299] | 1 | Name: xfburn |
---|
| 2 | Summary: An easy to use CD/DVD burning program |
---|
| 3 | Summary(ja): 簡単に使える CD/DVD 焼き込みプログラム |
---|
| 4 | Version: 0.4.3 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | |
---|
| 7 | License: GPLv2+ |
---|
| 8 | Group: Applications/Multimedia |
---|
| 9 | URL: http://goodies.xfce.org/projects/applications/%{name} |
---|
| 10 | |
---|
| 11 | Source0: http://archive.xfce.org/src/apps/%{name}/0.4/%{name}-%{version}.tar.bz2 |
---|
| 12 | Source1: xfburn-autogen.sh |
---|
| 13 | Source2: xfburn-icons.tar.xz |
---|
| 14 | |
---|
| 15 | Patch0: xfburn-0.4.3-git20120604.patch |
---|
| 16 | |
---|
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 18 | |
---|
| 19 | BuildRequires: desktop-file-utils |
---|
| 20 | BuildRequires: libburn-devel >= 0.4.2 |
---|
| 21 | BuildRequires: libisofs-devel >= 0.6.2 |
---|
| 22 | BuildRequires: libxfcegui4-devel >= 4.4.0 |
---|
| 23 | BuildRequires: gtk2-devel >= 2.10.0 |
---|
| 24 | BuildRequires: libexo-devel >= 0.3.4 |
---|
| 25 | BuildRequires: thunar-vfs-devel >= 0.3.0 |
---|
| 26 | BuildRequires: dbus-glib-devel >= 0.34 |
---|
| 27 | BuildRequires: gstreamer-plugins-base-devel |
---|
| 28 | BuildRequires: xfce4-dev-tools |
---|
| 29 | |
---|
| 30 | Requires(post,postun): desktop-file-utils |
---|
| 31 | |
---|
| 32 | Vendor: Project Vine |
---|
| 33 | Distribution: Vine Linux |
---|
| 34 | Packager: Takemikaduchi |
---|
| 35 | |
---|
| 36 | |
---|
| 37 | %description |
---|
| 38 | This application allows you to capture the entire screen, the active window or a selected region. You can set the delay that elapses before the screenshot is taken and the action that will be done with the screenshot: save it to a PNG file, copy it to the clipboard, open it using another application, or host it on ZimageZ, a free online image hosting service. |
---|
| 39 | |
---|
| 40 | A plugin for the Xfce panel is also available. |
---|
| 41 | |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | %prep |
---|
| 45 | %setup -q |
---|
| 46 | %patch0 -p1 -b .git |
---|
| 47 | |
---|
| 48 | %build |
---|
| 49 | cp %{SOURCE1} autogen.sh |
---|
| 50 | tar xJf %{SOURCE2} |
---|
| 51 | mv configure.in configure.in.in |
---|
| 52 | NOCONFIGURE=1 ./autogen.sh |
---|
| 53 | %configure --disable-static |
---|
| 54 | make %{?_smp_mflags} |
---|
| 55 | |
---|
| 56 | |
---|
| 57 | %install |
---|
| 58 | rm -rf $RPM_BUILD_ROOT |
---|
| 59 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 60 | |
---|
| 61 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 62 | |
---|
| 63 | %find_lang %{name} |
---|
| 64 | |
---|
| 65 | %clean |
---|
| 66 | rm -rf $RPM_BUILD_ROOT |
---|
| 67 | |
---|
| 68 | |
---|
| 69 | %post |
---|
| 70 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 71 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 72 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
| 73 | |
---|
| 74 | %postun |
---|
| 75 | if [ $1 -eq 0 ]; then |
---|
| 76 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 77 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 78 | fi |
---|
| 79 | update-desktop-database %{_datadir}/applications &> /dev/null || : |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | %files -f %{name}.lang |
---|
| 83 | %defattr(-,root,root,-) |
---|
| 84 | %doc AUTHORS ChangeLog NEWS TODO COPYING |
---|
| 85 | %{_bindir}/%{name} |
---|
| 86 | %{_datadir}/Thunar/sendto/thunar-sendto-xfburn.desktop |
---|
| 87 | %{_datadir}/applications/%{name}.desktop |
---|
| 88 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 89 | %{_datadir}/%{name} |
---|
| 90 | %{_mandir}/man1/xfburn.1.gz |
---|
| 91 | |
---|
| 92 | %changelog |
---|
| 93 | * Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.3-1 |
---|
| 94 | - initial build for Vine Linux |
---|
| 95 | |
---|