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

Revision 9102, 4.1 KB checked in by Takemikaduchi, 9 years ago (diff)

new upstream release

Line 
1%define glib2_version 2.42.0
2%define gtk3_version 3.14.0
3
4%define po_package gtksourceview-3.0
5
6Summary: A library for viewing source files
7Summary(ja): ソースコードなどを表示するためのライブラリ
8Name: gtksourceview3
9Version: 3.14.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.14/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* Wed Nov 19 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.2-1
92- new upstream release
93
94* Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.1-1
95- new upstream release
96
97* Sun Aug 31 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.3-1
98- new upstream release
99
100* Fri May 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1
101- new upstream release
102
103* Sun Apr 20 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.1-1
104- new upstream release
105
106* Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1
107- new upstream release
108
109* Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2
110- rebuild with VineSeed environment
111
112* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1
113- new upstream release
114
115* Mon Jul 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1
116- new upstream release
117
118* Sun Apr 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1
119- new upstream release
120
121* Tue Nov 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1
122- new upstream release
123
124* Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
125- new upstream release
126
127* Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
128- new upstream release
129
130* Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
131- new upstream release
132
133* Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.3-1
134- new upstream release
135
136* Sat Oct 22 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
137- new upstream release
138
139* Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
140- new upstream release
141
142* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.6-1
143- new upstream release
144
145* Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.3-1
146- initial build for Vine Linux
147
Note: See TracBrowser for help on using the repository browser.