1 | %define gtk2_version 2.10.0 |
---|
2 | %define libgnomeprint_version 2.18.0 |
---|
3 | %define libxml2_version 2.6.0 |
---|
4 | %define po_package gtksourceview-1.0 |
---|
5 | |
---|
6 | Summary: A library for viewing source files |
---|
7 | Summary(ja): ソースファイルを閲覧するためのライブラリ |
---|
8 | Name: gtksourceview |
---|
9 | Version: 1.8.5 |
---|
10 | Release: 2%{?_dist_release} |
---|
11 | License: LGPL |
---|
12 | Group: System Environment/Libraries |
---|
13 | URL: http://www.gnome.org/softwaremap/projects/gtksourceview/ |
---|
14 | Source0: %{name}-%{version}.tar.bz2 |
---|
15 | Patch0: use-gnu.patch |
---|
16 | |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
18 | BuildRequires: libgnomeprint-devel >= %{libgnomeprint_version} |
---|
19 | BuildRequires: gnome-vfs2-devel |
---|
20 | BuildRequires: libxml2-devel >= %{libxml2_version} |
---|
21 | BuildRequires: gtk2-devel >= %{gtk2_version} |
---|
22 | |
---|
23 | %description |
---|
24 | A library for viewing source code files with. |
---|
25 | |
---|
26 | %description -l ja |
---|
27 | gtksourceview はソースコードファイルを閲覧するためのライブラリです。 |
---|
28 | |
---|
29 | %package devel |
---|
30 | Summary: Files to compile applications that use gtksourceview |
---|
31 | Summary(ja): gtksourceview を使うアプリケーションの開発に必要なファイル集 |
---|
32 | Group: Development/Libraries |
---|
33 | Requires: %name = %{version} |
---|
34 | Requires: gtk2-devel >= %{gtk2_version} |
---|
35 | Requires: libgnomeprint-devel >= %{libgnomeprint_version} |
---|
36 | Requires: libxml2-devel >= %{libxml2_version} |
---|
37 | |
---|
38 | %description devel |
---|
39 | gtksourceview-devel contains the files required to compile applications against the gtksourceview libraries. |
---|
40 | |
---|
41 | %prep |
---|
42 | %setup -q |
---|
43 | %patch0 -p1 -b .use-gnu |
---|
44 | |
---|
45 | %build |
---|
46 | %configure --disable-static |
---|
47 | |
---|
48 | make %{?_smp_mflags} |
---|
49 | |
---|
50 | %install |
---|
51 | rm -rf $RPM_BUILD_ROOT |
---|
52 | %makeinstall |
---|
53 | |
---|
54 | #remove unwanted packages |
---|
55 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
56 | |
---|
57 | %find_lang %{po_package} |
---|
58 | |
---|
59 | %clean |
---|
60 | rm -rf $RPM_BUILD_ROOT |
---|
61 | |
---|
62 | %post -p /sbin/ldconfig |
---|
63 | |
---|
64 | %postun -p /sbin/ldconfig |
---|
65 | |
---|
66 | %files -f %{po_package}.lang |
---|
67 | %defattr(-,root,root,-) |
---|
68 | %doc |
---|
69 | %{_datadir}/gtksourceview-1.0 |
---|
70 | %{_libdir}/*.so.* |
---|
71 | |
---|
72 | %files devel |
---|
73 | %defattr(-,root,root,-) |
---|
74 | %{_includedir}/gtksourceview-1.0 |
---|
75 | %{_datadir}/gtk-doc/html/gtksourceview |
---|
76 | %{_libdir}/pkgconfig/*.pc |
---|
77 | %{_libdir}/*.so |
---|
78 | |
---|
79 | %changelog |
---|
80 | * Wed Jun 24 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.5-2 |
---|
81 | - spec in UTF-8 |
---|
82 | - added Patch0 from Fedora |
---|
83 | |
---|
84 | * Sun Jun 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.8.5-1 |
---|
85 | - apllied new versioning policy |
---|
86 | - added BuildRequires: libgnomeprint-devel |
---|
87 | |
---|
88 | * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.8.5-0vl1 |
---|
89 | - new upstream release |
---|
90 | |
---|
91 | * Tue Sep 26 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.2-0vl1 |
---|
92 | - new upstream release |
---|
93 | - add Requires: libxml2, libgnomeprint to -devel ([VineSeed:11724]) |
---|
94 | |
---|
95 | * Sat Jun 03 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.1-0vl1 |
---|
96 | - new upstream release |
---|
97 | |
---|
98 | * Mon Mar 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.0-0vl1 |
---|
99 | - new upstream release |
---|
100 | |
---|
101 | * Tue Mar 07 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.5.7-0vl1 |
---|
102 | - new upstream release |
---|
103 | |
---|
104 | * Sat Oct 08 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.2-0vl1 |
---|
105 | - new upstream release |
---|
106 | |
---|
107 | * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.4.1-0vl1 |
---|
108 | - new upstream release |
---|
109 | |
---|
110 | * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.2.0-0vl1 |
---|
111 | - new upstream version |
---|
112 | |
---|
113 | * Tue Nov 09 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.1-0vl1 |
---|
114 | - new upstream release |
---|
115 | |
---|
116 | * Fri Oct 17 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.0-0vl1 |
---|
117 | - new upstream release |
---|
118 | |
---|
119 | * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6-0vl1 |
---|
120 | - build for Vine Linux |
---|
121 | - add Japanese summary and descriptions |
---|
122 | |
---|
123 | * Tue Aug 26 2003 Jonathan Blandford <jrb@redhat.com> |
---|
124 | - new version |
---|
125 | |
---|
126 | * Mon Aug 25 2003 Jonathan Blandford <jrb@redhat.com> |
---|
127 | - try removing the libtool line |
---|
128 | |
---|
129 | * Fri Aug 22 2003 Jonathan Blandford <jrb@redhat.com> |
---|
130 | - Libtool fix |
---|
131 | |
---|
132 | * Fri Aug 15 2003 Jonathan Blandford <jrb@redhat.com> |
---|
133 | - Initial build. |
---|
134 | |
---|
135 | |
---|