source: projects/specs/trunk/n/nemiver/nemiver-vl.spec @ 6384

Revision 6384, 4.2 KB checked in by Takemikaduchi, 12 years ago (diff)

new upstream release

Line 
1Summary:        Standalone graphical debugger for GNOME
2Summary(ja):    GNOME 向けの GUI デバッガ
3Name:           nemiver
4Version:        0.9.2
5Release:        1%{?_dist_release}
6Source0:        %{name}-%{version}.tar.xz
7License:        GPLv2
8Group:          Applications/Development
9URL:            http://projects.gnome.org/nemiver/
10
11Requires:       ghex > 2.90
12Requires(post): desktop-file-utils
13Requires(postun):desktop-file-utils
14BuildRequires:  gdb
15BuildRequires:  gnome-doc-utils >= 0.3.2
16BuildRequires:  gtkmm3-devel >= 3.2.0
17BuildRequires:  gtksourceviewmm3-devel >= 3.2.0
18BuildRequires:  libgtop2-devel >= 2.14
19BuildRequires:  vte3-devel >= 0.12.0
20BuildRequires:  sqlite3-devel >= 3.0
21BuildRequires:  libboost-devel >= 1.33.1
22BuildRequires:  ghex-devel > 2.90
23BuildRequires:  dconf-devel
24BuildRequires:  gsettings-desktop-schemas-devel
25
26BuildRoot:      %{_tmppath}/%{name}-%{version}-root
27
28Patch0:         nemiver-0.9.2-iostream.patch
29
30Packager:       kazutaka
31
32%description
33Nemiver is a standalone graphical debugger that integrates well in the
34GNOME desktop environment.  It currently features a backend which uses
35the GNU debugger GDB for debugging C/C++ programs.
36
37%description -l ja
38Nemiver は GNOME デスクトップ向けのスタンドアローンな GUI デバッガです。
39C/C++ プログラムのデバッグのバックエンドには GDB (GNU デバッガ)を利用
40しています。
41
42%package devel
43Summary:        Libraries and headers for %{name}
44Summary(ja):    %{name} 用の開発ライブラリおよびヘッダファイル
45Group:          Development/Libraries
46Requires:       %{name} = %{version}
47
48%description devel
49This package includes the files needed for developing and compiling
50applications which use the %{name} library.
51
52You should install the %{name}-devel package if you would like to
53develop applications using %{name}.
54
55%description devel -l ja
56このパッケージは %{name} ライブラリを使用するアプリケーションを開発
57するのに必要なライブラリやヘッダファイルを含んでいます。
58
59%{name} を使用したアプリケーションを開発するなら、このパッケージ
60をインストールしてください。
61
62%prep
63%setup -q
64%patch0 -p1 -b .iostream
65
66
67%build
68%configure --disable-static
69
70%{__make} %{?_smp_mflags}
71
72
73%install
74%{__rm} -rf $RPM_BUILD_ROOT
75%{__make} install DESTDIR=$RPM_BUILD_ROOT
76%find_lang %{name}
77
78# remove unnecessary files
79find $RPM_BUILD_ROOT/%{_libdir} -name "*.la" -exec %{__rm} -f "{}" \;
80
81
82%clean
83%{__rm} -rf $RPM_BUILD_ROOT
84
85
86%post
87update-desktop-database %{_datadir}/applications >& /dev/null ||:
88touch --no-create %{_datadir}/icons/hicolor
89if [ -x /usr/bin/gtk-update-icon-cache ]; then
90  /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
91fi
92
93%postun
94update-desktop-database %{_datadir}/applications >& /dev/null ||:
95if [ $1 -eq 0 ]; then
96  glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
97fi
98touch --no-create %{_datadir}/icons/hicolor
99if [ -x /usr/bin/gtk-update-icon-cache ]; then
100  /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/hicolor ||:
101fi
102
103%posttrans
104glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
105
106
107%files -f %{name}.lang
108%defattr(-,root,root)
109%doc AUTHORS COPYING COPYRIGHT ChangeLog INSTALL NEWS
110%doc README TODO
111%{_bindir}/%{name}
112%{_libdir}/%{name}
113%{_datadir}/%{name}
114%{_datadir}/applications/%{name}.desktop
115%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
116%{_datadir}/icons/hicolor/22x22/apps/%{name}.png
117%{_datadir}/icons/hicolor/24x24/apps/%{name}.png
118%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
119%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
120%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
121%{_datadir}/glib-2.0/schemas/org.%{name}.gschema.xml
122%{_datadir}/gnome/help/%{name}
123%{_datadir}/omf/%{name}
124%{_mandir}/man1/%{name}.1*
125
126%files devel
127%{_includedir}/%{name}
128
129
130%changelog
131* Tue Jun 19 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.2-1
132- new upstream release
133- add Patch0 (nemiver-0.9.2-iostream.patch)
134- change BuildRequires: gtksourceviewmm3-devel instead of gtksourceviewmm-devel
135- change BuildRequires: gtkmm3-devel instead of gtkmm2-devel
136- change BuildRequires: vte3-devel instead of vte-devel
137- remove BuildRequires: GConf2-devel
138- add BuildRequires: dconf-devel, gsettings-desktop-schemas-devel
139
140* Sun Oct 24 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.8.0-1
141- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.