Bogus date fixed in polemarch. Not needed spec files moved to archive
This commit is contained in:
123
fedora/SPECS/archive/scite.spec
Normal file
123
fedora/SPECS/archive/scite.spec
Normal file
@@ -0,0 +1,123 @@
|
||||
Name: scite
|
||||
Version: 3.3.1
|
||||
Release: 0.20130507.0%{?dist}
|
||||
Summary: SCIntilla based text editor
|
||||
License: MIT
|
||||
Group: Applications/Editors
|
||||
Url: http://www.scintilla.org/SciTE.html
|
||||
|
||||
Source0: http://download.sourceforge.net/scintilla/scite331.tgz
|
||||
|
||||
Patch1: 0001-scintilla-makefile-flags.patch
|
||||
Patch2: 0002-scite-makefile.patch
|
||||
Patch3: 0003-scite-utf8.patch
|
||||
Patch4: 0004-Remove-OPTFLAGS.patch
|
||||
Patch5: 0005-Rework-CXXFLAGS.patch
|
||||
|
||||
# Default to build against gtk3
|
||||
%bcond_without gtk3
|
||||
|
||||
%{!?with_gtk2:BuildRequires: gtk2-devel}
|
||||
%{?with_gtk3:BuildRequires: gtk3-devel}
|
||||
BuildRequires: desktop-file-utils
|
||||
|
||||
%description
|
||||
SciTE is a SCIntilla based Text Editor. Originally built to demonstrate
|
||||
Scintilla, it has grown to be a generally useful editor with facilities for
|
||||
building and running programs.
|
||||
|
||||
%prep
|
||||
%setup -q -c
|
||||
%patch1 -p1
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} CXXFLAGS="%{optflags}" -C scintilla/gtk %{?with_gtk3:GTK3=1}
|
||||
make %{?_smp_mflags} CXXFLAGS="%{optflags}" -C scite/gtk %{?with_gtk3:GTK3=1}
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} -C scite/gtk install %{?with_gtk3:GTK3=1}
|
||||
ln -s SciTE %{buildroot}%{_bindir}/scite
|
||||
|
||||
# include man-page
|
||||
install -d -m755 %{buildroot}%{_mandir}/man1/
|
||||
install -m644 scite/doc/scite.1 %{buildroot}%{_mandir}/man1/
|
||||
|
||||
desktop-file-install --delete-original \
|
||||
--dir %{buildroot}%{_datadir}/applications \
|
||||
--remove-category Application \
|
||||
%{buildroot}%{_datadir}/applications/SciTE.desktop
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc scite/License.txt
|
||||
%{_mandir}/man1/scite.1*
|
||||
%{_bindir}/SciTE
|
||||
%{_bindir}/scite
|
||||
%{_datadir}/scite/
|
||||
%{_datadir}/pixmaps/*
|
||||
%{_datadir}/applications/*
|
||||
|
||||
%changelog
|
||||
* Tue May 07 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 3.3.1-0.20130507.0
|
||||
- Update to scite-3.3.1.
|
||||
- Modernize spec file.
|
||||
- Add support for gtk2/gtk3. Build against gtk3.
|
||||
|
||||
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.22-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Sat Dec 4 2010 Jorge Torres <jtorresh@gmail.com> 2.22-1
|
||||
- Update to 2.22
|
||||
|
||||
* Sat Apr 17 2010 Jorge Torres <jtorresh@gmail.com> 2.11-1
|
||||
- Update to 2.11
|
||||
- Fix bug #564689
|
||||
|
||||
* Thu Oct 1 2009 Jorge Torres <jtorresh@gmail.com> 2.01-1
|
||||
- Update to 2.01
|
||||
|
||||
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.77-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Sat Apr 4 2009 Jorge Torres <jtorresh@gmail.com> 1.77-1
|
||||
- Upgrade to 1.77
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.74-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.74-3
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.74-2
|
||||
- Rebuild for selinux ppc32 issue.
|
||||
|
||||
* Wed Jun 20 2007 Jorge Torres <jtorresh@gmail.com> 1.74-1
|
||||
- Upgrade to 1.74.
|
||||
- Default to UTF-8 encoding (fixes bug #240558).
|
||||
- Remove iconv workaround for desktop file encoding.
|
||||
|
||||
* Fri Sep 01 2006 Jorge Torres <jtorresh@gmail.com> 1.71-1
|
||||
- Upgrade to 1.71
|
||||
- Use 'iconv' to work around a desktop file encoding issue
|
||||
|
||||
* Thu Jun 22 2006 Jorge Torres <jtorresh@gmail.com> 1.70-1
|
||||
- Upgrade to 1.70
|
||||
- Drop man-page capitalization patch
|
||||
|
||||
* Sun Jun 04 2006 Jorge Torres <jtorresh@gmail.com> 1.69-3
|
||||
- Remove usage of MultipleArgs in desktop file.
|
||||
|
||||
* Fri Jun 02 2006 Jorge Torres <jtorresh@gmail.com> 1.69-2
|
||||
- Changed license to MIT.
|
||||
- Added patches to support compiling with %%{optflags}.
|
||||
- Misc fixes.
|
||||
|
||||
* Thu Jun 01 2006 Jorge Torres <jtorresh@gmail.com> 1.69-1
|
||||
- Initial package version.
|
||||
Reference in New Issue
Block a user