Menu

[r135]: / src / xmlcopyeditor.spec  Maximize  Restore  History

Download this file

41 lines (35 with data), 988 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
%define name xmlcopyeditor
%define version 1.1.0.6
%define release 1
%define author Gerald Schmidt <gnschmidt@users.sourceforge.net>
%define prefix /usr/local
Name: %{name}
Version: %{version}
Release: %{release}
Prefix: %{prefix}
Packager: %{author}
Source0: %{name}-%{version}.tar.gz
Group: Applications/Editors
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
URL: http://xml-copy-editor.sourceforge.net
Vendor: XML Copy Editor Project
Summary: XML editor
%description
XML Copy Editor is a fast, free, validating XML editor.
%prep
%setup -q
%build
./configure --with-wx-config="wx-config --unicode" --datadir="%{prefix}/share"
make
strip src/xmlcopyeditor
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{prefix}/bin/xmlcopyeditor
%{prefix}/share/xmlcopyeditor/*
/usr/share/applications/xmlcopyeditor.desktop
/usr/share/pixmaps/xmlcopyeditor.png
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.