source: projects/specs/trunk/i/image-analyzer/image-analyzer-vl.spec @ 6243

Revision 6243, 2.1 KB checked in by kudoh, 12 years ago (diff)

image-analyzer-vl.spec

Line 
1Name:           image-analyzer
2Version:        1.5.0
3Release:        1%{?_dist_release}
4Summary:        Analyze optical media (CD/DVD) images
5Summary(ja):    光学メディア(CD/DVD)イメージを解析
6
7Group:          Development/Tools
8License:        GPLv2+
9URL:            http://cdemu.sourceforge.net
10Source0:        http://downloads.sourceforge.net/cdemu/%{name}-%{version}.tar.bz2
11
12BuildRoot:      %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires:  desktop-file-utils
15#BuildRequires:  gettext
16BuildRequires:  glib2-devel >= 2.28
17BuildRequires:  gtk3-devel >= 3.0
18BuildRequires:  libmirage-devel >= 1.5.0
19BuildRequires:  libxml2-devel
20#BuildRequires:  intltool
21
22Requires: gnuplot
23Requires: gtk3
24Requires: libmirage >= 1.5.0
25Requires: libxml2
26
27%description
28Image Analyzer is a simple Gtk+ application that displays tree structure
29of disc image created by libMirage.
30
31%description -l ja
32Image Analyzer は LibMirage により作成されたディスクイメージの
33ツリー構成を表示するシンプルな Gtk+ アプリケーションです。
34
35%prep
36%setup -q
37
38%build
39%configure
40make %{?_smp_mflags}
41
42
43%install
44rm -rf $RPM_BUILD_ROOT
45make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
46
47find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
48
49desktop-file-install                                       \
50  --delete-original                                        \
51  --dir=$RPM_BUILD_ROOT%{_datadir}/applications            \
52  $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
53
54#%find_lang %{name}
55
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%post
61update-desktop-database -q
62touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
63
64%postun
65update-desktop-database -q
66if [ $1 -eq 0 ]; then
67  touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
68  gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
69fi
70
71%posttrans
72gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
73
74
75%files
76%defattr(-,root,root,-)
77%doc AUTHORS COPYING NEWS README ChangeLog
78%{_bindir}/%{name}
79%{_datadir}/applications/%{name}.desktop
80
81
82%changelog
83* Sat May 26 2012 Toshiharu kudoh <toshi.kd2@gmail.com> - 1.5.0-1
84- initial build for VineSeed
Note: See TracBrowser for help on using the repository browser.