xml-copy-editor-code/src/xmlcopyeditor.spec

41 lines
988 B
Plaintext
Raw Normal View History

2009-12-01 14:33:22 +01:00
%define name xmlcopyeditor
2012-09-10 17:03:47 +02:00
%define version 1.2.0.8
2009-12-01 14:33:22 +01:00
%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