source: projects/specs/trunk/g/gtksourceview3/gtksourceview3-vl.spec @ 6201

Revision 6201, 3.1 KB checked in by Takemikaduchi, 12 years ago (diff)

gnome-themes: fix Vine theme
metacity: fix theme
others: new upstream release

Line 
1%define glib2_version 2.32.0
2%define gtk3_version 3.4.1
3
4%define po_package gtksourceview-3.0
5
6Summary: A library for viewing source files
7Summary(ja): ソースコードなどを表示するためのライブラリ
8Name: gtksourceview3
9Version: 3.4.2
10Release: 1%{?_dist_release}
11License: LGPLv2+ and GPLv2+
12# the library itself is LGPL, some .lang files are GPL
13Group: System Environment/Libraries
14URL: http://gtksourceview.sourceforge.net/
15Source0: http://download.gnome.org/sources/gtksourceview/3.4/gtksourceview-%{version}.tar.xz
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17BuildRequires: glib2-devel >= %{glib2_version}
18BuildRequires: gtk3-devel >= %{gtk3_version}
19BuildRequires: libxml2-devel
20BuildRequires: intltool >= 0.35
21BuildRequires: gettext
22
23Vendor: Project Vine
24Distribution: Vine Linux
25Packager: Takemikaduchi
26
27%description
28GtkSourceView is a text widget that extends the standard GTK+
29GtkTextView widget. It improves GtkTextView by implementing
30syntax highlighting and other features typical of a source code editor.
31
32This package contains version 2 of GtkSourceView. The older version
331 is contains in the gtksourceview package.
34
35%package devel
36Summary: Files to compile applications that use gtksourceview2
37Summary(ja): gtksourceview2 を使用するアプリケーションのコンパイルに必要なファイル
38Group: Development/Libraries
39Requires: %{name} = %{version}-%{release}
40Requires: gtk3-devel >= %{gtk3_version}
41Requires: libxml2-devel
42Requires: pkgconfig
43
44%description devel
45gtksourceview2-devel contains the files required to compile
46applications which use GtkSourceView 2.x.
47
48%prep
49%setup -q -n gtksourceview-%{version}
50
51%build
52
53%configure --disable-gtk-doc --disable-static
54
55make %{?_smp_mflags}
56
57%install
58rm -rf $RPM_BUILD_ROOT
59make install DESTDIR=$RPM_BUILD_ROOT
60
61# remove unwanted files
62rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
63rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-3.0/language-specs/check.sh
64rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-3.0/language-specs/convert.py
65
66%find_lang %{po_package}
67
68%post -p /sbin/ldconfig
69
70%postun -p /sbin/ldconfig
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75%files -f %{po_package}.lang
76%defattr(-,root,root,-)
77%doc README AUTHORS COPYING NEWS MAINTAINERS
78%{_libdir}/*.so.*
79%{_libdir}/girepository-1.0/*.typelib
80%{_datadir}/gtksourceview-3.0
81
82%files devel
83%defattr(-,root,root,-)
84%{_includedir}/gtksourceview-3.0
85%{_libdir}/pkgconfig/*.pc
86%{_libdir}/*.so
87%{_datadir}/gir-1.0/*.gir
88%{_datadir}/gtk-doc
89
90%changelog
91* Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
92- new upstream release
93
94* Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
95- new upstream release
96
97* Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.3-1
98- new upstream release
99
100* Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
101- new upstream release
102
103* Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
104- new upstream release
105
106* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.6-1
107- new upstream release
108
109* Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1
110- initial build for Vine Linux
111
Note: See TracBrowser for help on using the repository browser.