source: projects/specs/trunk/x/xmlcopyeditor/xmlcopyeditor-vl.spec @ 521

Revision 521, 1.7 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1%define _ver 1.2.0.6
2%define _rel 2
3Summary: Fast, free, validating XML editor
4Summary(ja): 高速なXML検証エディタ
5Name: xmlcopyeditor
6Version: %{_ver}.%{_rel}
7Release: 1%{?_dist_release}
8License: GPL
9URL: http://xml-copy-editor.sourceforge.net/
10Source0: xmlcopyeditor-%{_ver}-%{_rel}.tar.gz
11Group: Applications/Editors
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13BuildRequires: pcre-devel
14BuildRequires: aspell-devel
15BuildRequires: libboost libboost-devel
16BuildRequires: xerces-c xerces-c-devel
17BuildRequires: libxml-devel
18BuildRequires: libxslt-devel
19BuildRequires: expat-devel
20BuildRequires: wx-gtk2-devel >= 2.8
21
22%description
23XML Copy Editor is an XML editor focusing on editing document markup languages like
24DITA, DocBook, WordprocessingML. It features DTD/XML Schema/RELAX NG validation,
25XSLT, XPath, pretty-printing, syntax highlighting, folding, tag completion/locking,
26and a spelling/style check.
27
28
29%prep
30%setup -q -n xmlcopyeditor-%{_ver}
31
32
33%build
34%configure \
35        CFLAGS="$CFLAGS -I/usr/include/pcre" \
36        CXXFLAGS="$CXXFLAGS -I/usr/include/pcre" \
37        CC="gcc -I/usr/include/pcre" \
38        CXX="g++ -I/usr/include/pcre" \
39        ;
40%__make %{?_smp_mflags}
41
42
43%install
44rm -rf $RPM_BUILD_ROOT
45make install DESTDIR=$RPM_BUILD_ROOT
46
47
48%clean
49rm -rf $RPM_BUILD_ROOT
50
51%post
52%{_bindir}/update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
53
54%postun
55%{_bindir}/update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || :
56
57%files
58%defattr(-,root,root)
59%{_bindir}/%{name}
60%config(missingok) %{_datadir}/applications/%{name}.desktop
61%{_datadir}/pixmaps/%{name}.png
62%{_datadir}/%{name}
63
64%changelog
65* Tue Feb 23 2010 Shu KONNO <owa@bg.wakwak.com> 1.2.0.6.2-1
66- initial build for vine seed
67
Note: See TracBrowser for help on using the repository browser.