source: projects/specs/trunk/g/gtksourceview-sharp2/gtksourceview-sharp2-vl.spec @ 9521

Revision 9521, 5.2 KB checked in by inagaki, 9 years ago (diff)

2015-04-19 Ryoichi INAGAKI <ryo1@…>

  • gnome-do, gnome-do-plugins, mod_mono, tasque: updated
  • gtksourceview-sharp2: added devel


Line 
1%define mono_dir %{_prefix}/lib/mono
2
3Name: gtksourceview-sharp2
4Summary: GtkSourceView bindings for Mono
5Summary(ja):  Mono 用 GtkSourceView バインディング
6Version: 0.12
7Release: 7%{?_dist_release}
8
9License: LGPL
10Group: System Environment/Libraries
11URL: http://www.mono-project.com/
12
13Source: http://download.mono-project.com/sources/gtksourceview-sharp-2.0/gtksourceview-sharp-2.0-%{version}.tar.bz2
14Patch0: gtksourceview-sharp2-gnome-print.patch
15
16BuildArch: noarch
17BuildRoot: %{_tmppath}/%{name}-%{version}-root
18BuildRequires: gtksourceview-devel
19BuildRequires: gnome-sharp2-devel
20BuildRequires: gtk-sharp2-gapi gtk-sharp2-devel
21BuildRequires: gnome-print-sharp-devel
22BuildRequires: mono-devel
23BuildRequires: monodoc
24
25Vendor: Project Vine
26Distribution: Vine Linux
27
28%description
29This package provides Mono bindings for GtkSourceView, a child of the
30GTK+ text widget which implements syntax highlighting and other
31features typical of a source editor.
32
33%package        devel
34Summary:        Development files for %{name}
35Summary(ja):    %{name} の開発用ファイル
36Group:          Development/Libraries
37Requires:       %{name} = %{version}-%{release}
38Requires:       pkgconfig
39
40%description    devel
41The %{name}-devel package contains development files for %{name}.
42
43
44%prep
45%setup -q -n gtksourceview-sharp-2.0-%{version}
46%patch0 -p0 -b .gnome-print
47autoreconf
48
49%build
50export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
51./configure \
52        --prefix=%{_prefix} \
53        --libdir=%{_prefix}/lib \
54        --sysconfdir=%{_sysconfdir} \
55        --mandir=%{_mandir}
56
57make
58
59
60%install
61rm -rf $RPM_BUILD_ROOT
62export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
63make install DESTDIR=$RPM_BUILD_ROOT
64mkdir -p $RPM_BUILD_ROOT%{_datadir}/pkgconfig
65mv $RPM_BUILD_ROOT%{_prefix}/lib/pkgconfig/* $RPM_BUILD_ROOT%{_datadir}/pkgconfig
66
67## remove unuse files
68rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-1.0/language-specs/nemerle.lang
69rm -f $RPM_BUILD_ROOT%{_datadir}/gtksourceview-1.0/language-specs/vbnet.lang
70
71
72%clean
73rm -rf $RPM_BUILD_ROOT
74
75
76%files
77%defattr(-, root, root)
78%doc AUTHORS COPYING NEWS README
79%{mono_dir}/gac/gtksourceview-sharp
80%{mono_dir}/gtksourceview-sharp-2.0
81%{_datadir}/gapi-2.0/gtksourceview-api.xml
82
83%files devel
84%defattr(-, root, root)
85%{_datadir}/pkgconfig/gtksourceview-sharp-2.0.pc
86%{_prefix}/lib/monodoc/sources/gtksourceview-sharp-docs*
87
88%changelog
89* Sun Apr 19 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.12-7
90- split development files into devel subpackage
91
92* Sun Oct 26 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.12-6
93- moved packages to Development/Libraries Group
94- fixed Licesne to LGPL (see, COPYING)
95
96* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.12-5
97- rebuild with VineSeed environment
98
99* Mon Apr 25 2011 Shu KONNO <owa@bg.wakwak.com> 0.12-4
100- rebuilt with mono-2.10.1-3
101
102* Sun Apr 03 2011 Shu KONNO <owa@bg.wakwak.com> 0.12-3
103- rebuilt with mono-2.10.1
104
105* Sat Oct 09 2010 Shu KONNO <owa@bg.wakwak.com> 0.12-2
106- rebuilt with mono-2.8
107- added gtksourceview-sharp2-gnome-print.patch
108- added BR:monodoc instead of monodoc-core
109
110* Wed Sep 17 2008 Shu KONNO <owa@bg.wakwak.com> 0.12-1vl5
111- initial build for VineSeed
112    - applied vine versioning policy
113    - added japanese summary
114    - spec in utf-8
115
116* Tue Feb 26 2008 wberrier@novell.com
117- Update to 0.12 (new gtk# requires this version)
118* Thu Aug 16 2007 wberrier@suse.de
119- add noarch again (even though this package depends on binary
120  libraries, the package itself contains no architecture
121  dependant code, and can run on any platform where mono runs)
122- Update to use gtksourceview18 package (this package hasn't been
123  ported to use 1.9 yet)
124* Tue Jun 12 2007 ro@suse.de
125- remove noarch: this package depends on binary libraries
126* Wed Jun  6 2007 wberrier@novell.com
127- remove upstream patch (also remove autoreconf, since there's
128  no patches)
129- Update to 0.11
130  - removes circular dependency on 'monodoc' in mono-tools
131  - updated samples
132* Wed May 16 2007 wberrier@novell.com
133- Fix BuildRequires for suse 10.0 (so .config can be resolved)
134* Wed Apr 11 2007 wberrier@novell.com
135- Add mono dep/req for older distros
136* Fri Apr  6 2007 wberrier@novell.com
137- Adapt for buildservice, add monodoc patch so only monodoc-core
138  is needed, not mono-tools. Clean up BuildRequires some more.
139* Mon Feb 12 2007 aj@suse.de
140- Remove unneeded BuildRequires.
141* Wed Jan 24 2007 ro@suse.de
142- GNOME moved to /usr
143* Thu Oct 19 2006 ro@suse.de
144- added mono-devel to buildrequires
145* Wed Jan 25 2006 mls@suse.de
146- converted neededforbuild to BuildRequires
147* Fri Jan 13 2006 gekker@suse.de
148- Fixup nfb and Requires for new gtk-sharp2 packaging
149* Wed Nov 16 2005 wberrier@suse.de
150- Remove icu deps
151* Thu Oct 20 2005 ro@suse.de
152- rename package, provide and obsolete old name
153* Thu Sep 22 2005 ro@suse.de
154- added norootforbuild
155* Wed Sep 21 2005 wberrier@suse.de
156- Use the buildroot and package the docs for monodoc (bug #116196)
157* Fri Sep 16 2005 wberrier@suse.de
158- Only package correct files (Bug #116196)
159* Fri Aug 26 2005 ro@suse.de
160- nfb: monodoc -> monodoc-core
161* Sun Aug 14 2005 aj@suse.de
162- Require 2.6.13 or newer kernel.
163* Sun Aug 14 2005 aj@suse.de
164- Add check-build.sh script.
165* Sun Aug  7 2005 ro@suse.de
166- fix location of pkgconfig files
167* Sun Aug  7 2005 ro@suse.de
168- rename package to gtksourceview-sharp-2_0 (no "." allowed in name)
169* Thu Aug  4 2005 wberrier@suse.de
170- Initial package
Note: See TracBrowser for help on using the repository browser.